diff configure @ 35140:4d6fba26c46f

Improve Ogg/Vorbis detection.
author cehoyos
date Sun, 07 Oct 2012 19:15:16 +0000
parents 15129bd36699
children 86a1ffaac376
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