From b2a45d94f82af9a5c7241e315e0b88ecbd9a708a Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sat, 13 Aug 2005 05:07:29 +0000 Subject: [PATCH] Fix problem with --disable-oggvorbis --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index fdf0e25c..b5f45b7f 100644 --- a/configure.in +++ b/configure.in @@ -57,8 +57,12 @@ AC_ARG_ENABLE(howl,[ --enable-howl Use howl 0.9.2 or later], esac ]) AC_ARG_ENABLE(oggvorbis,[ --enable-oggvorbis Enable Ogg/Vorbis support], - use_oggvorbis=true; - CPPFLAGS="${CPPFLAGS} -DOGGVORBIS") + [ case "${enableval}" in + yes) use_oggvorbis=true; + CPPFLAGS="${CPPFLAGS} -DOGGVORBIS";; + no) use_oggvorbis=false;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-oggvorbis);; + esac ]) AC_ARG_ENABLE(flac,[ --enable-flac Enable FLAC support], use_flac=true;