summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure65
1 files changed, 64 insertions, 1 deletions
diff --git a/configure b/configure
index 9e5c01851..d8b95d5c8 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac b7b45b7c3.
+# From configure.ac b60eb4b69.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -692,6 +692,7 @@ enable_option_checking
enable_manager
enable_packetver
enable_packetver_re
+enable_packetver_zero
enable_epoll
with_key1
with_key2
@@ -1343,6 +1344,8 @@ Optional Features:
--enable-packetver=ARG Sets the PACKETVER define. (see src/common/mmo.h)
--enable-packetver-re Sets or unsets the PACKETVER_RE define - see
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-epoll use epoll(4) on Linux
--enable-debug[=ARG] Compiles extra debug code. (yes by default)
(available options: yes, no, gdb)
@@ -3551,6 +3554,26 @@ fi
#
+# packetver-Zero
+#
+# Check whether --enable-packetver-zero was given.
+if test "${enable_packetver_zero+set}" = set; then :
+ enableval=$enable_packetver_zero;
+ enable_packetver_zero="$enableval"
+ case $enableval in
+ "no");;
+ "yes");;
+ *) as_fn_error $? "invalid argument --enable-packetver-zero=$enableval... stopping" "$LINENO" 5;;
+ esac
+
+else
+ enable_packetver_zero="no"
+
+fi
+
+
+
+#
# Epoll
#
# Check whether --enable-epoll was given.
@@ -8232,6 +8255,18 @@ case $enable_packetver_re in
esac
#
+# Packetver-Zero
+#
+case $enable_packetver_zero in
+ "yes")
+ CPPFLAGS="$CPPFLAGS -DENABLE_PACKETVER_ZERO"
+ ;;
+ "no")
+ # default value
+ ;;
+esac
+
+#
# Epoll
#
case $have_linux_epoll in
@@ -8372,6 +8407,34 @@ case $enable_renewal in
;;
esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-var-tracking" >&5
+$as_echo_n "checking whether $CC supports -fno-var-tracking... " >&6; }
+ OLD_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -fno-var-tracking"
+ OLD_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -fno-var-tracking"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo;
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+else
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ CFLAGS="$OLD_CFLAGS"
+ LDFLAGS="$OLD_LDFLAGS"
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
+
#
# Host specific stuff
#