From 13cf1785d813f23c5cfae18a98568058ed94dfa7 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 7 Apr 2003 21:34:30 +0000 Subject: Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core) Original commit message from CVS: Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core) --- configure.ac | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 790ae53b..3e0b3988 100644 --- a/configure.ac +++ b/configure.ac @@ -157,10 +157,17 @@ if test -z $GST_TOOLS_DIR; then fi AC_SUBST(GST_TOOLS_DIR) -dnl additional gstcontrol libs -GST_CONTROL_LIBS=`pkg-config --variable=gstcontrol_libs gstreamer-$GST_MAJORMINOR` +dnl check for gstreamer-control; uninstalled is selected preferentially +PKG_CHECK_MODULES(GST_CONTROL, gstreamer-control-$GST_MAJORMINOR >= $GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR.$GST_PLUGINS_VERSION_MICRO, + HAVE_GST_CONTROL="yes", HAVE_GST_CONTROL="no") + +if test "x$HAVE_GST_CONTROL" = "xno"; then + AC_MSG_ERROR(no GStreamer Control Libs found) +fi + AC_SUBST(GST_CONTROL_LIBS) + dnl Set up conditionals for (target) architecture: dnl ============================================== @@ -1015,10 +1022,12 @@ dnl ######################### AC_CONFIG_FILES( Makefile -gstreamer-libs.pc -gstreamer-libs-uninstalled.pc -gstreamer-play.pc -gstreamer-play-uninstalled.pc +pkgconfig/gstreamer-libs.pc +pkgconfig/gstreamer-libs-uninstalled.pc +pkgconfig/gstreamer-play.pc +pkgconfig/gstreamer-play-uninstalled.pc +gst-libs/gst/gconf/gstreamer-gconf.pc +gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc gst-plugins.spec gst/Makefile gst/ac3parse/Makefile @@ -1159,6 +1168,7 @@ testsuite/alsa/Makefile testsuite/Makefile tools/Makefile gconf/Makefile +pkgconfig/Makefile ) AC_OUTPUT -- cgit v1.2.1