From: Victor van den Elzen Date: Sun, 7 Nov 2010 16:31:27 +0000 (+0100) Subject: Fix autoconf 2.68 warning. X-Git-Tag: nasm-2.11.05~380^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b2c41d0d38e71b5ff4256738fa8708b9aeb5a67;p=platform%2Fupstream%2Fnasm.git Fix autoconf 2.68 warning. The first argument of AC_COMPILE_IFELSE needs to be wrapped with AC_LANG_SOURCE. --- diff --git a/aclocal.m4 b/aclocal.m4 index 5159c11..8951278 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -21,8 +21,7 @@ dnl OpenWatcom 1.8 has a broken _Bool type that we don't want to use. dnl -------------------------------------------------------------------------- AC_DEFUN(PA_WORKING_BOOL, [AC_MSG_CHECKING([if $CC has a working bool type]) - AC_COMPILE_IFELSE( - [ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([ #ifndef __cplusplus #include #endif @@ -30,7 +29,7 @@ int foo(bool x, int y) { return x+y; } - ], + ])], [AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_WORKING_BOOL, 1, [Define to 1 if your compiler has a correct implementation of bool])],