test __int128
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 8 Oct 2012 05:33:02 +0000 (00:33 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 8 Oct 2012 05:33:02 +0000 (00:33 -0500)
src/scripts/configure.in

index 3bf22544b87e38af51a5f58ca9b7458c30363f97..ccf968a86fe76053e0df1e1a400896bae0a6943b 100644 (file)
@@ -658,6 +658,14 @@ EOT
 test_cxx "whether __int64 works" "ok" "no" ""
 AC_DEFINE_UNQUOTED([CMK___int64_DEFINED], $pass, [whether __int64 works])
 
+#### Check __int128 ####
+cat > $t <<EOT
+#include <stdlib.h>
+__int128 foo(void) { return 17; }
+EOT
+test_cxx "whether __int128 works" "ok" "no" ""
+AC_DEFINE_UNQUOTED([CMK___int128_DEFINED], $pass, [whether __int128 works])
+
 #### Check long double ####
 cat > $t <<EOT
 #include <stdlib.h>