aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLars Johannsen <[email protected]>2010-07-01 10:38:32 +0159
committerBrian Behlendorf <[email protected]>2010-07-02 14:00:28 -0700
commitdbe561d8ab3c4787e8d7f1233e6013d9c79bfbcd (patch)
tree4ae6a87b6e9040e8752e7ba1e4e8ad61d712e9f4 /config
parent1814251453c8140f50170ad29d9105c1273d7e08 (diff)
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 <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 4d6109a0e..7fd403f89 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -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
])