diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2009-05-28 13:07:37 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2009-05-28 13:09:29 +0200 |
commit | 646d95cfe8fe3070cf9e06e1420d8dbe6cbe5bc7 (patch) | |
tree | 555d0064c9cb9773e18321b97aec683920e6b465 | |
parent | 840955c22672261e9fe77d67a81e5772173cf0dc (diff) | |
download | gst-plugins-bad-646d95cfe8fe3070cf9e06e1420d8dbe6cbe5bc7.tar.gz gst-plugins-bad-646d95cfe8fe3070cf9e06e1420d8dbe6cbe5bc7.tar.bz2 gst-plugins-bad-646d95cfe8fe3070cf9e06e1420d8dbe6cbe5bc7.zip |
soundtouch: fix detection of libsoundtouch >= 1.4
-rw-r--r-- | configure.ac | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index eb624b8f..72249488 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 |