diff options
author | Victor van den Elzen <victor.vde@gmail.com> | 2010-11-07 17:31:27 +0100 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-11-20 14:20:38 +0300 |
commit | 0b2c41d0d38e71b5ff4256738fa8708b9aeb5a67 (patch) | |
tree | 6ae9d42463a741b3752517fc8a687f7e64f1625a | |
parent | cb9a459560068aa96481a3c424a97cd6d84d9061 (diff) | |
download | nasm-0b2c41d0d38e71b5ff4256738fa8708b9aeb5a67.tar.gz |
Fix autoconf 2.68 warning.
The first argument of AC_COMPILE_IFELSE needs to be wrapped with
AC_LANG_SOURCE.
-rw-r--r-- | aclocal.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 <stdbool.h> #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])], |