From 4cfcdd5e0f736310b69d5e11e55efbc7bad8a0a2 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 17 Apr 2010 03:42:57 -0700 Subject: configure.ac: Move libsndfile to Decoder Plugins, add header. --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f399e6d5e..a9da3de9a 100644 --- a/configure.ac +++ b/configure.ac @@ -1060,6 +1060,14 @@ if test x$enable_sndfile = xauto && test x$enable_modplug = xyes; then enable_sndfile=no fi +dnl -------------------------------- libsndfile ------------------------------- +MPD_AUTO_PKG(sndfile, SNDFILE, [sndfile], + [libsndfile decoder plugin], [libsndfile not found]) + +if test x$enable_sndfile = xyes; then + AC_DEFINE(ENABLE_SNDFILE, 1, [Define to enable the sndfile decoder plugin]) +fi +AM_CONDITIONAL(ENABLE_SNDFILE, test x$enable_sndfile = xyes) if test x$enable_mpc = xyes; then if test "x$mpcdec_libraries" != "x" ; then -- cgit v1.2.3