aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-28 21:38:44 +0100
committerMax Kellermann <max@duempel.org>2009-03-28 21:38:44 +0100
commit50c53e4b24085174fbe8267d4da2b51711543374 (patch)
treeb8a9e3b8eeedaa8d2e19e3ecaa11a4d797c54ee2 /configure.ac
parentde7c16d1be09f6771a4b95b14ff1201b9f4ef931 (diff)
downloadmpd-50c53e4b24085174fbe8267d4da2b51711543374.tar.gz
mpd-50c53e4b24085174fbe8267d4da2b51711543374.tar.xz
mpd-50c53e4b24085174fbe8267d4da2b51711543374.zip
Makefile.am: use SAMPLERATE_CFLAGS and SAMPLERATE_LIBS
Don't add those to MPD_CFLAGS and MPD_LIBS.
Diffstat (limited to '')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 6e2cd23fa..76741cac1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -481,10 +481,8 @@ AC_ARG_ENABLE(lsr,
if test x$enable_lsr = xyes; then
PKG_CHECK_MODULES([SAMPLERATE], [samplerate >= 0.0.15],
- [enable_lsr=yes;AC_DEFINE([HAVE_LIBSAMPLERATE], 1,
- [Define to enable libsamplerate])]
- MPD_LIBS="$MPD_LIBS $SAMPLERATE_LIBS"
- MPD_CFLAGS="$MPD_CFLAGS $SAMPLERATE_CFLAGS",
+ [AC_DEFINE([HAVE_LIBSAMPLERATE], 1,
+ [Define to enable libsamplerate])],
[enable_lsr=no;AC_MSG_WARN([libsamplerate not found -- disabling])])
fi