* lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not

m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
expanded outside.
This commit is contained in:
Ralf Wildenhues 2006-03-11 13:17:23 +00:00
parent 608e17bde8
commit df1fe4b493
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
expanded outside.
* doc/autoconf.texi (autoconf Invocation): Fix typos in trace
example. Do not emphasize `$%', it is hardly new and special.
Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.

View File

@ -210,7 +210,7 @@ m4_defun([AC_LANG_ASSERT],
# AC_LANG_CONFTEST(BODY)
# ----------------------
# Save the BODY in `conftest.$ac_ext'. Add a trailing new line.
m4_define([AC_LANG_CONFTEST],
AC_DEFUN([AC_LANG_CONFTEST],
[cat >conftest.$ac_ext <<_ACEOF
$1
_ACEOF])