Add explicit dependencies for vorbis support
authorPatrice Mandin <patmandin@gmail.com>
Mon, 26 Oct 2009 11:58:29 +0000
changeset 46347c9366cede1
parent 462 028b317d01d2
child 464 9a6369a63488
Add explicit dependencies for vorbis support
configure.in
     1.1 --- a/configure.in	Mon Oct 19 01:03:40 2009 +0000
     1.2 +++ b/configure.in	Mon Oct 26 11:58:29 2009 +0000
     1.3 @@ -321,7 +321,7 @@
     1.4  if test x$enable_music_ogg = xyes; then
     1.5      if test x$enable_music_ogg_tremor = xyes; then
     1.6          AC_CHECK_HEADER([tremor/ivorbisfile.h], [have_tremor_hdr=yes])
     1.7 -        AC_CHECK_LIB([vorbisidec], [ov_open_callbacks], [have_tremor_lib=yes])
     1.8 +        AC_CHECK_LIB([vorbisidec], [ov_open_callbacks], [have_tremor_lib=yes], [have_tremor_lib=no], [-lvorbis -logg -lm])
     1.9          if test x$have_tremor_hdr = xyes -a x$have_tremor_lib = xyes; then
    1.10              case "$host" in
    1.11                  *-*-darwin*)
    1.12 @@ -357,7 +357,7 @@
    1.13          fi
    1.14      else
    1.15          AC_CHECK_HEADER([vorbis/vorbisfile.h], [have_ogg_hdr=yes])
    1.16 -        AC_CHECK_LIB([vorbisfile], [ov_open_callbacks], [have_ogg_lib=yes])
    1.17 +        AC_CHECK_LIB([vorbisfile], [ov_open_callbacks], [have_ogg_lib=yes], [have_ogg_lib=no], [-lvorbis -logg -lm])
    1.18          if test x$have_ogg_hdr = xyes -a x$have_ogg_lib = xyes; then
    1.19              case "$host" in
    1.20                  *-*-darwin*)