diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 31 |
1 files changed, 28 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 11985. +# From configure.in Revision: 12578 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # @@ -1254,6 +1254,8 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-manager=ARG memory managers: no, builtin, memwatch, dmalloc, gcollect, bcheck (defaults to builtin) + --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) @@ -1269,7 +1271,9 @@ Optional Packages: of pcre installation directory (by default pcre is used if found) --with-zlib=DIR root directory path of zlib installation (defaults - to /usr/local or /usr if not found in /usr/local) + to /usr/local or /usr if not found in /usr/local). + Assumes that the header files are in DIR/include and + the library files are in DIR/lib Some influential environment variables: CC C compiler command @@ -1743,6 +1747,19 @@ fi # +# packetver +# +# Check whether --enable-packetver was given. +if test "${enable_packetver+set}" = set; then + enableval=$enable_packetver; enable_packetver="$enableval" +else + enable_packetver="" + +fi + + + +# # mapregsql # # Check whether --enable-mapregsql was given. @@ -4361,6 +4378,14 @@ esac # +# Packetver +# +if test -n "$enable_packetver" ; then + CFLAGS="$CFLAGS -DPACKETVER=$enable_packetver" +fi + + +# # Mapregsql # if test "$enable_mapregsql" = "yes" ; then @@ -4372,7 +4397,7 @@ fi # Debug # if test "$enable_debug" = "yes" ; then - CFLAGS="$CFLAGS -DDEBUG" + CFLAGS="$CFLAGS -g -DDEBUG" fi |