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.
This commit is contained in:
Max Kellermann 2008-11-04 07:46:47 +01:00
parent 095a62a1d0
commit 792711bddd

View File

@ -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