From 0b504d7065902b22496b559029fe51dbcddba97f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 13 Nov 2010 04:15:16 +0100 Subject: [PATCH] configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in body --- configure.ac | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index d505e16..0f47d9b 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4