mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
trying to fall back to glib1 when glib2 isn't there
Original commit message from CVS: trying to fall back to glib1 when glib2 isn't there
This commit is contained in:
parent
f087e37458
commit
a5678b4f06
1 changed files with 2 additions and 3 deletions
|
@ -270,10 +270,9 @@ GST_CHECK_FEATURE(GLIB2, [use of glib-2.0 and GObject], , [
|
||||||
GLIB_CFLAGS=$GLIB2_CFLAGS
|
GLIB_CFLAGS=$GLIB2_CFLAGS
|
||||||
AC_SUBST(GLIB_LIBS)
|
AC_SUBST(GLIB_LIBS)
|
||||||
AC_SUBST(GLIB_CFLAGS)
|
AC_SUBST(GLIB_CFLAGS)
|
||||||
# if we've gotten this far, the user has specifically asked that glib2 be
|
# glib2 is now the default. so if we don't have it here, then use glib1
|
||||||
# used. if we have no glib2, that is an error.
|
|
||||||
if test "x$HAVE_GLIB2" = "xno"; then
|
if test "x$HAVE_GLIB2" = "xno"; then
|
||||||
AC_MSG_ERROR([no glib2 found, try --disable-glib2])
|
AC_MSG_WARN([no glib2 found, falling back to glib1])
|
||||||
fi
|
fi
|
||||||
], enabled, [
|
], enabled, [
|
||||||
dnl AC_DEFINE(USE_GLIB2)
|
dnl AC_DEFINE(USE_GLIB2)
|
||||||
|
|
Loading…
Reference in a new issue