X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=a57d8d72efb494d97fbcc2b1630dc635715fd950;hp=094c4062e1837ab19c47209ba1b9777af4c3b46a;hb=466c9b7ef6663bcda1aeadf324f74187816da32a;hpb=2f3ec2cfb9e465c7cb5f92e3887384d6e37d4781 diff --git a/configure.ac b/configure.ac index 094c4062..a57d8d72 100644 --- a/configure.ac +++ b/configure.ac @@ -578,6 +578,7 @@ if test "$have_ogg" = "yes"; then AC_CHECK_LIB([speex], [speex_decoder_init], [], [ have_speex="no" ]) AC_CHECK_HEADERS([speex/speex.h], [], [ have_speex="no" ]) else + AC_MSG_WARN([vorbis/speex depend on libogg, which was not detected]) have_vorbis="no" have_speex="no" fi @@ -596,8 +597,6 @@ if test "$have_vorbis" = "yes" || test "$have_speex" = "yes"; then all_errlist_objs="$all_errlist_objs ogg_afh_common" afh_errlist_objs="$afh_errlist_objs ogg_afh_common" server_errlist_objs="$server_errlist_objs ogg_afh_common" -else - AC_MSG_WARN([vorbis/speex require ogg]) fi if test "$have_vorbis" = "yes"; then all_errlist_objs="$all_errlist_objs oggdec_filter ogg_afh" @@ -753,8 +752,8 @@ AC_MSG_RESULT($have_libid3tag) if test ${have_libid3tag} = yes; then AC_DEFINE(HAVE_LIBID3TAG, 1, define to 1 you have libid3tag) - server_ldflags="$server_ldflags $id3tag_libs -lid3tag" - afh_ldflags="$afh_ldflags $id3tag_libs -lid3tag" + server_ldflags="$server_ldflags $id3tag_libs -lid3tag -lz" + afh_ldflags="$afh_ldflags $id3tag_libs -lid3tag -lz" AC_SUBST(id3tag_cppflags) else AC_MSG_WARN([no support for id3v2 tags])