[gst-cvs] gst-plugins-bad: soundtouch: fix detection of libsoundtouch >= 1.4

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Thu May 28 04:10:41 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: 646d95cfe8fe3070cf9e06e1420d8dbe6cbe5bc7
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=646d95cfe8fe3070cf9e06e1420d8dbe6cbe5bc7

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Thu May 28 13:07:37 2009 +0200

soundtouch: fix detection of libsoundtouch >= 1.4

---

 configure.ac |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index eb624b8..7224948 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1300,10 +1300,13 @@ AG_GST_CHECK_FEATURE(SOUNDTOUCH, [soundtouch plug-in], soundtouch, [
       [HAVE_SOUNDTOUCH=yes
         HAVE_SOUNDTOUCH_1_4=no
         SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"], 
-      [PKG_CHECK_MODULES(SOUNDTOUCH, libSoundTouch,
-        HAVE_SOUNDTOUCH=yes
-        SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM", 
-        HAVE_SOUNDTOUCH=no)])])
+      [PKG_CHECK_MODULES(SOUNDTOUCH, libSoundTouch >= 1.4,
+        [HAVE_SOUNDTOUCH=yes],
+        [PKG_CHECK_MODULES(SOUNDTOUCH, libSoundTouch,
+          [HAVE_SOUNDTOUCH=yes
+            HAVE_SOUNDTOUCH_1_4=no
+            SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"],
+          HAVE_SOUNDTOUCH=no)])])])
   AC_SUBST(SOUNDTOUCH_CFLAGS)
   AC_SUBST(SOUNDTOUCH_LIBS)
   if test "x$HAVE_CXX" != "xyes"; then





More information about the Gstreamer-commits mailing list