[RTnet-developers] [PATCH v2] config: Fix BS_CHECK_KHEADERS for autoconf 2.68
Brought to you by:
bet-frogger,
kiszka
From: Arnout V. (Essensium/Mind) <ar...@mi...> - 2011-09-28 11:07:10
|
From: "Arnout Vandecappelle (Essensium/Mind)" <ar...@mi...> autoconf 2.68 doesn't produce a newline at the end of AS_IF(). Therefore, whatever follows it gets concatenated with the 'fi' of AS_IF(). Removing dnl at the end of AS_IF resolves this. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <ar...@mi...> --- Changes v2: * Remove dnl instead of adding extra line. * It's required in another place too. * Updated log comment. --- config/m4/bs.m4 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/m4/bs.m4 b/config/m4/bs.m4 index 9f767e5..6b0af1e 100644 --- a/config/m4/bs.m4 +++ b/config/m4/bs.m4 @@ -71,7 +71,7 @@ rm -f conftest.$bs_kmodext conftest.o AS_IF([_AC_EVAL_STDERR($bs_kcompile > /dev/null)], [$2], [_AC_MSG_LOG_CONFTEST -m4_ifvaln([$3],[$3])dnl])dnl +m4_ifvaln([$3],[$3])dnl]) rm -f conftest.err conftest.$bs_kmodext conftest.o .conftest.o.d .conftest.o.cmd .conftest.ko.cmd .conftest.mod.o.cmd .tmp_versions/conftest.mod Makefile m4_ifval([$1], [conftest.$ac_ext]); rmdir .tmp_versions[]dnl ])# BS_KCOMPILE_IFELSE @@ -96,7 +96,7 @@ AC_CACHE_CHECK([for $1], ac_Header, @%:@include <$1>])], [AS_VAR_SET(ac_Header, yes)], [AS_VAR_SET(ac_Header, no)])]) -AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl +AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3]) AS_VAR_POPDEF([ac_Header])dnl ])# BS_CHECK_HEADER -- 1.7.6.3 |