From: Thomas Vander Stichele Date: Mon, 1 Jul 2002 15:41:13 +0000 (+0000) Subject: fixaroos for gconf X-Git-Tag: CAPS~294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63be0abbb51cbe5c0a201719acb39fc1e14df327;p=platform%2Fupstream%2Fgst-plugins-base.git fixaroos for gconf Original commit message from CVS: fixaroos for gconf --- diff --git a/Makefile.am b/Makefile.am index 2c87df6..7e63c1b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -if USE_GCONF +if USE_GCONFTOOL GCONF_DIR=gconf else GCONF_DIR= diff --git a/configure.ac b/configure.ac index 91d52b7..0cd8e11 100644 --- a/configure.ac +++ b/configure.ac @@ -110,19 +110,28 @@ else HAVE_NASM="yes" fi -dnl check for gconf -translit(dnm, m, l) AM_CONDITIONAL(USE_GCONF, true) -GST_CHECK_FEATURE(GCONF, [GConf stuff], , [ +dnl check for gconftool-2 +translit(dnm, m, l) AM_CONDITIONAL(USE_GCONFTOOL, true) +GST_CHECK_FEATURE(GCONFTOOL, [GConf schemas], , [ AC_PATH_PROG(GCONFTOOL, gconftool-2, no) if test x$GCONFTOOL = xno; then AC_MSG_WARN(Not installing GConf schemas) - HAVE_GCONF="no" + HAVE_GCONFTOOL="no" else AM_GCONF_SOURCE_2 - HAVE_GCONF="yes" + HAVE_GCONFTOOL="yes" fi - AC_SUBST(HAVE_GCONF) + AC_SUBST(HAVE_GCONFTOOL) +]) + +dnl check for GConf libraries +translit(dnm, m, l) AM_CONDITIONAL(USE_GCONF, true) +GST_CHECK_FEATURE(GCONF, [GConf libraries], , [ + PKG_CHECK_MODULES(GCONF, gconf-2.0, HAVE_GCONF="yes", HAVE_GCONF="no") + AC_SUBST(GCONF_CFLAGS) + AC_SUBST(GCONF_LIBS) ]) +AC_SUBST(HAVE_GCONF) dnl check for gstreamer; uninstalled is selected preferentially -- see pkg-config(1) PKG_CHECK_MODULES(GST, gstreamer >= $GST_PLUGINS_MAJOR.$GST_PLUGINS_MINOR.$GST_PLUGINS_MICRO, @@ -916,10 +925,11 @@ ext/xmms/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/audio/Makefile +gst-libs/gst/floatcast/Makefile +gst-libs/gst/gconf/Makefile gst-libs/gst/idct/Makefile gst-libs/gst/resample/Makefile gst-libs/gst/riff/Makefile -gst-libs/gst/floatcast/Makefile examples/dynparams/Makefile examples/capsfilter/Makefile examples/seeking/Makefile