diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-01-30 14:21:35 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2004-01-30 14:21:35 +0000 |
commit | 9cfd0271c1bf2f22f9268b4b937d0dc8dde99971 (patch) | |
tree | 12c79c4e84ebe09ba635bffcbfdc0e7afda28abd /bin/autoupdate.in | |
parent | d73f38a0cd3ae178a5fcdc0a688ef934bab4beb7 (diff) | |
download | autoconf-9cfd0271c1bf2f22f9268b4b937d0dc8dde99971.tar.gz |
* bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
* doc/autoconf.texi: Don't say that the third parameter
is broken.
* lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
(AU_DEFUN): Honor the third parameter, create autoupdate
macros with AU_DEFINE.
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
AC_DIR_HEADER): Use AU_DEFUN's third parameter.
* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
* lib/autoconf/programs.m4 (AC_RSH): Likewise.
* lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
AC_XENIX_DIR): Likewise.
* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
* lib/autoconf/status.m4: Remove FIXME.
* tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
that the macro is not present anymore in the updated
configure.ac.
* tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
of autoupdate.
Diffstat (limited to 'bin/autoupdate.in')
-rw-r--r-- | bin/autoupdate.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/autoupdate.in b/bin/autoupdate.in index d5792b3c..9c58ff85 100644 --- a/bin/autoupdate.in +++ b/bin/autoupdate.in @@ -1,7 +1,7 @@ #! @PERL@ -w # -*- perl -*- # autoupdate - modernize an Autoconf file. -# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003 +# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -172,7 +172,7 @@ my (%ac_macros, %au_macros); sub handle_autoconf_macros () { my $macros = new Autom4te::XFile ("$autoconf" - . " --trace AU_DEFUN:'AU:\$f:\$1'" + . " --trace AU_DEFINE:'AU:\$f:\$1'" . " --trace define:'AC:\$f:\$1'" . " --melt /dev/null |"); while ($_ = $macros->getline) @@ -251,7 +251,7 @@ my $au_changequote = 's/\b(' . join ('|', keys %au_macros) . ')\b/_au_changequote([,])$1/g'; # au.m4 -- definitions the AU macros. -xsystem ("$autoconf --trace AU_DEFUN:'_au_defun(\@<:\@\$1\@:>\@, +xsystem ("$autoconf --trace AU_DEFINE:'_au_defun(\@<:\@\$1\@:>\@, \@<:\@\$2\@:>\@)' --melt /dev/null " . ">$tmp/au.m4"); |