From: Akim Demaille Date: Mon, 6 Mar 2000 08:48:48 +0000 (+0000) Subject: * tests/atspecific.m4 (m4_match): Remove, no longer used. X-Git-Tag: autoconf-2.50~1091 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd820a5b5a7b251c71668099b0488cb74fa66b7;p=thirdparty%2Fautoconf.git * tests/atspecific.m4 (m4_match): Remove, no longer used. --- diff --git a/ChangeLog b/ChangeLog index 9b30df262..bd5356874 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-03-06 Akim Demaille + + * tests/atspecific.m4 (m4_match): Remove, no longer used. + 2000-03-04 Jim Meyering * autoheader.sh: Use `rm -f', not just `rm' when removing temporaries. diff --git a/tests/atspecific.m4 b/tests/atspecific.m4 index 02c4bf5f2..c565ba067 100644 --- a/tests/atspecific.m4 +++ b/tests/atspecific.m4 @@ -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])]) - - ## ---------------------------------------- ##