Only add the vorbis libraries if dynamic loading isn't enabled.
authorSam Lantinga <slouken@libsdl.org>
Sat, 07 Nov 2009 05:46:47 +0000
changeset 468391babf75293
parent 467 4b52401dda92
child 469 5b6aac99ebf1
Only add the vorbis libraries if dynamic loading isn't enabled.
configure.in
     1.1 --- a/configure.in	Fri Nov 06 03:37:57 2009 +0000
     1.2 +++ b/configure.in	Sat Nov 07 05:46:47 2009 +0000
     1.3 @@ -336,7 +336,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], [have_tremor_lib=no], [-lvorbis -logg $LIBM])
     1.8 +        AC_CHECK_LIB([vorbisidec], [ov_open_callbacks], [have_tremor_lib=yes])
     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 @@ -372,7 +372,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], [have_ogg_lib=no], [-lvorbis -logg $LIBM])
    1.17 +        AC_CHECK_LIB([vorbisfile], [ov_open_callbacks], [have_ogg_lib=yes])
    1.18          if test x$have_ogg_hdr = xyes -a x$have_ogg_lib = xyes; then
    1.19              case "$host" in
    1.20                  *-*-darwin*)