mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
configure: We require GIO now
This commit is contained in:
parent
7e4d0b0038
commit
f98e647a31
1 changed files with 16 additions and 19 deletions
35
configure.ac
35
configure.ac
|
@ -248,6 +248,22 @@ dnl *** checks for dependency libraries ***
|
|||
dnl GLib is required
|
||||
AG_GST_GLIB_CHECK([2.26])
|
||||
|
||||
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)
|
||||
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)
|
||||
])
|
||||
|
||||
ORC_CHECK([0.4.11])
|
||||
|
||||
dnl checks for gstreamer
|
||||
|
@ -646,25 +662,6 @@ AG_GST_CHECK_FEATURE(IVORBIS, [integer vorbis plug-in], ivorbisdec, [
|
|||
fi
|
||||
])
|
||||
|
||||
dnl *** libgio ***
|
||||
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.16, [
|
||||
HAVE_GIO="yes"
|
||||
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.])
|
||||
], [
|
||||
HAVE_GIO="no"
|
||||
])
|
||||
AC_SUBST(GIO_CFLAGS)
|
||||
AC_SUBST(GIO_LIBS)
|
||||
AC_SUBST(GIO_LDFLAGS)
|
||||
])
|
||||
|
||||
dnl *** libvisual ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBVISUAL, true)
|
||||
AG_GST_CHECK_FEATURE(LIBVISUAL, [libvisual visualization library], libvisual, [
|
||||
|
|
Loading…
Reference in a new issue