From defac0ef9714121a872ab48c3f6c4ddd177ae509 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 5 Aug 2013 16:36:45 +0200 Subject: Enabled Pre-Renewal builds in the CI buildbot Both Renewal and Pre-Renewal branches will now be built and tested. Signed-off-by: Haru --- configure | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'configure') 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] @@ -3560,6 +3563,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) -- cgit v1.2.3-70-g09d2