Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 7542de8ac1200dfa861d687da26063c0 > files > 4

libgdiplus-2.10.9-9.mga5.src.rpm

From e13586b6b78d3636c3e00b437fdb4f3ac449b185 Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris@chris-wilson.co.uk>
Date: Fri, 05 Dec 2008 15:06:10 +0000
Subject: [configure] Fixup breakage with recent autoconf

To avoid these warnings:
configure.in:29: error: possibly undefined macro: LT_CURRENT
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure.in:33: error: possibly undefined macro: LT_REVISION
configure.in:38: error: possibly undefined macro: LT_AGE

we simply use an m4_define for those variables instead.
---
diff --git a/configure.in b/configure.in
index 6aa1052..f67fc5c 100644
--- a/configure.in
+++ b/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()
--
cgit v0.9.0.2-2-gbebe