autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/floppy/ac-patches/89-fyi--k-matches-at-setup.patch


From: Akim Demaille
Subject: /floppy/ac-patches/89-fyi--k-matches-at-setup.patch
Date: Thu, 13 Sep 2001 08:55:37 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        
        * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
        test group titles.
        * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
        Remove all the other keywords.
        
Index: lib/autotest/general.m4
--- lib/autotest/general.m4 Mon, 10 Sep 2001 08:25:22 +0200 akim
+++ lib/autotest/general.m4 Wed, 12 Sep 2001 15:56:02 +0200 akim
@@ -212,8 +212,9 @@ m4_define([AT_data_files], [stdout expou
         at_tests_selected=$at_help_all
         for at_keyword in `IFS=,; set X $[1]; shift; echo address@hidden
         do
+          # It is on purpose that we match the test group titles too.
           at_tests_selected=`echo "$at_tests_selected" |
-                             egrep -i "^[[^;]]*;[[^;]]*;[[^;]]*;.*$at_keyword"`
+                             egrep -i "^[[^;]]*;[[^;]]*;.*$at_keyword"`
         done
         at_tests_selected=`echo "$at_tests_selected" | sed 's/;.*//'`
         at_tests="$at_tests$at_tests_selected "
Index: tests/atspecific.m4
--- tests/atspecific.m4 Mon, 10 Sep 2001 08:25:22 +0200 akim
+++ tests/atspecific.m4 Wed, 12 Sep 2001 15:59:46 +0200 akim
@@ -161,7 +161,6 @@ m4_define([_AT_CHECK_AC_MACRO],
 # New macros are not expected to depend upon obsolete macros.
 m4_define([AT_CHECK_MACRO],
 [AT_SETUP([$1])
-AT_KEYWORDS([$1])
 
 AT_CONFIGURE_AC([m4_default([$2], [$1])])
 
@@ -189,7 +188,7 @@ m4_define([AT_CHECK_MACRO],
 # Remove config.hin to avoid `autoheader: config.hin is unchanged'.
 m4_define([AT_CHECK_AU_MACRO],
 [AT_SETUP([$1])
-AT_KEYWORDS([$1])
+AT_KEYWORDS([autoupdate])
 
 AT_CONFIGURE_AC([$1])
 
Index: tests/semantics.at
--- tests/semantics.at Mon, 10 Sep 2001 08:25:22 +0200 akim
+++ tests/semantics.at Wed, 12 Sep 2001 15:57:14 +0200 akim
@@ -201,7 +201,6 @@
 # Check that we properly dispatch properly to the old implementation
 # or to the new one.
 AT_SETUP([AC_CHECK_TYPES: backward compatibility])
-AT_KEYWORDS([AC_CHECK_TYPES])
 
 AT_DATA([configure.ac],
 [[AC_INIT
@@ -330,7 +329,7 @@ m4_define([AT_CHECK_PROGS_PREPARE],
 ## ---------------- ##
 
 AT_SETUP([[AC_C_BIGENDIAN]])
-AT_KEYWORDS([AC_C_BIGENDIAN,cross])
+AT_KEYWORDS([cross])
 
 # Make sure that AC_C_BIGENDIAN behave the same whether we are
 # cross-compiling or not.
Index: tests/tools.at
--- tests/tools.at Mon, 10 Sep 2001 08:25:22 +0200 akim
+++ tests/tools.at Wed, 12 Sep 2001 15:57:27 +0200 akim
@@ -137,7 +137,6 @@
 # autoconf --trace: user macros
 # -----------------------------
 AT_SETUP([autoconf --trace: user macros])
-AT_KEYWORDS([autoconf,traces])
 
 
 m4_pattern_allow([^m4_(define|shift)$])
@@ -227,7 +226,6 @@ configure.ac:19:TRACE2:bar foo
 # autoconf --trace: builtins
 # --------------------------
 AT_SETUP([autoconf --trace: builtins])
-AT_KEYWORDS([autoconf,traces])
 
 AT_DATA([configure.ac],
 [[define([active], [ACTIVE])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]