From 1a9dd0819bfd89d7aae97cd602a41cfe01b3df44 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Tue, 3 Mar 2009 09:40:15 +1100 Subject: [PATCH] configure.ac : Detect vorbis_version_string() correctly. --- ChangeLog | 5 +++++ configure.ac | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2c4a6837..d36eb00e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-03-03 Erik de Castro Lopo + + * configure.ac + Detect vorbis_version_string() correctly. + 2009-03-02 Erik de Castro Lopo * doc/index.html diff --git a/configure.ac b/configure.ac index 29ee85ce..44db551e 100644 --- a/configure.ac +++ b/configure.ac @@ -306,7 +306,10 @@ else HAVE_VORBIS_VERSION_STRING=0 if test x$ac_cv_flac$ac_cv_ogg$ac_cv_vorbis$ac_cv_vorbisenc = "xyesyesyesyes" ; then + save_LIBS="$LIBS" + LIBS="$VORBIS_LIBS $LIBS" AC_CHECK_LIB(vorbis, vorbis_version_string, HAVE_VORBIS_VERSION_STRING=1) + LIBS="$save_LIBS" HAVE_EXTERNAL_LIBS=1 enable_external_libs=yes