summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-07-01 15:41:13 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-07-01 15:41:13 +0000
commit0e4c9fab8a2103eb50a0839b24d100c97fe82b08 (patch)
tree58d826e0c538e1a5f04b794c2b4fdc67488c96d8
parent473fa96cd83e937690078490494ff4d188a865ba (diff)
downloadgst-plugins-bad-0e4c9fab8a2103eb50a0839b24d100c97fe82b08.tar.gz
gst-plugins-bad-0e4c9fab8a2103eb50a0839b24d100c97fe82b08.tar.bz2
gst-plugins-bad-0e4c9fab8a2103eb50a0839b24d100c97fe82b08.zip
fixaroos for gconf
Original commit message from CVS: fixaroos for gconf
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac24
2 files changed, 18 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c87df6b..7e63c1bb 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 91d52b7d..0cd8e11b 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