configure.ac: use $FAAD_LIBS in libmp4ff check

Append $FAAD_LIBS to $LIBS when detecting libmp4ff.  $FAAD_LIBS may
contain an important -L flag.
This commit is contained in:
Max Kellermann 2009-05-26 16:00:23 +02:00
parent 1d0be2a031
commit a2de0f0fc5

View File

@ -166,7 +166,7 @@ if test x$enable_aac = xyes; then
oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $FAAD_CFLAGS"
LIBS="$LIBS $MP4FF_LIBS"
LIBS="$LIBS $FAAD_LIBS $MP4FF_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_HEADER(mp4ff.h,,enable_mp4=no)