ChangeLog, configure.ac: add check for fftw3 and samplerate 0.10.0.1
authorPaul Brossier <piem@piem.org>
Thu, 5 Jun 2008 16:50:59 +0000 (18:50 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 5 Jun 2008 16:50:59 +0000 (18:50 +0200)
ChangeLog
configure.ac

index 0d18fb6..2b2406a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+=== release 0.10.0.1 ===
+
+2008-06-02     Paul Brossier  <piem@piem.org>
+
+       * configure.ac: add pkg-config checks for samplerate and fftw3f
+
 2008-05-03     Paul Brossier  <piem@piem.org>
 
        * first versions of aubiotempo and aubiopitch
index 602b52c..f7ca13e 100644 (file)
@@ -66,6 +66,17 @@ dnl make AUBIO_CFLAGS and AUBIO_LIBS available
 AC_SUBST(AUBIO_CFLAGS)
 AC_SUBST(AUBIO_LIBS)
 
+dnl also check for samplerate and fftw3f, as aubio is linked to them 
+PKG_CHECK_MODULES(SAMPLERATE, samplerate  >= 0.0.15,  SAMPLERATE_SUPPORT=1)
+AC_ARG_ENABLE(fftw3f,
+  AC_HELP_STRING([--enable-fftw3f],[compile with fftw3f [[default=auto]]]),
+  [with_fftw3f=$enableval],
+  with_fftw3f="yes")
+if test "$with_fftw3f" = "yes"; then
+  PKG_CHECK_MODULES(FFTWLIB,    fftw3f >= 3.0.0,     FFTW3F_SUPPORT=1, FFTW3F_SUPPORT=0)
+else
+  PKG_CHECK_MODULES(FFTWLIB,    fftw3  >= 3.0.0,     FFTW3_SUPPORT=1)
+fi
 
 dnl Now we're ready to ask for gstreamer libs and cflags
 dnl And we can also ask for the right version of gstreamer