Add binkd compression switches
This commit is contained in:
parent
61a5e8d4d1
commit
fa2b9a830c
@ -14,8 +14,8 @@
|
|||||||
/* Compile experimental code (may not be present) */
|
/* Compile experimental code (may not be present) */
|
||||||
#undef USE_EXPERIMENT
|
#undef USE_EXPERIMENT
|
||||||
|
|
||||||
/* Compile new binkp driver */
|
/* Compile experimental binkd compression */
|
||||||
#undef USE_NEWBINKP
|
#undef USE_BINKDZLIB
|
||||||
|
|
||||||
/* Compile full newsgate */
|
/* Compile full newsgate */
|
||||||
#undef USE_NEWSGATE
|
#undef USE_NEWSGATE
|
||||||
|
16
configure
vendored
16
configure
vendored
@ -842,6 +842,7 @@ Optional Features:
|
|||||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||||
--enable-experiment Compile experimental code
|
--enable-experiment Compile experimental code
|
||||||
|
--enable-binkdzlib Compile binkd compression
|
||||||
--enable-debugging Compile for debugging
|
--enable-debugging Compile for debugging
|
||||||
--enable-optimize Enable CPU optimize
|
--enable-optimize Enable CPU optimize
|
||||||
--enable-newsgate Compile with newsgate
|
--enable-newsgate Compile with newsgate
|
||||||
@ -3002,6 +3003,19 @@ if test "$experiment" = "yes"; then
|
|||||||
#define USE_EXPERIMENT 1
|
#define USE_EXPERIMENT 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
# Check whether --enable-binkdzlib or --disable-binkdzlib was given.
|
||||||
|
if test "${enable_binkdzlib+set}" = set; then
|
||||||
|
enableval="$enable_binkdzlib"
|
||||||
|
binkdzlib=$enableval
|
||||||
|
else
|
||||||
|
binkdzlib=no
|
||||||
|
fi;
|
||||||
|
if test "$binkdzlib" = "yes"; then
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define USE_BINKDZLIB 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check whether --enable-debugging or --disable-debugging was given.
|
# Check whether --enable-debugging or --disable-debugging was given.
|
||||||
@ -10318,6 +10332,7 @@ echo "$as_me:$LINENO: result:
|
|||||||
|
|
||||||
Version : ..................... ${VERSION}
|
Version : ..................... ${VERSION}
|
||||||
Hydra/Binkp zlib compression : ${ZLIBSUP}
|
Hydra/Binkp zlib compression : ${ZLIBSUP}
|
||||||
|
Binkd style compression : ..... ${BINKDZLIB}
|
||||||
Full newsgate : ............... ${NEWSGATE}
|
Full newsgate : ............... ${NEWSGATE}
|
||||||
Delete key : .................. ${DEL}
|
Delete key : .................. ${DEL}
|
||||||
|
|
||||||
@ -10329,6 +10344,7 @@ echo "${ECHO_T}
|
|||||||
|
|
||||||
Version : ..................... ${VERSION}
|
Version : ..................... ${VERSION}
|
||||||
Hydra/Binkp zlib compression : ${ZLIBSUP}
|
Hydra/Binkp zlib compression : ${ZLIBSUP}
|
||||||
|
Binkd style compression : ..... ${BINKDZLIB}
|
||||||
Full newsgate : ............... ${NEWSGATE}
|
Full newsgate : ............... ${NEWSGATE}
|
||||||
Delete key : .................. ${DEL}
|
Delete key : .................. ${DEL}
|
||||||
|
|
||||||
|
@ -71,6 +71,10 @@ AC_ARG_ENABLE(experiment, [ --enable-experiment Compile experimental code]
|
|||||||
if test "$experiment" = "yes"; then
|
if test "$experiment" = "yes"; then
|
||||||
AC_DEFINE(USE_EXPERIMENT)
|
AC_DEFINE(USE_EXPERIMENT)
|
||||||
fi
|
fi
|
||||||
|
AC_ARG_ENABLE(binkdzlib, [ --enable-binkdzlib Compile binkd compression], [ binkdzlib=$enableval ], [ binkdzlib=no ])
|
||||||
|
if test "$binkdzlib" = "yes"; then
|
||||||
|
AC_DEFINE(USE_BINKDZLIB)
|
||||||
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
|
AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
|
||||||
if test "$debugging" = "yes"; then
|
if test "$debugging" = "yes"; then
|
||||||
@ -393,6 +397,7 @@ AC_MSG_RESULT([
|
|||||||
|
|
||||||
Version : ..................... ${VERSION}
|
Version : ..................... ${VERSION}
|
||||||
Hydra/Binkp zlib compression : ${ZLIBSUP}
|
Hydra/Binkp zlib compression : ${ZLIBSUP}
|
||||||
|
Binkd style compression : ..... ${BINKDZLIB}
|
||||||
Full newsgate : ............... ${NEWSGATE}
|
Full newsgate : ............... ${NEWSGATE}
|
||||||
Delete key : .................. ${DEL}
|
Delete key : .................. ${DEL}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user