--- configure.orig 2010-04-16 13:18:56.000000000 +0200 +++ configure 2010-05-11 00:08:29.000000000 +0200 @@ -19608,14 +19608,6 @@ 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. @@ -19626,6 +19618,15 @@ else fi + if test "$HAVE_SPEEXDSP" = "yes" -a "$PPH" != "no"; then + HAVE_SPEEXDSP_TRUE= + HAVE_SPEEXDSP_FALSE='#' +else + HAVE_SPEEXDSP_TRUE='#' + HAVE_SPEEXDSP_FALSE= +fi + + USE_LIBSPEEX="" if test "$PPH" = "lib"; then if test "$HAVE_SPEEXDSP" = "yes"; then