configure.ac: use AS_VERSION and AS_NANO

Original commit message from CVS:

* configure.ac:
use AS_VERSION and AS_NANO
parent a94b05ad
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 --
......
common @ e430cd53
Subproject commit c18b429f2a3698b6fc5e849a637aa0c8b91e82b9
Subproject commit e430cd53b02f6d37da6200ac81c89c588f99b089
-*- mode: m4 -*-
AC_PREREQ(2.57)
AC_PREREQ(2.52)
AC_INIT
AC_CANONICAL_TARGET
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
AM_MAINTAINER_MODE
dnl initialize autoconf
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")
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)
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
dnl initialize automake
AM_INIT_AUTOMAKE
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])
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])
AM_CONFIG_HEADER(config.h)
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
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")
......
......@@ -11,3 +11,4 @@ gst.c
gen-*.c
interfaces.c
play.c
gstversion.override
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment