summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorVictor van den Elzen <victor.vde@gmail.com>2010-11-07 17:31:27 +0100
committerVictor van den Elzen <victor.vde@gmail.com>2010-11-07 17:31:27 +0100
commitdb6b9cfa62cbeaf2f5a026605dea6dd586b1cfea (patch)
treeca9234b4542de5d756f7e4ef72d76e6005b1a601 /aclocal.m4
parentbc8522e3a08ae3124bdf60d27dd0a24baee535f0 (diff)
downloadnasm-db6b9cfa62cbeaf2f5a026605dea6dd586b1cfea.tar.gz
nasm-db6b9cfa62cbeaf2f5a026605dea6dd586b1cfea.tar.bz2
nasm-db6b9cfa62cbeaf2f5a026605dea6dd586b1cfea.zip
Fix autoconf 2.68 warning.
The first argument of AC_COMPILE_IFELSE needs to be wrapped with AC_LANG_SOURCE.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 2 insertions, 3 deletions
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 <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])],