From: Akim Demaille Date: Fri, 31 Aug 2001 13:34:01 +0000 (+0000) Subject: * tests/semantics.at (AC_C_BIGENDIAN): Missing eol. X-Git-Tag: AUTOCONF-2.52d~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e30eb6fc9b181b21373fb26d323ea1775988fc7;p=thirdparty%2Fautoconf.git * tests/semantics.at (AC_C_BIGENDIAN): Missing eol. * bin/autoheader.in (%symbol): Strip arguments of macros. --- diff --git a/ChangeLog b/ChangeLog index d406ca123..dc3ea64d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-31 Akim Demaille + + * tests/semantics.at (AC_C_BIGENDIAN): Missing eol. + * bin/autoheader.in (%symbol): Strip arguments of macros. + 2001-08-31 Akim Demaille * doc/autoconf.texi: Catch up -I, --include changes. diff --git a/bin/autoheader.in b/bin/autoheader.in index 692532613..7e3421865 100644 --- a/bin/autoheader.in +++ b/bin/autoheader.in @@ -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 diff --git a/tests/semantics.at b/tests/semantics.at index db66b04fe..2f5a9b349 100644 --- a/tests/semantics.at +++ b/tests/semantics.at @@ -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)