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.in | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 9e13e89ab..d9353f51c 100644 --- a/configure.in +++ b/configure.in @@ -188,6 +188,29 @@ AC_ARG_ENABLE( ) +# +# Renewal +# +AC_ARG_ENABLE( + [renewal], + AC_HELP_STRING( + [--disable-renewal], + [ + Disable Ragnarok Renewal support (override settings in src/config/renewal.h) + ] + ), + [ + enable_renewal="$enableval" + case $enableval in + "no");; + "yes");; + *) AC_MSG_ERROR([[invalid argument --enable-renewal=$enableval... stopping]]);; + esac + ], + [enable_renewal="yes"] +) + + # # Optionally set the max number of network conenctions # the core will be support @@ -757,6 +780,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-60-g2f50