* bin/autoheader.in (%symbol): Strip arguments of macros.
+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.
($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
# 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)