mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 20:02:09 +00:00
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:
parent
f98ce65f70
commit
0f80fb559f
2 changed files with 21 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
||||||
/* Version string */
|
/* Version strings */
|
||||||
#undef QF_VERSION
|
#undef QF_VERSION
|
||||||
#undef 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 */
|
/* Define if you have the XFree86 DGA extension */
|
||||||
#undef HAS_DGA
|
#undef HAS_DGA
|
||||||
|
|
||||||
|
|
19
configure.in
19
configure.in
|
@ -3,9 +3,15 @@ AC_PREREQ(2.13)
|
||||||
AC_INIT(common/crc.h)
|
AC_INIT(common/crc.h)
|
||||||
|
|
||||||
dnl Version of this release
|
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")
|
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_CANONICAL_SYSTEM
|
||||||
AC_LANG_C
|
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 \
|
ftime _ftime fcntl stat putenv select socket strerror strstr \
|
||||||
snprintf _snprintf vsnprintf _vsnprintf)
|
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,
|
AC_ARG_ENABLE(release,
|
||||||
[ --enable-release compile release (with optimization)],
|
[ --enable-release compile release (with optimization)],
|
||||||
RELEASE=$enable_release
|
RELEASE=$enable_release
|
||||||
)
|
)
|
||||||
|
|
||||||
dnl FIXME: Remove next line when ALSA support is added
|
|
||||||
AC_ARG_ENABLE(alsa,
|
AC_ARG_ENABLE(alsa,
|
||||||
[ --enable-alsa enable alsa support],
|
[ --enable-alsa enable alsa support],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue