summaryrefslogtreecommitdiff
path: root/m4-utils.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4-utils.m4')
-rw-r--r--m4-utils.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4-utils.m4 b/m4-utils.m4
index 3ead365a..3e25a51c 100644
--- a/m4-utils.m4
+++ b/m4-utils.m4
@@ -312,6 +312,15 @@ dnl --------------------------------------------------------------------------
dnl Various generic m4 things.
+dnl Usage: m4_unquote(macro)
+dnl
+dnl Allow the argument text to be re-evaluated. This is useful for "token
+dnl pasting" like m4_unquote(foo`'bar).
+
+define(m4_unquote,
+m4_assert_onearg()
+`$1')
+
dnl Usage: m4_length(string)
dnl