--- parser3/configure 2003/04/02 11:00:17 1.66.2.5.2.4 +++ parser3/configure 2003/04/03 12:21:56 1.66.2.5.2.6 @@ -859,7 +859,6 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors - --enable-assertions to enable assertions --disable-safe-mode to enable reading and executing files belonging to group+user other then effective --disable-execs to disable any execs @@ -868,6 +867,7 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-assertions to enable assertions --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251, windows-1250 windows-1257 koi8-r; Default is windows-1251) --with-mysql-client=mysqlclientlib?withparams @@ -3558,24 +3558,21 @@ esac -# Check whether --enable-assertions or --disable-assertions was given. -if test "${enable_assertions+set}" = set; then - enableval="$enable_assertions" - ASSERTIONS_MODE=$enableval - - -fi; -if test "$ASSERTIONS_MODE" = "yes"; then - { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5 +# Check whether --with-assertions or --without-assertions was given. +if test "${with_assertions+set}" = set; then + withval="$with_assertions" + { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5 echo "$as_me: WARNING: enabling assertions" >&2;} + else cat >>confdefs.h <<\_ACEOF #define NDEBUG _ACEOF -fi + +fi; # Check whether --enable-safe-mode or --disable-safe-mode was given. if test "${enable_safe_mode+set}" = set; then