From ac4bf2a6e502e3ef215665989b38ea52c36479c3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 26 Dec 2001 21:58:57 +0000 Subject: this makes more sens donnit ? Original commit message from CVS: this makes more sens donnit ? --- configure.ac | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index b64ac1c4..57dfc4ce 100644 --- a/configure.ac +++ b/configure.ac @@ -32,9 +32,6 @@ GST_REVISION=0 GST_AGE=0 GST_LIBVERSION=$GST_CURRENT:$GST_REVISION:$GST_AGE -dnl check for gstreamer -PKG_CHECK_MODULES(GST, gstreamer >= 0.3.0) - AM_INIT_AUTOMAKE($PACKAGE, $VERSION) dnl Add parameters for aclocal dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL) @@ -118,14 +115,18 @@ else HAVE_NASM="yes" fi +dnl Check for pkgconfig +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, true, false) + dnl fix pkg-config's broken default search path if test -z $PKG_CONFIG_PATH; then PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig + echo "Setting PKG_CONFIG_PATH to $PKG_CONFIG_PATH" fi export PKG_CONFIG_PATH -dnl Check for pkgconfig -AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, true, false) +dnl check for gstreamer +PKG_CHECK_MODULES(GST, gstreamer >= 0.3.0) dnl dnl check for gtk-doc dnl AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ]) -- cgit v1.2.1