summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorM Joonas Pihlaja <rowan@sal.math.ualberta.ca>2009-06-20 06:11:44 -0600
committerM Joonas Pihlaja <rowan@sal.math.ualberta.ca>2009-06-20 06:11:44 -0600
commit5733d8d6c35e1a77513a49267a47f6caae68e829 (patch)
tree8187dc29a32771a1a726db767800803594215814 /acinclude.m4
parent3bad3efaa2fa00275c1d27c95ccbf1fcdfdfef3e (diff)
[build] Remove a level of quoting from CAIRO_PARSE_VERSION.
The m4 that comes with OpenBSD gets confused by the extra quoting applied to the version number argument when building the bodies of the cairo_version_{major,minor,micro} macros using m4_bpatsubst(). Since we're making sure that the argument is always a number, we can safely use the unquoted \2 body rather than \[\2\].
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c45b4d2d..dcf54f93 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -38,7 +38,7 @@ m4_define([CAIRO_PARSE_VERSION],dnl
m4_translit(dnl
m4_bpatsubst(m4_include(cairo-version.h),
[^.define \([a-zA-Z0-9_]*\) *\([0-9][0-9]*\)],
- [[m4_define(\1, \[\2\])]]),
+ [[m4_define(\1, \2)]]),
[A-Z], [a-z])dnl
)dnl