mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 21:31:30 +00:00
Add --disable-sdl-audio & --disable-sdl-cd options. Doesn't help any with SDL 1.3. Still, might be useful for somebody.
This commit is contained in:
parent
630d4b8587
commit
12b3de8647
1 changed files with 27 additions and 3 deletions
30
configure.ac
30
configure.ac
|
@ -832,6 +832,30 @@ if test "x$enable_sdl" != xno; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl SDL-AUDIO checks
|
||||||
|
AC_ARG_ENABLE(sdl,
|
||||||
|
[ --disable-sdl-audio disable checking for SDL-CD],
|
||||||
|
)
|
||||||
|
|
||||||
|
if test "x$enable_sdl_audio" != xno; then
|
||||||
|
if test "x$HAVE_SDL" = "xyes"; then
|
||||||
|
HAVE_SDL_AUDIO=yes
|
||||||
|
AC_SUBST(HAVE_SDL_AUDIO)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl SDL-CD checks
|
||||||
|
AC_ARG_ENABLE(sdl,
|
||||||
|
[ --disable-sdl-cd disable checking for SDL-CD],
|
||||||
|
)
|
||||||
|
|
||||||
|
if test "x$enable_sdl_cd" != xno; then
|
||||||
|
if test "x$HAVE_SDL" = "xyes"; then
|
||||||
|
HAVE_SDL_CD=yes
|
||||||
|
AC_SUBST(HAVE_SDL_CD)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
dnl XMMS Checks
|
dnl XMMS Checks
|
||||||
AC_ARG_ENABLE(xmms,
|
AC_ARG_ENABLE(xmms,
|
||||||
[ --disable-xmms disable checking for XMMS],
|
[ --disable-xmms disable checking for XMMS],
|
||||||
|
@ -841,7 +865,7 @@ if test "x$mingw" != xyes -a "x$enable_xmms" != xno; then
|
||||||
AM_PATH_XMMS(0.9.5.1,
|
AM_PATH_XMMS(0.9.5.1,
|
||||||
HAVE_XMMS=yes,
|
HAVE_XMMS=yes,
|
||||||
HAVE_XMMS=no)
|
HAVE_XMMS=no)
|
||||||
AC_SUBST(HAVE_XMMS)
|
AC_SUBST(HAVE_XMMS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -1054,7 +1078,7 @@ AC_SUBST(HAVE_OSS)
|
||||||
AC_SUBST(OSS_LIBS)
|
AC_SUBST(OSS_LIBS)
|
||||||
|
|
||||||
dnl SDL digital audio
|
dnl SDL digital audio
|
||||||
if test "x$HAVE_SDL" = "xyes"; then
|
if test "x$HAVE_SDL_AUDIO" = "xyes"; then
|
||||||
SOUND_TYPES="$SOUND_TYPES SDL"
|
SOUND_TYPES="$SOUND_TYPES SDL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1178,7 +1202,7 @@ if test "x$HAVE_XMMS" = "xyes"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl SDL CD audio
|
dnl SDL CD audio
|
||||||
if test "x$HAVE_SDL" = "xyes"; then
|
if test "x$HAVE_SDL_CD" = "xyes"; then
|
||||||
CDTYPE="$CDTYPE SDL"
|
CDTYPE="$CDTYPE SDL"
|
||||||
CD_PLUGIN_TARGETS="$CD_PLUGIN_TARGETS cd_sdl.la"
|
CD_PLUGIN_TARGETS="$CD_PLUGIN_TARGETS cd_sdl.la"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue