summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-05-17 21:27:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-05-17 21:27:52 +0200
commit0e048dee411cc20beb2a8667e5bb339f9b7fb939 (patch)
treec9bacf6f2491f5ae6feb4f4786688ef5659f5c9b /configure.ac
parentb6405171c6a74a5227555a9b75c03f88a5f21ed2 (diff)
New resample feature on output channels.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac31
1 files changed, 30 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c3fc352..d8d45d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -355,7 +355,36 @@ if test x$with_resample == xyes; then
dnl Check for libsamplerate
dnl ======================
PKG_CHECK_MODULES(SAMPLERATE, samplerate >= 0.1.7)
-fi
+
+# dnl ======================
+# dnl Check for the zitaresampler library
+# dnl ======================
+# AC_LANG_PUSH([C++])
+# tmp_CXXFLAGS="$CXXFLAGS"
+# tmp_CPPFLAGS="$CPPFLAGS"
+# tmp_CFLAGS="$CFLAGS"
+# tmp_LDFLAGS="$LDFLAGS"
+# tmp_LIBS="$LIBS"
+# CXXFLAGS=""
+# CPPFLAGS="$ZITA_CPPFLAGS"
+# CFLAGS=""
+# LDFLAGS="$ZITA_LDFLAGS"
+# LIBS=""
+# AC_CHECK_HEADER(zita-resampler/resampler.h, ,
+# AC_MSG_ERROR([*** zita-resampler header files not found! Set ZITA_CPPFLAGS to add searchpath.]))
+# AC_CHECK_LIB(zita-resampler, _Z28zita_resampler_major_versionv, ,
+# AC_MSG_ERROR([*** zita-resampler library not found! Set ZITA_LDFLAGS to add searchpath.]))
+# ZITA_CPPFLAGS="$CXXFLAGS $CPPFLAGS $CFLAGS"
+# ZITA_LIBS="$LDFLAGS $LIBS"
+# CXXFLAGS="$tmp_CXXFLAGS"
+# CPPFLAGS="$tmp_CPPFLAGS"
+# CFLAGS="$tmp_CFLAGS"
+# LDFLAGS="$tmp_LDFLAGS"
+# LIBS="$tmp_LIBS"
+# AC_SUBST(ZITA_CPPFLAGS)
+# AC_SUBST(ZITA_LIBS)
+# AC_LANG_POP([C++])
+fi
#dnl ======================
#dnl Check for zlib