mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-27 16:30:42 +02:00
[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.
This commit is contained in:
parent
90e0b7685f
commit
e13586b6b7
1 changed files with 5 additions and 5 deletions
10
configure.in
10
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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue