summaryrefslogtreecommitdiff
path: root/gst-plugin
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-09-17 22:18:03 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-09-17 22:18:03 +0000
commitc63f0ebb891badcaa119a0eb9a0166012986e753 (patch)
tree2eeaa5dc7b7181cf213422d58a37985dde76d077 /gst-plugin
parent7caa577679262b4de39ea663e20e825d9d7d443b (diff)
synchronise with main version from common/m4
Original commit message from CVS: synchronise with main version from common/m4
Diffstat (limited to 'gst-plugin')
-rw-r--r--gst-plugin/m4/as-version.m419
1 files changed, 13 insertions, 6 deletions
diff --git a/gst-plugin/m4/as-version.m4 b/gst-plugin/m4/as-version.m4
index 4df69db..68abdf9 100644
--- a/gst-plugin/m4/as-version.m4
+++ b/gst-plugin/m4/as-version.m4
@@ -1,12 +1,18 @@
-dnl version.m4 0.0.5
+dnl as-version.m4 0.1.0
+
dnl autostars m4 macro for versioning
-dnl thomas@apestaart.org
-dnl
-dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO, ACTION_IF_NO_NANO, ACTION_IF_NANO)
+
+dnl Thomas Vander Stichele <thomas at apestaart dot org>
+
+dnl $Id$
+
+dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO,
+dnl ACTION-IF-NO-NANO, [ACTION-IF-NANO])
+
dnl example
dnl AS_VERSION(gstreamer, GST_VERSION, 0, 3, 2,)
dnl for a 0.3.2 release version
-dnl
+
dnl this macro
dnl - defines [$PREFIX]_MAJOR, MINOR and MICRO
dnl - if NANO is empty, then we're in release mode, else in cvs/dev mode
@@ -18,6 +24,7 @@ dnl - doesn't call AM_INIT_AUTOMAKE anymore because it prevents
dnl maintainer mode from running ok
dnl
dnl don't forget to put #undef [$2] and [$2]_RELEASE in acconfig.h
+dnl if you use acconfig.h
AC_DEFUN([AS_VERSION],
[
@@ -37,7 +44,7 @@ AC_DEFUN([AS_VERSION],
else
AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
VERSION=[$3].[$4].[$5].$NANO
- [$2]_RELEASE=`date +%Y%m%d_%H%M%S`
+ [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
dnl execute action
ifelse([$8], , :, [$8])
fi