Browse files

Merge pull request #10 from sbob84/patch-1

[configure] Fixup breakage with recent autoconf
  • Loading branch information...
2 parents de61618 + e197d24 commit f3f18b95b5f00de1f023f0fb8d3671ee80b16b3d @jstedfast jstedfast committed Aug 29, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 cairo/configure.in
View
10 cairo/configure.in
@@ -26,23 +26,23 @@ dnl ===========================================================================
# libtool shared library version
# Increment if the interface has additions, changes, removals.
-LT_CURRENT=19
+m4_define(LT_CURRENT, 19)
# Increment any time the source changes; set to
# 0 if you increment CURRENT
-LT_REVISION=5
+m4_define(LT_REVISION, 5)
# Increment if any interfaces have been added; set to 0
# if any interfaces have been removed. removal has
# precedence over adding, so set to 0 if both happened.
-LT_AGE=17
++m4_define(LT_AGE, 17)
dnl ===========================================================================
-VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
+VERSION_INFO="LT_CURRENT():LT_REVISION():LT_AGE()"
AC_SUBST(VERSION_INFO)
-LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
+LT_CURRENT_MINUS_AGE=m4_eval(LT_CURRENT() - LT_AGE())
AC_SUBST(LT_CURRENT_MINUS_AGE)
CAIRO_VERSION_MAJOR=cairo_version_major()

0 comments on commit f3f18b9

Please sign in to comment.