mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
configure.ac: Require GLib 2.31.10 and improve GIO check
This commit is contained in:
parent
9e35812070
commit
5ed617b659
1 changed files with 14 additions and 15 deletions
11
configure.ac
11
configure.ac
|
@ -224,13 +224,13 @@ AG_GST_CHECK_FUNCTION
|
|||
|
||||
dnl *** checks for dependency libraries ***
|
||||
|
||||
dnl GLib is required
|
||||
AG_GST_GLIB_CHECK([2.26])
|
||||
dnl GLib
|
||||
GLIB_REQ=2.31.10
|
||||
|
||||
AG_GST_GLIB_CHECK([$GLIB_REQ])
|
||||
|
||||
dnl Check for GIO
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_GIO, true)
|
||||
AG_GST_CHECK_FEATURE(GIO, [GIO library], gio, [
|
||||
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.31.10)
|
||||
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.])
|
||||
|
@ -241,7 +241,6 @@ AG_GST_CHECK_FEATURE(GIO, [GIO library], gio, [
|
|||
AC_SUBST(GIO_CFLAGS)
|
||||
AC_SUBST(GIO_LIBS)
|
||||
AC_SUBST(GIO_LDFLAGS)
|
||||
])
|
||||
|
||||
ORC_CHECK([0.4.11])
|
||||
|
||||
|
|
Loading…
Reference in a new issue