summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
committerSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
commitbaa3403ebe3f0028ca826fb8d7f56e9cbed05356 (patch)
tree7765d941dd576fcd3bf0cb297894e55fbbfe3207 /configure.ac
parentb1065bf2a5159183bde18dcd95c988ea42b86f83 (diff)
downloadgst-plugins-good0.10-master.tar.gz
gst-plugins-good0.10-master.tar.bz2
gst-plugins-good0.10-master.zip
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac54
1 files changed, 12 insertions, 42 deletions
diff --git a/configure.ac b/configure.ac
index 84fb7e4..13a6745 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ dnl please read gstreamer/docs/random/autotools before changing this file
dnl initialize autoconf
dnl releases only do -Wall, git and prerelease does -Werror too
dnl use a three digit version number for releases, and four for git/pre
-AC_INIT(GStreamer Good Plug-ins, 0.10.29,
+AC_INIT(GStreamer Good Plug-ins, 0.10.31,
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
gst-plugins-good)
@@ -54,8 +54,8 @@ AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff ***
-GST_REQ=0.10.33
-GSTPB_REQ=0.10.33
+GST_REQ=0.10.36
+GSTPB_REQ=0.10.36
dnl *** autotools stuff ****
@@ -207,7 +207,8 @@ AC_CHECK_TYPE([struct ip_mreqn], [
dnl *** checks for dependency libraries ***
dnl GLib is required
-AG_GST_GLIB_CHECK([2.20])
+AG_GST_GLIB_CHECK([2.24])
+PKG_CHECK_MODULES(GIO, [ gio-2.0 >= 2.20 ], , AC_MSG_ERROR([gio is required]))
dnl Orc
ORC_CHECK([0.4.11])
@@ -825,15 +826,6 @@ dnl *** libcaca ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
AG_GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [
AG_GST_PKG_CHECK_MODULES(LIBCACA, caca)
- dnl only newer versions of libcaca ship caca.pc, so try caca-config as well
- if test "x$HAVE_LIBCACA" != "xyes"; then
- AG_GST_CHECK_CONFIGPROG(LIBCACA, caca-config)
- dnl see if it compilation works too, might not if we are cross-compiling
- if test "x$HAVE_LIBCACA" = "xyes"; then
- AC_CHECK_LIB([caca], [caca_init], [HAVE_LIBCACA=yes],
- [HAVE_LIBCACA=no], [$LIBCACA_LIBS])
- fi
- fi
])
dnl *** libdv ***
@@ -855,31 +847,15 @@ AG_GST_CHECK_FEATURE(PULSE, [pulseaudio plug-in], pulseaudio, [
dnl used in ext/pulse/pulseutil.c
AC_CHECK_HEADERS([process.h])
- AG_GST_PKG_CHECK_MODULES(PULSE, libpulse >= 0.9.10)
- AG_GST_PKG_CHECK_MODULES(PULSE_0_9_11, libpulse >= 0.9.11)
- if test x$HAVE_PULSE_0_9_11 = xyes; then
- AC_DEFINE(HAVE_PULSE_0_9_11, 1, [defined if pulseaudio >= 0.9.11 is available])
- fi
- AG_GST_PKG_CHECK_MODULES(PULSE_0_9_12, libpulse >= 0.9.12)
- if test x$HAVE_PULSE_0_9_12 = xyes; then
- AC_DEFINE(HAVE_PULSE_0_9_12, 1, [defined if pulseaudio >= 0.9.12 is available])
- fi
- AG_GST_PKG_CHECK_MODULES(PULSE_0_9_13, libpulse >= 0.9.13)
- if test x$HAVE_PULSE_0_9_13 = xyes; then
- AC_DEFINE(HAVE_PULSE_0_9_13, 1, [defined if pulseaudio >= 0.9.13 is available])
- fi
- AG_GST_PKG_CHECK_MODULES(PULSE_0_9_15, libpulse >= 0.9.15)
- if test x$HAVE_PULSE_0_9_15 = xyes; then
- AC_DEFINE(HAVE_PULSE_0_9_15, 1, [defined if pulseaudio >= 0.9.15 is available])
- fi
- AG_GST_PKG_CHECK_MODULES(PULSE_0_9_16, libpulse >= 0.9.16)
- if test x$HAVE_PULSE_0_9_16 = xyes; then
- AC_DEFINE(HAVE_PULSE_0_9_16, 1, [defined if pulseaudio >= 0.9.16 is available])
- fi
+ AG_GST_PKG_CHECK_MODULES(PULSE, libpulse >= 0.9.16)
AG_GST_PKG_CHECK_MODULES(PULSE_0_9_20, libpulse >= 0.9.20)
if test x$HAVE_PULSE_0_9_20 = xyes; then
AC_DEFINE(HAVE_PULSE_0_9_20, 1, [defined if pulseaudio >= 0.9.20 is available])
fi
+ AG_GST_PKG_CHECK_MODULES(PULSE_1_0, libpulse >= 0.98)
+ if test x$HAVE_PULSE_1_0 = xyes; then
+ AC_DEFINE(HAVE_PULSE_1_0, 1, [defined if pulseaudio >= 1.0 is available])
+ fi
])
dnl *** dv1394 ***
@@ -937,12 +913,6 @@ dnl *** shout2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true)
AG_GST_CHECK_FEATURE(SHOUT2, [Shoutcast/Icecast client library], shout2, [
AG_GST_PKG_CHECK_MODULES(SHOUT2, shout >= 2.0)
- if test $HAVE_SHOUT2 = no
- then
- AM_PATH_SHOUT2(HAVE_SHOUT2="yes")
- AC_SUBST(SHOUT2_CFLAGS)
- AC_SUBST(SHOUT2_LIBS)
- fi
])
dnl *** soup ***
@@ -1036,9 +1006,9 @@ AG_GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [
AC_SUBST(WAVPACK_LIBS)
])
-dnl *** qtdemux & id3demux & matroska prefer to have zlib ***
+dnl *** qtdemux & matroska prefer to have zlib ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true)
-AG_GST_CHECK_FEATURE(ZLIB, [zlib support for id3demux/qtdemux/matroska],, [
+AG_GST_CHECK_FEATURE(ZLIB, [zlib support for qtdemux/matroska],, [
AG_GST_CHECK_LIBHEADER(ZLIB,
z, uncompress,, zlib.h, [
HAVE_ZLIB="yes"