Fix problem with --disable-oggvorbis

This commit is contained in:
Ron Pedde 2005-08-13 05:07:29 +00:00
parent 517fe14667
commit b2a45d94f8

View File

@ -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;