]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/atspecific.m4 (m4_match): Remove, no longer used.
authorAkim Demaille <akim@epita.fr>
Mon, 6 Mar 2000 08:48:48 +0000 (08:48 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 6 Mar 2000 08:48:48 +0000 (08:48 +0000)
ChangeLog
tests/atspecific.m4

index 9b30df262551cc7d7fc0c12df4fe912e93f13262..bd5356874d69253ba034b42e51b5bf80e800743d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-06  Akim Demaille  <akim@epita.fr>
+
+       * tests/atspecific.m4 (m4_match): Remove, no longer used.
+
 2000-03-04  Jim Meyering  <meyering@lucent.com>
 
        * autoheader.sh: Use `rm -f', not just `rm' when removing temporaries.
index 02c4bf5f2331634dc993269a640f9722b2d09b64..c565ba067c7d5946698683d2b74a73dc55dd72a5 100644 (file)
@@ -64,30 +64,6 @@ define(_m4_foreach,
                                                  [(m4_shift$2)],
                                                  [$3])])])
 
-# m4_match(SWITCH, RE1, VAL1, RE2, VAL2, ..., DEFAULT)
-# ----------------------------------------------------
-# m4 equivalent of
-#
-# if (SWITCH =~ RE1)
-#   VAL1;
-# elif (SWITCH =~ RE2)
-#   VAL2;
-# elif ...
-#   ...
-# else
-#   DEFAULT
-#
-# All the values are optional, and the macro is robust to active symbols
-# properly quoted.
-AT_DEFINE(m4_match,
-[ifelse([$#], 0, [],
-       [$#], 1, [],
-       [$#], 2, [$2],
-        regexp([$1], [$2]), -1, [m4_match([$1],
-                                          m4_shift(m4_shift(m4_shift($@))))],
-        [$3])])
-
-
 
 
 ## ---------------------------------------- ##