summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure12
-rw-r--r--configure.in10
-rw-r--r--src/common/mmo.h8
3 files changed, 16 insertions, 14 deletions
diff --git a/configure b/configure
index 7142ed479..a0cf9ecad 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in d0f16b7.
+# From configure.in 284a163.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -1328,8 +1328,8 @@ Optional Features:
--enable-manager=ARG memory managers: no, builtin, memwatch, dmalloc,
gcollect, bcheck (defaults to builtin)
--enable-packetver=ARG Sets the PACKETVER define. (see src/common/mmo.h)
- --disable-packetver-re Sets or unsets the PACKETVER_RE define - see
- src/common/mmo.h (currently enabled by default)
+ --enable-packetver-re Sets or unsets the PACKETVER_RE define - see
+ src/common/mmo.h (currently disabled by default)
--enable-debug[=ARG] Compiles extra debug code. (disabled by default)
(available options: yes, no, gdb)
--enable-buildbot[=ARG] (available options: yes, no)
@@ -3485,7 +3485,7 @@ if test "${enable_packetver_re+set}" = set; then :
esac
else
- enable_packetver_re="yes"
+ enable_packetver_re="no"
fi
@@ -6232,10 +6232,10 @@ fi
#
case $enable_packetver_re in
"yes")
- # default value
- CFLAGS="$CFLAGS -DDISABLE_PACKETVER_RE"
+ CFLAGS="$CFLAGS -DENABLE_PACKETVER_RE"
;;
"no")
+ # default value
;;
esac
diff --git a/configure.in b/configure.in
index 94bad9ca4..1fc2d0e29 100644
--- a/configure.in
+++ b/configure.in
@@ -59,8 +59,8 @@ AC_ARG_ENABLE(
AC_ARG_ENABLE(
[packetver-re],
AC_HELP_STRING(
- [--disable-packetver-re],
- [Sets or unsets the PACKETVER_RE define - see src/common/mmo.h (currently enabled by default)]
+ [--enable-packetver-re],
+ [Sets or unsets the PACKETVER_RE define - see src/common/mmo.h (currently disabled by default)]
),
[
enable_packetver_re="$enableval"
@@ -70,7 +70,7 @@ AC_ARG_ENABLE(
*) AC_MSG_ERROR([[invalid argument --enable-packetver-re=$enableval... stopping]]);;
esac
],
- [enable_packetver_re="yes"]
+ [enable_packetver_re="no"]
)
@@ -929,10 +929,10 @@ fi
#
case $enable_packetver_re in
"yes")
- # default value
- CFLAGS="$CFLAGS -DDISABLE_PACKETVER_RE"
+ CFLAGS="$CFLAGS -DENABLE_PACKETVER_RE"
;;
"no")
+ # default value
;;
esac
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 670c2f7f7..573962601 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -51,9 +51,11 @@
#define PACKETVER 20131223
#endif // PACKETVER
-#ifndef DISABLE_PACKETVER_RE
- //Uncomment the following line if your client is ragexeRE instead of ragexe (required because of conflicting packets in ragexe vs ragexeRE).
- //#define PACKETVER_RE
+//Uncomment the following line if your client is ragexeRE instead of ragexe (required because of conflicting packets in ragexe vs ragexeRE).
+//#define ENABLE_PACKETVER_RE
+#ifdef ENABLE_PACKETVER_RE
+ #define PACKETVER_RE
+ #undef ENABLE_PACKETVER_RE
#endif // DISABLE_PACKETVER_RE
// Client support for experimental RagexeRE UI present in 2012-04-10 and 2012-04-18