summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-05 03:19:53 +0000
committerDavid Robillard <d@drobilla.net>2007-11-05 03:19:53 +0000
commitd235f278b5664eb58efb4b0ffd35779d17192661 (patch)
tree6971a158c4958eeac61ba0c2a8d183a52c9e2f12
parent31311d4b0aaff8d9d06d080778bafa07a63923cd (diff)
downloadlilv-d235f278b5664eb58efb4b0ffd35779d17192661.tar.gz
lilv-d235f278b5664eb58efb4b0ffd35779d17192661.tar.bz2
lilv-d235f278b5664eb58efb4b0ffd35779d17192661.zip
Fix versioning when building slv2 stand-alone.
git-svn-id: http://svn.drobilla.net/lad/slv2@905 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac27
1 files changed, 15 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index e119ce8..5e31243 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,17 @@
AC_PREREQ(2.59)
+# SLV2 follows the even/odd minor = stable/development convention
+AC_INIT([slv2],0.3.0,[dave@drobilla.net])
+
+AC_CONFIG_AUX_DIR([config])
+
+AC_CONFIG_SRCDIR([src/plugin.c])
+AC_CONFIG_SRCDIR([slv2/plugin.h])
+AC_CONFIG_SRCDIR([utils/lv2_list.c])
+AC_CONFIG_SRCDIR([swig/slv2.i])
+AC_CONFIG_HEADER([config/config.h])
+AM_INIT_AUTOMAKE
+
# SLV2 interface version (libtool shared library versioning)
#
# current = incremented whenever the public API is changed
@@ -20,18 +32,9 @@ SLV2_API_CURRENT="4"
SLV2_API_REVISION="0"
SLV2_API_AGE="0"
-# SLV2 follows the even/odd minor = stable/development convention
-AC_INIT([slv2],0.3.0,[dave@drobilla.net])
-
-AC_CONFIG_AUX_DIR([config])
-
-AC_CONFIG_SRCDIR([src/plugin.c])
-AC_CONFIG_SRCDIR([slv2/plugin.h])
-AC_CONFIG_SRCDIR([utils/lv2_list.c])
-AC_CONFIG_SRCDIR([swig/slv2.i])
-AC_CONFIG_HEADER([config/config.h])
-AM_INIT_AUTOMAKE
-
+AC_SUBST(SLV2_API_CURRENT)
+AC_SUBST(SLV2_API_REVISION)
+AC_SUBST(SLV2_API_AGE)
SLV2_SO_VERSION="${SLV2_API_CURRENT}:${SLV2_API_REVISION}:${SLV2_API_AGE}"
AC_SUBST(SLV2_SO_VERSION)
AC_SUBST(SLV2_VERSION)