Must check for libogg first because libvorbis depends on it

This commit is contained in:
Aaron VonderHaar
2003-09-14 06:33:28 +00:00
parent 1dba3cd96d
commit 1e5f40b62b
+1 -1
View File
@@ -46,8 +46,8 @@ echo $with_int_vorbis
have_vorbis=no
if test "$with_vorbis" = "yes" -a "$with_int_vorbis" = "no"; then
oldlibs="$LIBS"
AC_SEARCH_LIBS(vorbis_comment_add, [vorbis], have_libvorbis=yes, have_libvorbis=no)
AC_SEARCH_LIBS(ogg_stream_init, [ogg], have_libogg=yes, have_libogg=no)
AC_SEARCH_LIBS(vorbis_comment_add, [vorbis], have_libvorbis=yes, have_libvorbis=no)
AC_SEARCH_LIBS(ov_open, [vorbisfile], have_libvorbisfile=yes, have_libvorbisfile=no)
if test "$have_libvorbis" = "yes" -a "$have_libogg" = "yes" -a "$have_libvorbisfile" = "yes"; then
have_vorbis=yes