]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
authorAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:34:01 +0000 (13:34 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:34:01 +0000 (13:34 +0000)
* bin/autoheader.in (%symbol): Strip arguments of macros.

ChangeLog
bin/autoheader.in
tests/semantics.at

index d406ca123c60be8d416c9521737fd125547cdd8f..dc3ea64d436e75a76cebe11c0d98531fa1cb4181 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-31  Akim Demaille  <akim@epita.fr>
+
+       * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
+       * bin/autoheader.in (%symbol): Strip arguments of macros.
+
 2001-08-31  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi: Catch up -I, --include changes.
index 6925326131c5fce45b6217b3dd57c5ef49ea5093..7e342186596b89671afb50a3c954448aa5f07054 100644 (file)
@@ -188,6 +188,10 @@ $config_h =~ s/ .*//;
 ($config_h, $config_h_in) = split (':', $config_h, 2);
 $config_h_in ||= "$config_h.in";
 
+# %SYMBOL might contain things like `F77_FUNC(name,NAME)', but we keep
+# only the name of the macro.
+%symbol = map { s/\(.*//; $_ => 1 } keys %symbol;
+
 my $out = new IO::File (">$tmp/config.hin");
 
 # Don't write "do not edit" -- it will get copied into the
index db66b04fe3b15fcaebf3f660d4064265cd029889..2f5a9b349b45c4a1cfcc214855a854b487956e8f 100644 (file)
@@ -354,7 +354,8 @@ _AT_CHECK_AC_MACRO(
 
 # Make sure AC_C_BIGENDIAN with no argument will define WORDS_BIGENDIAN
 AT_CONFIGURE_AC([AC_C_BIGENDIAN])
-AT_CHECK_AUTOHEADER([], [], [], [autoheader: `config.hin' is updated])
+AT_CHECK_AUTOHEADER([], [], [], [autoheader: `config.hin' is updated
+])
 AT_CHECK([grep WORDS_BIGENDIAN config.hin], [], [ignore])
 
 AT_CLEANUP(at-endian)