mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Add a --disable-vorbis hack, for people with broken ogg vorbis installs (bleh, just fix it you silly people *grmbl*)
This commit is contained in:
parent
882d0f25ce
commit
2e3d4a603f
1 changed files with 12 additions and 6 deletions
18
configure.ac
18
configure.ac
|
@ -410,13 +410,19 @@ case "$target_os" in
|
|||
;;
|
||||
esac
|
||||
|
||||
AC_ARG_ENABLE(vorbis,
|
||||
[ --disable-vorbis disable ogg vorbis support],
|
||||
)
|
||||
|
||||
HAVE_VORBIS=no
|
||||
AM_PATH_OGG(HAVE_OGG=yes, HAVE_OGG=no)
|
||||
if test $HAVE_OGG = yes; then
|
||||
AM_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VORBIS=no)
|
||||
if test $HAVE_VORBIS = yes; then
|
||||
AC_DEFINE(HAVE_VORBIS, 1, [define this if you have ogg/vorbis libs])
|
||||
fi
|
||||
if test "x$enable_vorbis" != "xno"; then
|
||||
AM_PATH_OGG(HAVE_OGG=yes, HAVE_OGG=no)
|
||||
if test $HAVE_OGG = yes; then
|
||||
AM_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VORBIS=no)
|
||||
if test $HAVE_VORBIS = yes; then
|
||||
AC_DEFINE(HAVE_VORBIS, 1, [define this if you have ogg/vorbis libs])
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(zlib,
|
||||
|
|
Loading…
Reference in a new issue