summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-08-05 16:36:45 +0200
committerHaru <haru@dotalux.com>2013-08-08 02:21:25 +0200
commitdefac0ef9714121a872ab48c3f6c4ddd177ae509 (patch)
tree7e6a37f2284256da0bedb48eb3f5137cbf739b83 /configure
parenta702c55f219519c1d9410f823bd7a9e4c6be256b (diff)
downloadhercules-defac0ef9714121a872ab48c3f6c4ddd177ae509.tar.gz
hercules-defac0ef9714121a872ab48c3f6c4ddd177ae509.tar.bz2
hercules-defac0ef9714121a872ab48c3f6c4ddd177ae509.tar.xz
hercules-defac0ef9714121a872ab48c3f6c4ddd177ae509.zip
Enabled Pre-Renewal builds in the CI buildbot
Both Renewal and Pre-Renewal branches will now be built and tested. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure36
1 files changed, 35 insertions, 1 deletions
diff --git a/configure b/configure
index 92f1ba69a..712fe8dfc 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in 9d3dbd5.
+# From configure.in c1dca64.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@@ -695,6 +695,7 @@ enable_rdtsc
enable_profiler
enable_64bit
enable_lto
+enable_renewal
with_maxconn
with_mysql
with_MYSQL_CFLAGS
@@ -1337,6 +1338,8 @@ Optional Features:
--disable-64bit Enforce 32bit output on x86_64 systems.
--enable-lto Enables or Disables Linktime Code Optimization (LTO
is enabled by default)
+ --disable-renewal Disable Ragnarok Renewal support (override settings
+ in src/config/renewal.h)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -3561,6 +3564,26 @@ fi
#
+# Renewal
+#
+# Check whether --enable-renewal was given.
+if test "${enable_renewal+set}" = set; then :
+ enableval=$enable_renewal;
+ enable_renewal="$enableval"
+ case $enableval in
+ "no");;
+ "yes");;
+ *) as_fn_error $? "invalid argument --enable-renewal=$enableval... stopping" "$LINENO" 5;;
+ esac
+
+else
+ enable_renewal="yes"
+
+fi
+
+
+
+#
# Optionally set the max number of network conenctions
# the core will be support
#
@@ -5324,6 +5347,17 @@ case $enable_profiler in
;;
esac
+#
+# Renewal
+#
+case $enable_renewal in
+ "no")
+ CFLAGS="$CFLAGS -DDISABLE_RENEWAL"
+ ;;
+ "yes")
+ # default value
+ ;;
+esac
#
# zlib library (required)