diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-12-08 14:50:10 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-12-08 14:50:10 +0000 |
commit | 708cf898e85bb1742870f6b3cabcc74b28f01c5f (patch) | |
tree | 022549fcd528cd742ef2fc6569ebd94a0030e97f /configure.ac | |
parent | 2a19514098f24c47f8642e7f0b4b762e5dc9d05d (diff) | |
download | gst-plugins-bad-708cf898e85bb1742870f6b3cabcc74b28f01c5f.tar.gz gst-plugins-bad-708cf898e85bb1742870f6b3cabcc74b28f01c5f.tar.bz2 gst-plugins-bad-708cf898e85bb1742870f6b3cabcc74b28f01c5f.zip |
parallel install fixes
Original commit message from CVS:
parallel install fixes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 6e9958ed..cf981eb8 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,17 @@ dnl when going to/from release please set the nano (fourth number) right ! dnl releases only do Wall, cvs and prerelease does Werror too AS_VERSION(gst-plugins, GST_PLUGINS_VERSION, 0, 4, 2, 1, GST_ERROR="-Wall", GST_ERROR="-Wall -Werror") AM_INIT_AUTOMAKE($PACKAGE,$VERSION) -AS_LIBTOOL(GST_PLUGINS, 0, 0, 0, yes) + +dnl our libraries and install dirs use major.minor as a version +GST_MAJORMINOR=$GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR +AC_SUBST(GST_MAJORMINOR) + +dnl CURRENT, REVISION, AGE +dnl - library source changed -> increment REVISION +dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0 +dnl - interfaces added -> increment AGE +dnl - interfaces removed -> AGE = 0 +AS_LIBTOOL(GST_PLUGINS, 1, 0, 0) dnl FIXME take something else ? AC_CONFIG_SRCDIR([gst/law/alaw.c]) @@ -136,19 +146,23 @@ GST_CHECK_FEATURE(GCONF, [GConf libraries], , [ ]) dnl check for gstreamer; uninstalled is selected preferentially -- see pkg-config(1) -PKG_CHECK_MODULES(GST, gstreamer >= $GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR.$GST_PLUGINS_VERSION_MICRO, +PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR.$GST_PLUGINS_VERSION_MICRO, HAVE_GST="yes", HAVE_GST="no") if test "x$HAVE_GST" = "xno"; then AC_MSG_ERROR(no GStreamer found) fi -GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer` +GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR` if test -z $GST_TOOLS_DIR; then AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.]) fi AC_SUBST(GST_TOOLS_DIR) +dnl additional gstcontrol libs +GST_CONTROL_LIBS=`pkg-config --variable=gstcontrol_libs gstreamer-$GST_MAJORMINOR` +AC_SUBST(GST_CONTROL_LIBS) + dnl Set up conditionals for (target) architecture: dnl ============================================== |