From 8f1dd2d150b774b5cbaf7a656d635a1b20da029d Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Mon, 26 May 2008 17:42:21 +0000 Subject: * Updating configure script: - fixed memory manager using the argument of the last enable/disable option (any option) - other minor changes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12729 54d463be-8e91-2dee-dedb-b68131a5f0ec --- configure | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'configure') diff --git a/configure b/configure index b44e53d20..fcf9e42d7 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 12586 . +# From configure.in Revision: 12729 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # @@ -1257,9 +1257,9 @@ Optional Features: --enable-packetver=ARG Sets the PACKETVER define of the map-server. (see src/map/clif.h) --enable-mapregsql Makes map-wide script variables be saved to SQL - instead of TXT files in the sql map-server. (defauts - to no) - --enable-debug Compiles in debug mode. (defauts to no) + instead of TXT files in the sql map-server. + (disabled by default) + --enable-debug Compiles in debug mode. (disabled by default) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1738,8 +1738,8 @@ if test "${enable_manager+set}" = set; then "dmalloc");; "gcollect");; "bcheck");; - *) { { echo "$as_me:$LINENO: error: unknown memory manager '$enable_manager'... stopping" >&5 -echo "$as_me: error: unknown memory manager '$enable_manager'... stopping" >&2;} + *) { { echo "$as_me:$LINENO: error: unknown memory manager '$enableval'... stopping" >&5 +echo "$as_me: error: unknown memory manager '$enableval'... stopping" >&2;} { (exit 1); exit 1; }; };; esac @@ -1773,8 +1773,8 @@ if test "${enable_mapregsql+set}" = set; then case $enableval in no);; yes);; - *) { { echo "$as_me:$LINENO: error: invalid argument --enable-mapregsql=$enable_mapregsql... stopping" >&5 -echo "$as_me: error: invalid argument --enable-mapregsql=$enable_mapregsql... stopping" >&2;} + *) { { echo "$as_me:$LINENO: error: invalid argument --enable-mapregsql=$enableval... stopping" >&5 +echo "$as_me: error: invalid argument --enable-mapregsql=$enableval... stopping" >&2;} { (exit 1); exit 1; }; };; esac @@ -1795,8 +1795,8 @@ if test "${enable_debug+set}" = set; then case $enableval in no);; yes);; - *) { { echo "$as_me:$LINENO: error: invalid argument --enable-debug=$enable_mapregsql... stopping" >&5 -echo "$as_me: error: invalid argument --enable-debug=$enable_mapregsql... stopping" >&2;} + *) { { echo "$as_me:$LINENO: error: invalid argument --enable-debug=$enableval... stopping" >&5 +echo "$as_me: error: invalid argument --enable-debug=$enableval... stopping" >&2;} { (exit 1); exit 1; }; };; esac @@ -3989,7 +3989,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # # Memory manager # -case $enableval in +case $enable_manager in "no") CFLAGS="$CFLAGS -DNO_MEMMGR" ;; -- cgit v1.2.3-70-g09d2