From a02514bc54c044f141520118ffd7e0b6ff5ecae2 Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Thu, 19 Jan 2012 22:05:57 +0000 Subject: * Added `--enable-buildbot` to configure.in (follow-up to r15128). * Fixed TXT-removal branch configure and Makefile errors and removed TXT-only leftovers. * SQL libs are now required to configure/make TXT-removal branch. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15499 54d463be-8e91-2dee-dedb-b68131a5f0ec --- configure.in | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 3aff089db..8872e7c8c 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT(eAthena) +AC_INIT(rAthena) AC_REVISION($Revision$) AC_PREREQ([2.59]) AC_CONFIG_SRCDIR([src/common/cbasetypes.h]) @@ -75,6 +75,26 @@ AC_ARG_ENABLE( [enable_debug="no"] ) +# +# Buildbot +# +AC_ARG_ENABLE( + [buildbot], + AC_HELP_STRING( + [--enable-buildbot@<:@=ARG@:>@], + [(available options: yes, no)] + ), + [ + enable_buildbot="$enableval" + case $enableval in + "no");; + "yes");; + *) AC_MSG_ERROR([[invalid argument --enable-buildbot=$enableval... stopping]]);; + esac + ], + [enable_buildbot="no"] +) + # # RDTSC as Tick Source # @@ -511,6 +531,17 @@ case $enable_debug in ;; esac +# +# Buildbot +# +case $enable_buildbot in + "no") + # default value + ;; + "yes") + CFLAGS="$CFLAGS -DBUILDBOT" + ;; +esac # # RDTSC -- cgit v1.2.3-60-g2f50