summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 21:36:52 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 21:36:52 +0100
commitaecb5630cb7e43dbb3c9c3899f71be727c8d5b08 (patch)
tree3678a3fa820f6f862d2a6cabbe21f8ac30912ac6 /configure.ac
parent0f0245625af906cee3f96ec139c6e1e3f580aa05 (diff)
configure.ac: use MPD_ENABLE_AUTO_LIB for libfaad
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index f25ccddc9..6c525062a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -876,9 +876,8 @@ fi
AM_CONDITIONAL(ENABLE_DSD, test x$enable_dsd = xyes)
dnl ----------------------------------- FAAD ----------------------------------
-AM_PATH_FAAD()
-
-AM_CONDITIONAL(HAVE_FAAD, test x$enable_aac = xyes)
+MPD_ENABLE_AUTO_LIB(aac, FAAD, faad, NeAACDecOpen, [-lfaad], [],
+ [FAAD decoder plugin], [libfaad not found])
dnl ---------------------------------- ffmpeg ---------------------------------
MPD_ENABLE_AUTO_PKG(ffmpeg, FFMPEG,