fixaroos for gconf

Original commit message from CVS:
fixaroos for gconf
This commit is contained in:
Thomas Vander Stichele 2002-07-01 15:41:13 +00:00
parent 26019f6e28
commit 63be0abbb5
2 changed files with 18 additions and 8 deletions

View file

@ -1,4 +1,4 @@
if USE_GCONF
if USE_GCONFTOOL
GCONF_DIR=gconf
else
GCONF_DIR=

View file

@ -110,20 +110,29 @@ 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,
HAVE_GST="yes", HAVE_GST="no")
@ -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