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-02 13:56:00 -07:00 committed by Brian Behlendorf
parent 61119d3f5b
commit 77f748fd1c
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ dnl #
dnl # ZFS_LINUX_CONFTEST
dnl #
AC_DEFUN([ZFS_LINUX_CONFTEST], [
cat >conftest.c <<_ACEOF
cat confdefs.h - <<_ACEOF >conftest.c
$1
_ACEOF
])