Added --enable-newstyle to configure which will define NEWSTYLE. This is

only to be used for changes to defaults which do not affect gameplay such
as where we look for pak files by default.
This commit is contained in:
Joseph Carter 2000-01-17 02:53:39 +00:00
parent f98ce65f70
commit 0f80fb559f
2 changed files with 21 additions and 3 deletions

View file

@ -1,7 +1,10 @@
/* Version string */
/* Version strings */
#undef QF_VERSION
#undef VERSION
/* Define if you want to use QF-style defaults instead of Id-style */
#undef NEWSTYLE
/* Define if you have the XFree86 DGA extension */
#undef HAS_DGA

View file

@ -3,9 +3,15 @@ AC_PREREQ(2.13)
AC_INIT(common/crc.h)
dnl Version of this release
AC_DEFINE(QF_VERSION,"0.1.0-pre")
AC_DEFINE(QF_VERSION,"0.1-pre")
AC_DEFINE(VERSION,"2.40")
dnl Set to yes for releases
RELEASE=no
dnl At some point this might be set to yes by default
NEWSTYLE=no
AC_CANONICAL_SYSTEM
AC_LANG_C
@ -52,12 +58,21 @@ AC_CHECK_FUNCS(gethostname gethostbyname connect gettimeofday getwd mkdir \
ftime _ftime fcntl stat putenv select socket strerror strstr \
snprintf _snprintf vsnprintf _vsnprintf)
NEWSTYLE=no
AC_ARG_ENABLE(newstyle,
[ --enable-newstyle compile with defaults a bit different than those
used by Id Software (does not affect gameplay)],
NEWSTYLE=$enable_newstyle
)
if test "x$NEWSTYLE" = xyes; then
AC_DEFINE(NEWSTYLE)
fi
AC_ARG_ENABLE(release,
[ --enable-release compile release (with optimization)],
RELEASE=$enable_release
)
dnl FIXME: Remove next line when ALSA support is added
AC_ARG_ENABLE(alsa,
[ --enable-alsa enable alsa support],
)