configure.ac: use AS_VERSION and AS_NANO

Original commit message from CVS:

* configure.ac:
use AS_VERSION and AS_NANO
This commit is contained in:
Thomas Vander Stichele 2006-04-01 10:07:07 +00:00
parent a94b05add5
commit f77edff104
4 changed files with 32 additions and 17 deletions

View file

@ -1,3 +1,8 @@
2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
use AS_VERSION and AS_NANO
2006-03-31 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py: Example GUI for a remuxer, unfinished --

2
common

@ -1 +1 @@
Subproject commit c18b429f2a3698b6fc5e849a637aa0c8b91e82b9
Subproject commit e430cd53b02f6d37da6200ac81c89c588f99b089

View file

@ -1,24 +1,33 @@
-*- mode: m4 -*-
AC_PREREQ(2.57)
AC_PREREQ(2.52)
AC_INIT
AC_CANONICAL_TARGET
dnl initialize autoconf
dnl when going to/from release please set the nano (fourth number) right !
dnl releases only do Wall, cvs and prerelease does Werror too
AC_INIT(GStreamer Python Bindings, 0.10.3.1,
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
gst-python)
dnl initialize automake
AM_INIT_AUTOMAKE
dnl define PACKAGE_VERSION_* variables
AS_VERSION
dnl check if this is a release version
AS_NANO(GST_CVS="no", GST_CVS="yes")
dnl can autoconf find the source ?
AC_CONFIG_SRCDIR([gst/gstmodule.c])
dnl define the output header for config
AM_CONFIG_HEADER([config.h])
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
AM_MAINTAINER_MODE
dnl when going to/from release please set the nano (fourth number) right !
AS_VERSION(gst-python, PYGST_VERSION, 0, 10, 3, 1,
GST_CVS="no", GST_CVS="yes")
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_DEFINE_UNQUOTED(PYGST_MAJOR_VERSION, $PYGST_VERSION_MAJOR, [PyGst major version])
AC_DEFINE_UNQUOTED(PYGST_MINOR_VERSION, $PYGST_VERSION_MINOR, [PyGst minor version])
AC_DEFINE_UNQUOTED(PYGST_MICRO_VERSION, $PYGST_VERSION_MICRO, [PyGst macro version])
AC_CONFIG_SRCDIR([gst/gstmodule.c])
AM_CONFIG_HEADER(config.h)
AC_DEFINE_UNQUOTED(PYGST_MAJOR_VERSION, $PACKAGE_VERSION_MAJOR, [PyGst major version])
AC_DEFINE_UNQUOTED(PYGST_MINOR_VERSION, $PACKAGE_VERSION_MINOR, [PyGst minor version])
AC_DEFINE_UNQUOTED(PYGST_MICRO_VERSION, $PACKAGE_VERSION_MICRO, [PyGst macro version])
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I common/m4")

1
gst/.gitignore vendored
View file

@ -11,3 +11,4 @@ gst.c
gen-*.c
interfaces.c
play.c
gstversion.override