summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-01-21 12:34:46 +0100
committerHaru <haru@dotalux.com>2014-01-21 12:34:46 +0100
commit9701fe324412112c6288afbc956b299f2b9cc779 (patch)
treea8e383e877137567d50b431f564a21700526b173 /configure.in
parent284a1631b40f442e058dabd9fd31301b9e50e71b (diff)
downloadhercules-9701fe324412112c6288afbc956b299f2b9cc779.tar.gz
hercules-9701fe324412112c6288afbc956b299f2b9cc779.tar.bz2
hercules-9701fe324412112c6288afbc956b299f2b9cc779.tar.xz
hercules-9701fe324412112c6288afbc956b299f2b9cc779.zip
Fixed --disable-packetver-re / --enable-packetver-re in ./configure
- Follow-up to c50e094dff1898badd4136d9cdeb7318c803cb61 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 5 insertions, 5 deletions
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