configure.ac : Detect vorbis_version_string() correctly.

This commit is contained in:
Erik de Castro Lopo 2009-03-03 09:40:15 +11:00
parent 5173b47550
commit 1a9dd0819b
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Detect vorbis_version_string() correctly.
2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/index.html

View File

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