--- configure.orig 2016-03-31 13:14:07 UTC +++ configure @@ -12402,21 +12402,22 @@ else $as_echo "yes" >&6; } HAVE_SPEEXDSP="yes" fi - if test "$HAVE_SPEEXDSP" = "yes"; then - HAVE_SPEEXDSP_TRUE= - HAVE_SPEEXDSP_FALSE='#' -else - HAVE_SPEEXDSP_TRUE='#' - HAVE_SPEEXDSP_FALSE= -fi - # Check whether --with-speex was given. if test "${with_speex+set}" = set; then : withval=$with_speex; PPH=$withval else PPH="lib" +fi + + + if test "$HAVE_SPEEXDSP" = "yes" -a "$PPH" != "no"; then + HAVE_SPEEXDSP_TRUE= + HAVE_SPEEXDSP_FALSE='#' +else + HAVE_SPEEXDSP_TRUE='#' + HAVE_SPEEXDSP_FALSE= fi