fix for parallel installability
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 8 Dec 2002 14:39:32 +0000 (14:39 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 8 Dec 2002 14:39:32 +0000 (14:39 +0000)
Original commit message from CVS:
fix for parallel installability

m4/as-libtool.m4

index 3997839..b01b2f2 100644 (file)
@@ -1,8 +1,8 @@
-dnl as-libtool.m4 0.0.2
+dnl as-libtool.m4 0.1.0
 dnl autostars m4 macro for libtool versioning
 dnl thomas@apestaart.org
 dnl
-dnl AS_LIBTOOL(PREFIX, CURRENT, REVISION, AGE, USE_RELEASE)
+dnl AS_LIBTOOL(PREFIX, CURRENT, REVISION, AGE, RELEASE)
 dnl example
 dnl AS_VERSION(GST, 2, 0, 0)
 dnl
@@ -12,8 +12,8 @@ dnl - defines [$PREFIX]_LIBVERSION
 dnl - defines [$PREFIX]_LT_LDFLAGS to set versioning
 dnl - AC_SUBST's them all
 dnl
-dnl if USE_RELEASE = yes, then add a -release option to the LDFLAGS
-dnl with the (pre-defined) [$PREFIX]_VERSION 
+dnl if USE_RELEASE is used, then add a -release option to the LDFLAGS
+dnl with the given release version
 dnl then use [$PREFIX]_LT_LDFLAGS in the relevant Makefile.am's
 
 AC_DEFUN(AS_LIBTOOL,
@@ -30,7 +30,7 @@ AC_DEFUN(AS_LIBTOOL,
 dnl  [$1]_LT_LDFLAGS="$[$1]_LT_LDFLAGS -version-info $[$1]_LIBVERSION"
   if test ! -z "[$5]"
   then
-    [$1]_LT_LDFLAGS="$[$1]_LT_LDFLAGS -release $[$1]_VERSION"
+    [$1]_LT_LDFLAGS="$[$1]_LT_LDFLAGS -release [$5]"
   fi
   AC_SUBST([$1]_LT_LDFLAGS)