configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in body
authorYang Tse <yangsita@gmail.com>
Sat, 13 Nov 2010 03:15:16 +0000 (04:15 +0100)
committerYang Tse <yangsita@gmail.com>
Sat, 13 Nov 2010 03:15:16 +0000 (04:15 +0100)
configure.ac

index d505e16..0f47d9b 100644 (file)
@@ -476,11 +476,17 @@ AC_CHECK_TYPE(long long,
 
 if test "xyes" = "x$longlong"; then
   AC_MSG_CHECKING([if numberLL works])
-  AC_COMPILE_IFELSE([long long val = 1000LL;],
-   [AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])]
-   AC_MSG_RESULT(yes),
-   AC_MSG_RESULT(no)
-  )
+  AC_COMPILE_IFELSE([
+    AC_LANG_PROGRAM([[
+    ]],[[
+      long long val = 1000LL;
+    ]])
+  ],[
+    AC_MSG_RESULT([yes])
+    AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])
+  ],[
+    AC_MSG_RESULT([no])
+  ])
 fi