From e197d2479e950eb03ec13626a52e6c77b6301257 Mon Sep 17 00:00:00 2001 From: sbob84 Date: Thu, 29 Aug 2013 02:24:06 -0700 Subject: [PATCH] [configure] Fixup breakage with recent autoconf To avoid possibly undefined macro: LT_CURRENT, LT_REVISION and LT_AGE according to http://cgit.freedesktop.org/cairo/commit/?h=1.6&id=e13586b6b78d3636c3e00b437fdb4f3ac449b185 --- cairo/configure.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cairo/configure.in b/cairo/configure.in index 3c4d9ff76..a038c49e4 100644 --- a/cairo/configure.in +++ b/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()