mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-18 10:41:40 +00:00
669771681a
Most of the guts of configure.ac have been moved to config.d and are then brought in by m4_include. This will make maintaining configure.ac much easier. Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and on occasion, PACKAGE_STRING instead, and clean out some old files we no longer need.
45 lines
876 B
Text
45 lines
876 B
Text
dnl SDL/SDL-GL checks
|
|
AC_ARG_ENABLE(sdl,
|
|
[ --disable-sdl disable checking for SDL],
|
|
)
|
|
|
|
if test "x$enable_sdl" != xno; then
|
|
AM_PATH_SDL(1.2.0,
|
|
HAVE_SDL=yes,
|
|
HAVE_SDL=no)
|
|
AC_SUBST(HAVE_SDL)
|
|
if test "x$HAVE_SDL" = "xyes"; then
|
|
case "$host_os" in
|
|
mingw*)
|
|
case "$build_os" in
|
|
cygwin*)
|
|
SDL_LIBS=`echo $SDL_LIBS | sed -e 's/-mwindows//'`
|
|
;;
|
|
esac
|
|
;;
|
|
esac
|
|
fi
|
|
fi
|
|
|
|
dnl SDL-AUDIO checks
|
|
AC_ARG_ENABLE(sdl-audio,
|
|
[ --disable-sdl-audio disable checking for SDL-AUDIO],
|
|
)
|
|
|
|
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-cd,
|
|
[ --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
|