the new macro...
Reported by Ezra Peisach.
* tests/semantics.m4 (AC_HAVE_FUNCS): New test.
* tests/tools.at (autoupdate): As a benign side effect, updating a
macro that takes no argument produces `UPDATED([])', no longer
`UPDATED()'. Adjust the test.
+2000-11-03 Akim Demaille <akim@epita.fr>
+
+ * acgeneral.m4 (AU_ALIAS): Don't forget to pass the arguments to
+ the new macro...
+ Reported by Ezra Peisach.
+ * tests/semantics.m4 (AC_HAVE_FUNCS): New test.
+ * tests/tools.at (autoupdate): As a benign side effect, updating a
+ macro that takes no argument produces `UPDATED([])', no longer
+ `UPDATED()'. Adjust the test.
+
2000-11-03 Akim Demaille <akim@epita.fr>
* autoconf.m4: Instead of reactivating the macros before reading
Erez Zadok ezk@cs.columbia.edu
Eric Backus ericb@lsid.hp.com
Eric Mumpower nocturne@mit.edu
+Ezra Peisach epeisach@zif.mit.edu
Felix Lee flee@cygnus.com
Franc,ois Pinard pinard@iro.umontreal.ca
Gary V. Vaughan gvaughan@oranda.demon.co.uk
# Do not use `defn' since then autoupdate would replace an old macro
# call with the new macro body instead of the new macro call.
define([AU_ALIAS],
-[AU_DEFUN([$1], [$2])])
+[AU_DEFUN([$1], [$2($][@)])])
# Do not use `defn' since then autoupdate would replace an old macro
# call with the new macro body instead of the new macro call.
define([AU_ALIAS],
-[AU_DEFUN([$1], [$2])])
+[AU_DEFUN([$1], [$2($][@)])])
# --------------
# Check that it performs the correct actions:
# Must define HAVE_EXIT, but not HAVE_AUTOCONF_TIXE
-AT_CHECK_MACRO(AC_CHECK_FUNCS,
+AT_CHECK_MACRO([AC_CHECK_FUNCS],
+[AC_CHECK_FUNCS(exit autoconf_tixe)],
+[AT_CHECK_DEFINES(
+[/* #undef HAVE_AUTOCONF_TIXE */
+#define HAVE_EXIT 1
+])])
+
+
+# AC_HAVE_FUNCS
+# -------------
+# This macro is an obsolete version of AC_CHECK_FUNCS. Running this
+# test allows to check that AU_ALIAS'ed macros work properly.
+AT_CHECK_MACRO([AC_HAVE_FUNCS],
[AC_CHECK_FUNCS(exit autoconf_tixe)],
[AT_CHECK_DEFINES(
[/* #undef HAVE_AUTOCONF_TIXE */
# Checking `autoupdate'.
AT_CHECK([autoupdate --autoconf-dir $top_srcdir -<configure.in], 0,
[[AC_INIT
-AC_CANONICAL_TARGET()
+AC_CANONICAL_TARGET([])
dnl The doc says 27 is a valid fubar.
fubar=27
AC_CONFIG_FILES([Makefile])
+
## ------------------ ##
## autoconf --trace. ##
## ------------------ ##