Allow config/build to work with autoconf-2.65

As of autoconf-2.65 the AC_LANG_SOURCE source macro no longer
includes the confdef.h results when expanded.  To handle this
simply explicitly include confdef.h in conftest.c.  This will
cause two copies to of confdef.h to be added to the test for
earlier autoconf versions but this is not harmful.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Lars Johannsen
2010-07-01 10:38:32 +01:59
committed by Brian Behlendorf
parent 1814251453
commit dbe561d8ab
2 changed files with 75 additions and 75 deletions
+1 -1
View File
@@ -319,7 +319,7 @@ dnl #
dnl # SPL_LINUX_CONFTEST
dnl #
AC_DEFUN([SPL_LINUX_CONFTEST], [
cat >conftest.c <<_ACEOF
cat confdefs.h - <<_ACEOF >conftest.c
$1
_ACEOF
])