[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
69-fyi-autoheader-fixet.patch
From: |
Akim Demaille |
Subject: |
69-fyi-autoheader-fixet.patch |
Date: |
Fri, 31 Aug 2001 15:31:01 +0200 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
* bin/autoheader.in (%symbol): Strip arguments of macros.
Index: bin/autoheader.in
--- bin/autoheader.in Fri, 31 Aug 2001 11:47:23 +0200 akim
+++ bin/autoheader.in Fri, 31 Aug 2001 11:57:38 +0200 akim
@@ -188,6 +188,10 @@ sub parse_args ()
($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: tests/semantics.at
--- tests/semantics.at Fri, 31 Aug 2001 10:25:28 +0200 akim
+++ tests/semantics.at Fri, 31 Aug 2001 11:58:33 +0200 akim
@@ -354,7 +354,8 @@ m4_define([AT_CHECK_PROGS_PREPARE],
# 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 69-fyi-autoheader-fixet.patch,
Akim Demaille <=