[0.11] gstreamer: configure.ac: Require GLib 2.31.10 and improve GIO check

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 18 07:15:21 PST 2012


Module: gstreamer
Branch: 0.11
Commit: adb722b2d37009e78b376bf34b32d6969c5dad52
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=adb722b2d37009e78b376bf34b32d6969c5dad52

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Wed Jan 18 16:14:51 2012 +0100

configure.ac: Require GLib 2.31.10 and improve GIO check

---

 configure.ac |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 808e384..80a4567 100644
--- a/configure.ac
+++ b/configure.ac
@@ -511,10 +511,22 @@ CFLAGS="$save_cflags"
 dnl *** checks for dependency libraries ***
 
 dnl GLib
-GLIB_REQ=2.26
+GLIB_REQ=2.31.10
 
 AG_GST_GLIB_CHECK([$GLIB_REQ])
+
+dnl Check for GIO
 PKG_CHECK_MODULES(GIO, gio-2.0 >= $GLIB_REQ)
+GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
+AC_DEFINE_UNQUOTED(GIO_MODULE_DIR, "$GIO_MODULE_DIR",
+    [The GIO modules directory.])
+GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
+    AC_DEFINE_UNQUOTED(GIO_LIBDIR, "$GIO_LIBDIR",
+        [The GIO library directory.])
+
+AC_SUBST(GIO_CFLAGS)
+AC_SUBST(GIO_LIBS)
+AC_SUBST(GIO_LDFLAGS)
 
 dnl Check for documentation xrefs
 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"



More information about the gstreamer-commits mailing list