From: Thomas Vander Stichele Date: Wed, 30 Jan 2002 17:27:01 +0000 (+0000) Subject: fall back to glib1 when no glib2 found X-Git-Tag: RELEASE-0_3_2-DOBDAY~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f087e3745881731f7dafe0ba59f1d985a8e4f0ff;p=platform%2Fupstream%2Fgstreamer.git fall back to glib1 when no glib2 found Original commit message from CVS: fall back to glib1 when no glib2 found --- diff --git a/configure.ac b/configure.ac index 1e0c9b3..a0af06d 100644 --- a/configure.ac +++ b/configure.ac @@ -242,10 +242,9 @@ GST_CHECK_FEATURE(GLIB2, [use of glib-2.0 and GObject], , [ GLIB_CFLAGS=$GLIB2_CFLAGS AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) - # if we've gotten this far, the user has specifically asked that glib2 be - # used. if we have no glib2, that is an error. + # glib2 is now the default. so if we don't have it here, then use glib1 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 ], enabled, [ AC_DEFINE(USE_GLIB2)