--- parser3/configure 2007/12/25 10:32:04 1.92.2.1 +++ parser3/configure 2008/04/10 14:33:42 1.95.2.3 @@ -862,8 +862,10 @@ Optional Features: --enable-dependency-tracking do not reject slow dependency extractors --disable-safe-mode to enable reading and executing files belonging to group+user other then effective - --disable-execs to disable any execs + --disable-execs to disable any execs (file::exec, file::cgi, unix mail:send) + --disable-stringstream to disable stringstream usage. + when disabled table.save use more memory but it's safer on freebsd 4.x Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1664,7 +1666,7 @@ fi # Define the identity of the package. PACKAGE=parser - VERSION=3.2.2 + VERSION=3.2.3 # Some tools Automake needs. @@ -3829,6 +3831,7 @@ _ACEOF fi; + # Check whether --enable-safe-mode or --disable-safe-mode was given. if test "${enable_safe_mode+set}" = set; then enableval="$enable_safe_mode" @@ -3848,6 +3851,7 @@ _ACEOF fi + # Check whether --enable-execs or --disable-execs was given. if test "${enable_execs+set}" = set; then enableval="$enable_execs" @@ -3861,6 +3865,24 @@ cat >>confdefs.h <<\_ACEOF _ACEOF fi + + +fi; + + +# Check whether --enable-stringstream or --disable-stringstream was given. +if test "${enable_stringstream+set}" = set; then + enableval="$enable_stringstream" + +if test "$enableval" = "no"; then + { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5 +echo "$as_me: WARNING: disabling stringstream usage" >&2;} + +cat >>confdefs.h <<\_ACEOF +#define NO_STRINGSTREAM +_ACEOF + +fi fi;