]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* libm4.m4 (m4_noquote): New macro.
authorAkim Demaille <akim@epita.fr>
Thu, 2 Mar 2000 17:11:31 +0000 (17:11 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 2 Mar 2000 17:11:31 +0000 (17:11 +0000)
ChangeLog
THANKS
libm4.m4

index 2127ab7af1032cc87028e8b1414c3430f2da01e6..ad940e1ea56b771d08b7348729f885884ca69b46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-02  Lars J. Aas  <larsa@sim.no>
+
+       * libm4.m4 (m4_noquote): New macro.
+
 2000-03-02  Akim Demaille  <akim@epita.fr>
 
        * acspecific.m4 (AC_PATH_X_DIRECT): Moved all the shell variable
diff --git a/THANKS b/THANKS
index 80218e1773c7c0ff441f30eccdbf7de7dda21c46..f1b5168bb3a9e8b9539e8ba343c5166b0ed56986 100644 (file)
--- 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
index fbf98f7d235e7df8928a35c3b81e32bd731b8d26..ef435a3403c40800fb197b122b22cb96db66c9a9 100644 (file)
--- 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])
 # --------------------------
 #