Commit 792711bd authored by Max Kellermann's avatar Max Kellermann

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.
parent 095a62a1
...@@ -646,6 +646,7 @@ if test x$enable_aac = xyes; then ...@@ -646,6 +646,7 @@ if test x$enable_aac = xyes; then
AC_DEFINE(HAVE_MP4, 1, [Define to use FAAD2+mp4ff for MP4 decoding]) AC_DEFINE(HAVE_MP4, 1, [Define to use FAAD2+mp4ff for MP4 decoding])
else else
AC_MSG_WARN([libmp4ff needed for MP4 support -- disabling MP4 support]) AC_MSG_WARN([libmp4ff needed for MP4 support -- disabling MP4 support])
unset MP4FF_LIBS
fi fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment