mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +00:00
add --enable-generations (.qz support). Off by default.
This commit is contained in:
parent
8b55f440df
commit
7fe5f738d7
2 changed files with 12 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
/* Define if you want to use QF-style defaults instead of Id-style */
|
||||
#undef NEWSTYLE
|
||||
|
||||
/* Define if you want .qz support */
|
||||
#undef GENERATIONS
|
||||
|
||||
/* Define this to the subdirectory name of the default game */
|
||||
#undef GAMENAME
|
||||
|
||||
|
|
|
@ -96,6 +96,12 @@ else
|
|||
AC_DEFINE(GAMENAME, "id1")
|
||||
fi
|
||||
|
||||
GENERATIONS=no
|
||||
AC_ARG_ENABLE(generations,
|
||||
[ --enable-generations enable .qz support. Requires zlib)],
|
||||
GENERATIONS=$enable_generations
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(release,
|
||||
[ --enable-release compile release (with optimization)],
|
||||
RELEASE=$enable_release
|
||||
|
@ -151,6 +157,9 @@ if test "x$HAS_ZLIB" = "xyes"; then
|
|||
if test "x$HAS_ZLIB" = "xyes"; then
|
||||
LIBS="-lz $LIBS"
|
||||
AC_DEFINE(HAS_ZLIB)
|
||||
if test "x$GENERATIONS" = "xyes"; then
|
||||
AC_DEFINE(GENERATIONS)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue