changeset 35140:4d6fba26c46f

Improve Ogg/Vorbis detection.
author cehoyos
date Sun, 07 Oct 2012 19:15:16 +0000
parents 15129bd36699
children ef73eb8a2c43
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Oct 06 04:49:49 2012 +0000
+++ b/configure	Sun Oct 07 19:15:16 2012 +0000
@@ -6306,7 +6306,7 @@
 if test "$_libvorbis" = auto; then
   _libvorbis=no
   for vorbislibs in '-lvorbis -logg' '-lvorbis -lvorbisenc -logg' ; do
-    statement_check vorbis/vorbisenc.h 'vorbis_encode_ctl(0, 0, 0)' $vorbislibs && _libvorbis=yes && break
+    statement_check vorbis/vorbisenc.h 'vorbis_encode_ctl(0, 0, 0); ogg_stream_clear(0)' $vorbislibs && _libvorbis=yes && break
   done
 fi
 if test "$_tremor" = yes ; then