summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure36
1 files changed, 35 insertions, 1 deletions
diff --git a/configure b/configure
index b8f002e32..a0113e7f3 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac dfd6225e6.
+# From configure.ac 7f7b8060c.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -693,6 +693,7 @@ enable_manager
enable_packetver
enable_packetver_re
enable_packetver_zero
+enable_packetver_sak
enable_epoll
with_key1
with_key2
@@ -1346,6 +1347,8 @@ Optional Features:
src/common/mmo.h (currently disabled by default)
--enable-packetver-zero Sets or unsets the PACKETVER_ZERO define - see
src/common/mmo.h (currently disabled by default)
+ --enable-packetver-sak Sets or unsets the PACKETVER_SAK define - see
+ src/common/mmo.h (currently disabled by default)
--enable-epoll use epoll(4) on Linux
--enable-debug[=ARG] Compiles extra debug code. (yes by default)
(available options: yes, no, gdb)
@@ -3572,6 +3575,25 @@ else
fi
+#
+# packetver-Sak
+#
+# Check whether --enable-packetver-sak was given.
+if test "${enable_packetver_sak+set}" = set; then :
+ enableval=$enable_packetver_sak;
+ enable_packetver_sak="$enableval"
+ case $enableval in
+ "no");;
+ "yes");;
+ *) as_fn_error $? "invalid argument --enable-packetver-sak=$enableval... stopping" "$LINENO" 5;;
+ esac
+
+else
+ enable_packetver_sak="no"
+
+fi
+
+
#
# Epoll
@@ -8267,6 +8289,18 @@ case $enable_packetver_zero in
esac
#
+# Packetver-Sak
+#
+case $enable_packetver_sak in
+ "yes")
+ CPPFLAGS="$CPPFLAGS -DENABLE_PACKETVER_SAK"
+ ;;
+ "no")
+ # default value
+ ;;
+esac
+
+#
# Epoll
#
case $have_linux_epoll in