summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-10 18:34:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-10 18:34:56 +0300
commitd0af90396388c699e1be4c20bb806e6f4423062d (patch)
tree67c8de1792c1b24e20da5ce713121ce535597167
parent5a3f06b2a643fe1447db9bdae5b8a60e2a597a4c (diff)
downloadhercules-d0af90396388c699e1be4c20bb806e6f4423062d.tar.gz
hercules-d0af90396388c699e1be4c20bb806e6f4423062d.tar.bz2
hercules-d0af90396388c699e1be4c20bb806e6f4423062d.tar.xz
hercules-d0af90396388c699e1be4c20bb806e6f4423062d.zip
Enable debug information in configure by default.
-rwxr-xr-xconfigure20
-rw-r--r--configure.in4
2 files changed, 18 insertions, 6 deletions
diff --git a/configure b/configure
index d9a15ac7d..f9baddbbb 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in 60dc92a.
+# From configure.in 5a3f06b.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -669,6 +669,7 @@ infodir
docdir
oldincludedir
includedir
+runstatedir
localstatedir
sharedstatedir
sysconfdir
@@ -760,6 +761,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE}'
@@ -1012,6 +1014,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1149,7 +1160,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
+ libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1302,6 +1313,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -1334,7 +1346,7 @@ 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-debug[=ARG] Compiles extra debug code. (disabled by default)
+ --enable-debug[=ARG] Compiles extra debug code. (yes by default)
(available options: yes, no, gdb)
--enable-buildbot[=ARG] (available options: yes, no)
--enable-rdtsc Uses rdtsc as timing source (disabled by default)
@@ -3566,7 +3578,7 @@ if test "${enable_debug+set}" = set; then :
esac
else
- enable_debug="no"
+ enable_debug="yes"
fi
diff --git a/configure.in b/configure.in
index 9a8a437a4..bfcc27322 100644
--- a/configure.in
+++ b/configure.in
@@ -158,7 +158,7 @@ AC_ARG_ENABLE(
AC_HELP_STRING(
[--enable-debug@<:@=ARG@:>@],
[
- Compiles extra debug code. (disabled by default)
+ Compiles extra debug code. (yes by default)
(available options: yes, no, gdb)
]
),
@@ -171,7 +171,7 @@ AC_ARG_ENABLE(
*) AC_MSG_ERROR([[invalid argument --enable-debug=$enableval... stopping]]);;
esac
],
- [enable_debug="no"]
+ [enable_debug="yes"]
)
#