mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-25 22:01:33 +00:00
df47dd31f1
While it further breaks RPM building, all AC_SUBST(HAVE_*) have been nuked. When AM_SUBST_NOTMAKE, tell automake to not generate var = @var@ in Makefile.in for qf specific vars (QF_SUBST is a wrapper for AC_SUBST that also calls AM_SUBST_NOTMAKE).
42 lines
805 B
Text
42 lines
805 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)
|
|
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
|
|
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
|
|
fi
|
|
fi
|