mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
configure: Require GIO 2.31.10
This commit is contained in:
parent
2ea3ef0c1c
commit
a3496b14ea
2 changed files with 17 additions and 2 deletions
17
configure.ac
17
configure.ac
|
@ -204,7 +204,22 @@ dnl *** checks for dependency libraries ***
|
|||
|
||||
dnl GLib is required
|
||||
AG_GST_GLIB_CHECK([2.24])
|
||||
PKG_CHECK_MODULES(GIO, [ gio-2.0 >= 2.20 ], , AC_MSG_ERROR([gio is required]))
|
||||
|
||||
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)
|
||||
])
|
||||
|
||||
dnl Orc
|
||||
ORC_CHECK([0.4.11])
|
||||
|
|
|
@ -15,7 +15,7 @@ BUILT_SOURCES = $(built_sources) $(built_headers)
|
|||
|
||||
libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c gstmultiudpsink.c gstdynudpsink.c gstudpnetutils.c
|
||||
|
||||
libgstudp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -D_GNU_SOURCE
|
||||
libgstudp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
|
||||
libgstudp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_NET_LIBS) $(GIO_LIBS)
|
||||
libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstudp_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
|
Loading…
Reference in a new issue