From fe409445b90fa3a73421bb16eddc734bef726655 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 7 Mar 2012 17:01:05 +0100 Subject: [PATCH 1/1] 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. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" -- 2.30.2