--- parser3/configure 2012/06/13 21:47:39 1.143 +++ parser3/configure 2012/06/14 21:11:21 1.146 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for parser 3.4.2b. +# Generated by GNU Autoconf 2.59 for parser 3.4.2 RC. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation @@ -273,8 +273,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='parser' PACKAGE_TARNAME='parser' -PACKAGE_VERSION='3.4.2b' -PACKAGE_STRING='parser 3.4.2b' +PACKAGE_VERSION='3.4.2 RC' +PACKAGE_STRING='parser 3.4.2 RC' PACKAGE_BUGREPORT='' ac_unique_file="README" @@ -797,7 +797,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures parser 3.4.2b to adapt to many kinds of systems. +\`configure' configures parser 3.4.2 RC to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -863,7 +863,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of parser 3.4.2b:";; + short | recursive ) echo "Configuration of parser 3.4.2 RC:";; esac cat <<\_ACEOF @@ -872,9 +872,10 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors + --disable-version-update to disable version update with host information --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 @@ -895,11 +896,11 @@ Optional Packages: --with-pathlink=LKEY put dynamic libraries paths to binary using linker key (-R, -rpath-link) --with-sjlj-exceptions enable simple 'throw' from dynamic library - --with-gc=D D is the directory where + --with-gc=D D is the directory where Boehm garbage collecting library is installed - --with-pcre=D D is the directory where + --with-pcre=D D is the directory where PCRE library is installed - --with-xml=D D is the directory where + --with-xml=D D is the directory where Gnome XML libraries are installed --with-glib-config=FILE FILE is glib library configuration file (search for glib*-config) @@ -910,7 +911,7 @@ Optional Packages: \"--with-sendmail=COMMAND\" forces this command to send mail. example: \"--with-sendmail=/usr/sbin/sendmail -t\" (makes parser ignore user-defined sendmail commands) - --with-apache=FILE is the full path for APXS + --with-apache=FILE FILE is the full path for APXS builds apache DSO module using apxs --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] @@ -1031,7 +1032,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -parser configure 3.4.2b +parser configure 3.4.2 RC generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1045,7 +1046,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by parser $as_me 3.4.2b, which was +It was created by parser $as_me 3.4.2 RC, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1691,7 +1692,7 @@ fi # Define the identity of the package. PACKAGE='parser' - VERSION='3.4.2b' + VERSION='3.4.2 RC' cat >>confdefs.h <<_ACEOF @@ -1882,18 +1883,6 @@ host_os=`echo $ac_cv_host | sed 's/^\([^ -PARSER_VERSION="$VERSION (compiled on $host)" -echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new -echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new -echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new -cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 -if test $? -ne 0 ; then - rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ - echo Updated $srcdir/src/include/pa_version.h -else - rm -f $srcdir/src/include/pa_version.h.new -fi - case $host_os in *cygwin* ) @@ -3720,6 +3709,32 @@ _ACEOF fi; +# Check whether --enable-version-update or --disable-version-update was given. +if test "${enable_version_update+set}" = set; then + enableval="$enable_version_update" + + VERSION_UPDATE=$enableval + + +fi; + +if test "$VERSION_UPDATE" != "no"; then + PARSER_VERSION="$VERSION (compiled on $host)" + echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new + echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new + echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new + cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 + if test $? -ne 0 ; then + mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h + echo "updated $srcdir/src/include/pa_version.h" + else + rm -f $srcdir/src/include/pa_version.h.new + fi +else + echo "skipped $srcdir/src/include/pa_version.h update" +fi + + # Check whether --enable-safe-mode or --disable-safe-mode was given. if test "${enable_safe_mode+set}" = set; then enableval="$enable_safe_mode" @@ -8022,6 +8037,36 @@ test -z "$OBJDUMP" && OBJDUMP=objdump +# Check whether --with-pic or --without-pic was given. +if test "${with_pic+set}" = set; then + withval="$with_pic" + lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + pic_mode=default +fi; + +test -z "$pic_mode" && pic_mode=no + + + + + + @@ -8089,37 +8134,6 @@ fi; -# Check whether --with-pic or --without-pic was given. -if test "${with_pic+set}" = set; then - withval="$with_pic" - lt_p=${PACKAGE-default} - case $withval in - yes|no) pic_mode=$withval ;; - *) - pic_mode=default - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for lt_pkg in $withval; do - IFS="$lt_save_ifs" - if test "X$lt_pkg" = "X$lt_p"; then - pic_mode=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - pic_mode=default -fi; - -test -z "$pic_mode" && pic_mode=default - - - - - - - # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" @@ -15829,7 +15843,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Only expand once: -#LT_INIT(disable-shared dlopen win32-dll) echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5 echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6 if test "${libltdl_cv_shlibext+set}" = set; then @@ -20410,7 +20423,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by parser $as_me 3.4.2b, which was +This file was extended by parser $as_me 3.4.2 RC, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20473,7 +20486,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -parser config.status 3.4.2b +parser config.status 3.4.2 RC configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -20587,9 +20600,9 @@ macro_revision='`$ECHO "$macro_revision" AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' -pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' @@ -21951,15 +21964,15 @@ DLLTOOL=$lt_DLLTOOL # Object dumper program. OBJDUMP=$lt_OBJDUMP +# What type of objects to build. +pic_mode=$pic_mode + # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static -# What type of objects to build. -pic_mode=$pic_mode - # Whether or not to optimize for fast installation. fast_install=$enable_fast_install