From: Akim Demaille Date: Thu, 2 Mar 2000 17:11:31 +0000 (+0000) Subject: * libm4.m4 (m4_noquote): New macro. X-Git-Tag: autoconf-2.50~1099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df786bcc6360693556a6ec1ad0539fe90d0fa7fa;p=thirdparty%2Fautoconf.git * libm4.m4 (m4_noquote): New macro. --- diff --git a/ChangeLog b/ChangeLog index 2127ab7af..ad940e1ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-03-02 Lars J. Aas + + * libm4.m4 (m4_noquote): New macro. + 2000-03-02 Akim Demaille * acspecific.m4 (AC_PATH_X_DIRECT): Moved all the shell variable diff --git a/THANKS b/THANKS index 80218e177..f1b5168bb 100644 --- a/THANKS +++ b/THANKS @@ -63,6 +63,7 @@ Ken Raeburn raeburn@cygnus.com Koji Arai JCA02266@nifty.ne.jp Kurt D. Zeilenga kurt@openldap.org Larry Schwimmer rosebud@cyclone.stanford.edu +Lars J. Aas larsa@sim.no Lars Hecking lhecking@nmrc.ucc.ie Marcus Daniels marcus@sysc.pdx.edu Marcus Thiessel marcus@xemacs.org diff --git a/libm4.m4 b/libm4.m4 index fbf98f7d2..ef435a340 100644 --- a/libm4.m4 +++ b/libm4.m4 @@ -473,6 +473,16 @@ define(_m4_foreach, define([m4_quote], [[$@]]) +# m4_noquote(STRING) +# ------------------ +# Return the result of ignoring all quotes in STRING and invoking the +# macros it contains. Amongst other things useful for enabling macro +# invocations inside strings with [] blocks (for instance regexps and +# help-strings). +define([m4_noquote], +[changequote(-=<{,}>=-)$1-=<{}>=-changequote([,])]) + + # m4_split(STRING, [REGEXP]) # -------------------------- #