configure.ac: save libs correctly when checking mad

Original commit message from CVS:
* configure.ac:
save libs correctly when checking mad
This commit is contained in:
Benjamin Otte 2004-04-14 15:42:03 +00:00
parent 824d5315c5
commit f13fcb23ec
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-04-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
* configure.ac:
save libs correctly when checking mad
2004-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/mad/gstid3tag.c: (plugin_init):

View file

@ -1164,7 +1164,7 @@ GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad")
if test "x$HAVE_MAD" = "xyes"; then
HAVE_MAD="no"
save_libs=$LIBS
save_LIBS=$LIBS
LIBS="-lz"
AC_CHECK_LIB(id3tag, id3_tag_options, HAVE_MAD="yes" MAD_LIBS="-lmad -lid3tag -lz")
LIBS=$save_LIBS