From: Andre Noll Date: Wed, 7 Mar 2012 16:01:05 +0000 (+0100) Subject: configure: Fix warning message. X-Git-Tag: v0.4.10~2^2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=fe409445b90fa3a73421bb16eddc734bef726655;p=paraslash.git configure: Fix warning message. If libogg is installed but speex is not, configure prints "vorbis/speex require ogg", which is a rather bad explanation of the problem at hand. This simple patch should fix it. --- diff --git a/configure.ac b/configure.ac index 224c7be0..92658235 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"