* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.

* bin/autoheader.in (%symbol): Strip arguments of macros.
This commit is contained in:
Akim Demaille 2001-08-31 13:34:01 +00:00
parent db8481b543
commit 0e30eb6fc9
3 changed files with 11 additions and 1 deletions

View File

@ -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.

View 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

View 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)