summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 84c11893..62cb1521 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1759,8 +1759,10 @@ fi
dnl *** wavpack ***
dnl We ship our own version of the library
translit(dnm, m, l) AM_CONDITIONAL(USE_WAVPACK, true)
-GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [
- HAVE_WAVPACK=yes
+GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [
+ PKG_CHECK_MODULES(WAVPACK, wavpack >= 4.2, HAVE_WAVPACK=yes, HAVE_WAVPACK=no)
+ AC_SUBST(WAVPACK_CFLAGS)
+ AC_SUBST(WAVPACK_LIBS)
])
dnl *** xine ***