Mercurial > audlegacy
comparison configure.ac @ 2538:719e0898ff3c trunk
[svn] - Patch to use libsamplerate for high-quality interpolated upsampling,
similar to what foobar2000 can do. Patch by Teru KAMOGASHIRA.
author | nenolod |
---|---|
date | Sat, 17 Feb 2007 02:19:35 -0800 |
parents | 97a305e550cf |
children | 6b2743b54fd7 |
comparison
equal
deleted
inserted
replaced
2537:7aac1b5ef85d | 2538:719e0898ff3c |
---|---|
202 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) | 202 AM_CONDITIONAL(USE_CHARDET,test "x$enable_chardet" = xyes) |
203 AC_SUBST(USE_CHARDET) | 203 AC_SUBST(USE_CHARDET) |
204 AC_SUBST(CHARDET_LIBS) | 204 AC_SUBST(CHARDET_LIBS) |
205 AC_SUBST(SUBDIR_GUESS) | 205 AC_SUBST(SUBDIR_GUESS) |
206 | 206 |
207 dnl libsamplerate support | |
208 dnl ======================== | |
209 AC_ARG_ENABLE(samplerate, | |
210 [ --enable-samplerate enable libsamplerate support (default=no)], | |
211 [cv_samplerate="$enable_samplerate"], [cv_samplerate="no"]) | |
212 if test "x$cv_samplerate" = "xyes"; then | |
213 AC_DEFINE(USE_SRC, 1, [Define if libsamplerate enabled] ) | |
214 PKG_CHECK_MODULES(samplerate, samplerate) | |
215 AC_SUBST(USE_SRC) | |
216 AC_SUBST(samplerate_CFLAGS) | |
217 AC_SUBST(samplerate_LIBS) | |
218 AC_CHECK_LIB(samplerate, src_process,,AC_MSG_ERROR([*** Unable to find libsamplerate library!])) | |
219 fi | |
220 | |
207 dnl regex support (gnu/oniguruma/pcre) | 221 dnl regex support (gnu/oniguruma/pcre) |
208 dnl ======================== | 222 dnl ======================== |
209 REGEX_LIBS= | 223 REGEX_LIBS= |
210 REGEX_CFLAGS= | 224 REGEX_CFLAGS= |
211 AC_ARG_WITH(regexlib, | 225 AC_ARG_WITH(regexlib, |