diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-26 17:42:21 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-26 17:42:21 +0000 |
commit | 8f1dd2d150b774b5cbaf7a656d635a1b20da029d (patch) | |
tree | 2527439ec34499646067ba170f7994186e4c6e78 /configure.in | |
parent | ba9d200a15f3f9ccdc9ba42b5555c6ac9374bf9b (diff) | |
download | hercules-8f1dd2d150b774b5cbaf7a656d635a1b20da029d.tar.gz hercules-8f1dd2d150b774b5cbaf7a656d635a1b20da029d.tar.bz2 hercules-8f1dd2d150b774b5cbaf7a656d635a1b20da029d.tar.xz hercules-8f1dd2d150b774b5cbaf7a656d635a1b20da029d.zip |
* 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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.in b/configure.in index 6bc3d3918..5134ee3cc 100644 --- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ AC_ARG_ENABLE( "dmalloc");; "gcollect");; "bcheck");; - *) AC_MSG_ERROR([[unknown memory manager '$enable_manager'... stopping]]);; + *) AC_MSG_ERROR([[unknown memory manager '$enableval'... stopping]]);; esac ], [enable_manager="builtin"] @@ -57,14 +57,14 @@ AC_ARG_ENABLE( [mapregsql], AC_HELP_STRING( [--enable-mapregsql], - [Makes map-wide script variables be saved to SQL instead of TXT files in the sql map-server. (defauts to no)] + [Makes map-wide script variables be saved to SQL instead of TXT files in the sql map-server. (disabled by default)] ), [ enable_mapregsql="$enableval" case $enableval in no);; yes);; - *) AC_MSG_ERROR([[invalid argument --enable-mapregsql=$enable_mapregsql... stopping]]);; + *) AC_MSG_ERROR([[invalid argument --enable-mapregsql=$enableval... stopping]]);; esac ], [enable_mapregsql="no"] @@ -78,14 +78,14 @@ AC_ARG_ENABLE( [debug], AC_HELP_STRING( [--enable-debug], - [Compiles in debug mode. (defauts to no)] + [Compiles in debug mode. (disabled by default)] ), [ enable_debug="$enableval" case $enableval in no);; yes);; - *) AC_MSG_ERROR([[invalid argument --enable-debug=$enable_mapregsql... stopping]]);; + *) AC_MSG_ERROR([[invalid argument --enable-debug=$enableval... stopping]]);; esac ], [enable_debug="no"] @@ -294,7 +294,7 @@ AC_COMPILE_IFELSE( # # Memory manager # -case $enableval in +case $enable_manager in "no") CFLAGS="$CFLAGS -DNO_MEMMGR" ;; |