mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
committed by
Brian Behlendorf
parent
1814251453
commit
dbe561d8ab
+1
-1
@@ -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
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user