comparison configure.ac @ 2543:535bc24a9eb1 trunk

[svn] - make configure script show the configuration status of sampling rate conversion.
author yaz
date Sat, 17 Feb 2007 05:54:16 -0800
parents 6b2743b54fd7
children b474ecb5bde4
comparison
equal deleted inserted replaced
2542:ef01234ae265 2543:535bc24a9eb1
206 206
207 dnl libsamplerate support 207 dnl libsamplerate support
208 dnl ======================== 208 dnl ========================
209 AC_ARG_ENABLE(samplerate, 209 AC_ARG_ENABLE(samplerate,
210 [ --enable-samplerate enable libsamplerate support (default=no)], 210 [ --enable-samplerate enable libsamplerate support (default=no)],
211 [cv_samplerate="$enable_samplerate"], [cv_samplerate="no"]) 211 [enable_samplerate=$enableval], [enable_samplerate=no])
212 if test "x$cv_samplerate" = "xyes"; then 212 if test "x$enable_samplerate" = "xyes"; then
213 AC_DEFINE(USE_SRC, 1, [Define if libsamplerate enabled] ) 213 AC_DEFINE(USE_SRC, 1, [Define if libsamplerate enabled] )
214 PKG_CHECK_MODULES(samplerate, samplerate) 214 PKG_CHECK_MODULES(samplerate, samplerate)
215 AC_SUBST(USE_SRC) 215 AC_SUBST(USE_SRC)
216 AC_SUBST(samplerate_CFLAGS) 216 AC_SUBST(samplerate_CFLAGS)
217 AC_SUBST(samplerate_LIBS) 217 AC_SUBST(samplerate_LIBS)