aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-04 07:46:47 +0100
committerMax Kellermann <max@duempel.org>2008-11-04 07:46:47 +0100
commit792711bddd3519c0e869e1853d1123861d928aa7 (patch)
treed91d331128dd6ca8e0d6c57f14a92b26180efbcf
parent095a62a1d0cae1b2bf00ef53a3c248e532be3924 (diff)
downloadmpd-792711bddd3519c0e869e1853d1123861d928aa7.tar.gz
mpd-792711bddd3519c0e869e1853d1123861d928aa7.tar.xz
mpd-792711bddd3519c0e869e1853d1123861d928aa7.zip
configure.ac: unset MP4FF_LIBS when MP4 support is disabled
Although there is no AC_SUBST when $enable_mp4=no, autoconf substitutes its value in Makefile.am. Clear it in this case.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3fab393de..2e1632e74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -646,6 +646,7 @@ if test x$enable_aac = xyes; then
AC_DEFINE(HAVE_MP4, 1, [Define to use FAAD2+mp4ff for MP4 decoding])
else
AC_MSG_WARN([libmp4ff needed for MP4 support -- disabling MP4 support])
+ unset MP4FF_LIBS
fi
CFLAGS=$oldcflags