diff --git a/configure b/configure index c516554600b957899615740923cab47563a6ebb3..0f8b39f33eb51febb59444c609c82a1a87520ee5 100755 --- a/configure +++ b/configure @@ -1117,11 +1117,9 @@ EOF exit 1; fi -if test "$libvorbis" = "yes" ; then - if test "$libogg" = "no"; then - echo "libogg must be enabled to enable Vorbis." - fail="yes" - fi +if test "$libvorbis" = "yes" && test "$libogg" = "no"; then + echo "libogg must be enabled to enable libvorbis." + fail="yes" fi if test "$gpl" != "yes"; then