|
|
| version 1.34, 2002/06/28 12:23:33 | version 1.60, 2002/12/26 12:04:08 |
|---|---|
| Line 12 ac_help= | Line 12 ac_help= |
| ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
| # Any additions from configure.in: | # Any additions from configure.in: |
| ac_help="$ac_help | ac_help="$ac_help |
| --disable-link-libstdcpp to disable libstdc++ linkage, | --disable-safe-mode to enable reading and executing |
| if you belive you do not need one" | files belonging to group+user other then effective" |
| ac_help="$ac_help | |
| --disable-string-origins to switch off string origin tracking" | |
| ac_help="$ac_help | ac_help="$ac_help |
| --disable-execs to disable any execs | --disable-execs to disable any execs |
| (file::exec, file::cgi, unix mail:send)" | (file::exec, file::cgi, unix mail:send)" |
| ac_help="$ac_help | ac_help="$ac_help |
| --disable-foreign-group-files to disable read and executing | --disable-string-origins to switch off string origin tracking" |
| files belonging to group other then effective" | |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-charsets=CHARSET[,CHARSET,...] Enables charsets in root config (windows-1251, | --with-charsets=CHARSET[,CHARSET,...] Enables charsets in root config (windows-1251, |
| windows-1250 windows-1257 koi8-r; Default is windows-1251)" | windows-1250 windows-1257 koi8-r; Default is windows-1251)" |
| Line 38 ac_help="$ac_help | Line 35 ac_help="$ac_help |
| --with-pathlink=LKEY put dynamic libraries paths to binary | --with-pathlink=LKEY put dynamic libraries paths to binary |
| using linker key (-R, -rpath-link)" | using linker key (-R, -rpath-link)" |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-link-stdcpp=PATH to directory with libstdc++ | |
| --without-link-stdcpp to disable libstdc++ linkage, | |
| if you belive you do not need one" | |
| ac_help="$ac_help | |
| --with-sjlj-exceptions enable simple 'throw' from dynamic library" | |
| ac_help="$ac_help | |
| --with-glib-config=FILE FILE is glib library | --with-glib-config=FILE FILE is glib library |
| configuration file (search for glib*-config)" | configuration file (search for glib*-config)" |
| ac_help="$ac_help | ac_help="$ac_help |
| Line 601 ac_configure=$ac_aux_dir/configure # Thi | Line 604 ac_configure=$ac_aux_dir/configure # Thi |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| echo "configure:605: checking for a BSD compatible install" >&5 | echo "configure:608: checking for a BSD compatible install" >&5 |
| if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 654 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 657 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
| echo "configure:658: checking whether build environment is sane" >&5 | echo "configure:661: checking whether build environment is sane" >&5 |
| # Just in case | # Just in case |
| sleep 1 | sleep 1 |
| echo timestamp > conftestfile | echo timestamp > conftestfile |
| Line 711 test "$program_suffix" != NONE && | Line 714 test "$program_suffix" != NONE && |
| test "$program_transform_name" = "" && program_transform_name="s,x,x," | test "$program_transform_name" = "" && program_transform_name="s,x,x," |
| echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| echo "configure:715: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:718: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 740 fi | Line 743 fi |
| PACKAGE=parser | PACKAGE=parser |
| VERSION=3.0.0004 | VERSION=3.0.HEAD |
| if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
| { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
| Line 750 fi | Line 753 fi |
| missing_dir=`cd $ac_aux_dir && pwd` | missing_dir=`cd $ac_aux_dir && pwd` |
| echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
| echo "configure:754: checking for working aclocal" >&5 | echo "configure:757: checking for working aclocal" >&5 |
| # Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
| Line 763 else | Line 766 else |
| fi | fi |
| echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
| echo "configure:767: checking for working autoconf" >&5 | echo "configure:770: checking for working autoconf" >&5 |
| # Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
| Line 776 else | Line 779 else |
| fi | fi |
| echo $ac_n "checking for working automake""... $ac_c" 1>&6 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
| echo "configure:780: checking for working automake" >&5 | echo "configure:783: checking for working automake" >&5 |
| # Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
| Line 789 else | Line 792 else |
| fi | fi |
| echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
| echo "configure:793: checking for working autoheader" >&5 | echo "configure:796: checking for working autoheader" >&5 |
| # Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
| Line 802 else | Line 805 else |
| fi | fi |
| echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
| echo "configure:806: checking for working makeinfo" >&5 | echo "configure:809: checking for working makeinfo" >&5 |
| # Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
| # an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
| # Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
| Line 831 else | Line 834 else |
| rm -f $srcdir/src/include/pa_version.h.new | rm -f $srcdir/src/include/pa_version.h.new |
| fi | fi |
| # Make sure we can run config.sub. | |
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | |
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |
| fi | |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | |
| echo "configure:845: checking host system type" >&5 | |
| host_alias=$host | |
| case "$host_alias" in | |
| NONE) | |
| case $nonopt in | |
| NONE) | |
| if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : | |
| else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } | |
| fi ;; | |
| *) host_alias=$nonopt ;; | |
| esac ;; | |
| esac | |
| host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | |
| host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| echo "$ac_t""$host" 1>&6 | |
| # Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), |
| # so one script is as good as another. But avoid the broken or | # so one script is as good as another. But avoid the broken or |
| # incompatible versions: | # incompatible versions: |
| Line 843 fi | Line 875 fi |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| echo "configure:847: checking for a BSD compatible install" >&5 | echo "configure:879: checking for a BSD compatible install" >&5 |
| if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 895 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 927 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
| echo "configure:932: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | |
| if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftestmake <<\EOF | |
| all: | |
| @echo 'ac_maketemp="${MAKE}"' | |
| EOF | |
| # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
| eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
| if test -n "$ac_maketemp"; then | |
| eval ac_cv_prog_make_${ac_make}_set=yes | |
| else | |
| eval ac_cv_prog_make_${ac_make}_set=no | |
| fi | |
| rm -f conftestmake | |
| fi | |
| if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| SET_MAKE= | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| SET_MAKE="MAKE=${MAKE-make}" | |
| fi | |
| # Extract the first word of "ranlib", so it can be a program name with args. | |
| set dummy ranlib; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:961: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$RANLIB"; then | |
| ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_RANLIB="ranlib" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
| fi | |
| fi | |
| RANLIB="$ac_cv_prog_RANLIB" | |
| if test -n "$RANLIB"; then | |
| echo "$ac_t""$RANLIB" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| for ac_prog in mawk gawk nawk awk | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:993: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AWK"; then | |
| ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AWK="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| AWK="$ac_cv_prog_AWK" | |
| if test -n "$AWK"; then | |
| echo "$ac_t""$AWK" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$AWK" && break | |
| done | |
| for ac_prog in 'bison -y' byacc | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1028: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$YACC"; then | |
| ac_cv_prog_YACC="$YACC" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_YACC="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| YACC="$ac_cv_prog_YACC" | |
| if test -n "$YACC"; then | |
| echo "$ac_t""$YACC" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$YACC" && break | |
| done | |
| test -n "$YACC" || YACC="yacc" | |
| if test "$YACC" != "bison -y"; then | |
| echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 | |
| else | |
| echo $ac_n "checking bison version""... $ac_c" 1>&6 | |
| echo "configure:1062: checking bison version" >&5 | |
| oldIFS=$IFS; IFS=. | |
| set `bison -V | sed -e 's/^GNU Bison version //'` | |
| IFS=$oldIFS | |
| if test "$1" = "1" -a "$2" -lt "25"; then | |
| echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2 | |
| fi | |
| echo "$ac_t""$1.$2 (ok)" 1>&6 | |
| fi | |
| # Extract the first word of "gcc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
| set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:902: checking for $ac_word" >&5 | echo "configure:1075: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 928 if test -z "$CC"; then | Line 1101 if test -z "$CC"; then |
| # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
| set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:932: checking for $ac_word" >&5 | echo "configure:1105: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 979 fi | Line 1152 fi |
| # Extract the first word of "cl", so it can be a program name with args. | # Extract the first word of "cl", so it can be a program name with args. |
| set dummy cl; ac_word=$2 | set dummy cl; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:983: checking for $ac_word" >&5 | echo "configure:1156: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1011 fi | Line 1184 fi |
| fi | fi |
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| echo "configure:1015: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:1188: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| ac_ext=c | ac_ext=c |
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| Line 1022 cross_compiling=$ac_cv_prog_cc_cross | Line 1195 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1026 "configure" | #line 1199 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| ac_cv_prog_cc_works=yes | ac_cv_prog_cc_works=yes |
| # If we can't run a trivial program, we are probably using a cross compiler. | # If we can't run a trivial program, we are probably using a cross compiler. |
| if (./conftest; exit) 2>/dev/null; then | if (./conftest; exit) 2>/dev/null; then |
| Line 1053 if test $ac_cv_prog_cc_works = no; then | Line 1226 if test $ac_cv_prog_cc_works = no; then |
| { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| fi | fi |
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| echo "configure:1057: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1230: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| cross_compiling=$ac_cv_prog_cc_cross | cross_compiling=$ac_cv_prog_cc_cross |
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| echo "configure:1062: checking whether we are using GNU C" >&5 | echo "configure:1235: checking whether we are using GNU C" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1067 else | Line 1240 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| ac_cv_prog_gcc=yes | ac_cv_prog_gcc=yes |
| else | else |
| ac_cv_prog_gcc=no | ac_cv_prog_gcc=no |
| Line 1086 ac_test_CFLAGS="${CFLAGS+set}" | Line 1259 ac_test_CFLAGS="${CFLAGS+set}" |
| ac_save_CFLAGS="$CFLAGS" | ac_save_CFLAGS="$CFLAGS" |
| CFLAGS= | CFLAGS= |
| echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| echo "configure:1090: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1263: checking whether ${CC-cc} accepts -g" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG | Line 1297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG |
| ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| cross_compiling=$ac_cv_prog_cc_cross | cross_compiling=$ac_cv_prog_cc_cross |
| echo $ac_n "checking for inline""... $ac_c" 1>&6 | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| echo "configure:1128: checking for inline" >&5 | echo "configure:1301: checking for inline" >&5 |
| if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| ac_cv_c_inline=no | ac_cv_c_inline=no |
| for ac_kw in inline __inline__ __inline; do | for ac_kw in inline __inline__ __inline; do |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1135 "configure" | #line 1308 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| } $ac_kw foo() { | } $ac_kw foo() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| ac_cv_c_inline=$ac_kw; break | ac_cv_c_inline=$ac_kw; break |
| else | else |
| Line 1168 do | Line 1341 do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:1172: checking for $ac_word" >&5 | echo "configure:1345: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1200 test -n "$CXX" || CXX="gcc" | Line 1373 test -n "$CXX" || CXX="gcc" |
| echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| echo "configure:1204: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | echo "configure:1377: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
| ac_ext=C | ac_ext=C |
| # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| Line 1211 cross_compiling=$ac_cv_prog_cxx_cross | Line 1384 cross_compiling=$ac_cv_prog_cxx_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1215 "configure" | #line 1388 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| ac_cv_prog_cxx_works=yes | ac_cv_prog_cxx_works=yes |
| # If we can't run a trivial program, we are probably using a cross compiler. | # If we can't run a trivial program, we are probably using a cross compiler. |
| if (./conftest; exit) 2>/dev/null; then | if (./conftest; exit) 2>/dev/null; then |
| Line 1242 if test $ac_cv_prog_cxx_works = no; then | Line 1415 if test $ac_cv_prog_cxx_works = no; then |
| { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
| fi | fi |
| echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| echo "configure:1246: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1419: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
| cross_compiling=$ac_cv_prog_cxx_cross | cross_compiling=$ac_cv_prog_cxx_cross |
| echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
| echo "configure:1251: checking whether we are using GNU C++" >&5 | echo "configure:1424: checking whether we are using GNU C++" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1256 else | Line 1429 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| ac_cv_prog_gxx=yes | ac_cv_prog_gxx=yes |
| else | else |
| ac_cv_prog_gxx=no | ac_cv_prog_gxx=no |
| Line 1275 ac_test_CXXFLAGS="${CXXFLAGS+set}" | Line 1448 ac_test_CXXFLAGS="${CXXFLAGS+set}" |
| ac_save_CXXFLAGS="$CXXFLAGS" | ac_save_CXXFLAGS="$CXXFLAGS" |
| CXXFLAGS= | CXXFLAGS= |
| echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
| echo "configure:1279: checking whether ${CXX-g++} accepts -g" >&5 | echo "configure:1452: checking whether ${CXX-g++} accepts -g" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1315 cross_compiling=$ac_cv_prog_cxx_cross | Line 1488 cross_compiling=$ac_cv_prog_cxx_cross |
| # Check whether --enable-safe-mode or --disable-safe-mode was given. | |
| # Check whether --enable-link-libstdcpp or --disable-link-libstdcpp was given. | if test "${enable_safe_mode+set}" = set; then |
| if test "${enable_link_libstdcpp+set}" = set; then | enableval="$enable_safe_mode" |
| enableval="$enable_link_libstdcpp" | |
| LINK_LIBSTDCPP_FLAG=$enableval | SAFE_MODE=$enableval |
| if test "$enableval" = "no"; then | |
| echo "configure: warning: disabling libstdc++ linkage" 1>&2 | |
| fi | |
| fi | fi |
| if test "$SAFE_MODE" = "no"; then | |
| echo "configure: warning: enabling reading of files belonging to group+user other then effective" 1>&2 | |
| if test "$LINK_LIBSTDCPP_FLAG" = "no"; then | |
| DO_NOT_LINK_LIBSTDCPP_TRUE= | |
| DO_NOT_LINK_LIBSTDCPP_FALSE='#' | |
| else | else |
| DO_NOT_LINK_LIBSTDCPP_TRUE='#' | |
| DO_NOT_LINK_LIBSTDCPP_FALSE= | |
| fi | |
| # Check whether --enable-string-origins or --disable-string-origins was given. | |
| if test "${enable_string_origins+set}" = set; then | |
| enableval="$enable_string_origins" | |
| if test "$enableval" = "no"; then | |
| echo "configure: warning: disabling string origin tracking" 1>&2 | |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define NO_STRING_ORIGIN | #define PA_SAFE_MODE |
| EOF | EOF |
| fi | fi |
| fi | |
| # Check whether --enable-execs or --disable-execs was given. | # Check whether --enable-execs or --disable-execs was given. |
| if test "${enable_execs+set}" = set; then | if test "${enable_execs+set}" = set; then |
| enableval="$enable_execs" | enableval="$enable_execs" |
| Line 1370 fi | Line 1522 fi |
| fi | fi |
| # Check whether --enable-foreign-group-files or --disable-foreign-group-files was given. | # Check whether --enable-string-origins or --disable-string-origins was given. |
| if test "${enable_foreign_group_files+set}" = set; then | if test "${enable_string_origins+set}" = set; then |
| enableval="$enable_foreign_group_files" | enableval="$enable_string_origins" |
| if test "$enableval" = "no"; then | if test "$enableval" = "no"; then |
| echo "configure: warning: disabling reading of files belonging to group other then effective" 1>&2 | echo "configure: warning: disabling string origin tracking" 1>&2 |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define NO_FOREIGN_GROUP_FILES | #define NO_STRING_ORIGIN |
| EOF | EOF |
| fi | fi |
| Line 1385 fi | Line 1537 fi |
| fi | fi |
| srccharsetsdir=$srcdir/etc/parser3.charsets | srccharsetsdir=$srcdir/etc/parser3.charsets |
| CHARSETS_REQUESTED="windows-1251" | CHARSETS_REQUESTED="windows-1251" |
| # Check whether --with-charsets or --without-charsets was given. | # Check whether --with-charsets or --without-charsets was given. |
| Line 1407 done | Line 1561 done |
| commentcharset_windows1251='#' | commentcharset_windows1251='#' |
| for c in $CHARSETS_REQUESTED; do | for c in $CHARSETS_REQUESTED; do |
| if test "windows-1251" = "$c"; then | if test "windows-1251" = "$c"; then |
| echo "configure: warning: Enabling charset windows-1251" 1>&2 | echo "configure: warning: enabling charset windows-1251" 1>&2 |
| commentcharset_windows1251= | commentcharset_windows1251= |
| fi | fi |
| done | done |
| Line 1417 done | Line 1571 done |
| commentcharset_windows1250='#' | commentcharset_windows1250='#' |
| for c in $CHARSETS_REQUESTED; do | for c in $CHARSETS_REQUESTED; do |
| if test "windows-1250" = "$c"; then | if test "windows-1250" = "$c"; then |
| echo "configure: warning: Enabling charset windows-1250" 1>&2 | echo "configure: warning: enabling charset windows-1250" 1>&2 |
| commentcharset_windows1250= | commentcharset_windows1250= |
| fi | fi |
| done | done |
| Line 1427 done | Line 1581 done |
| commentcharset_windows1257='#' | commentcharset_windows1257='#' |
| for c in $CHARSETS_REQUESTED; do | for c in $CHARSETS_REQUESTED; do |
| if test "windows-1257" = "$c"; then | if test "windows-1257" = "$c"; then |
| echo "configure: warning: Enabling charset windows-1257" 1>&2 | echo "configure: warning: enabling charset windows-1257" 1>&2 |
| commentcharset_windows1257= | commentcharset_windows1257= |
| fi | fi |
| done | done |
| Line 1437 done | Line 1591 done |
| commentcharset_koi8r='#' | commentcharset_koi8r='#' |
| for c in $CHARSETS_REQUESTED; do | for c in $CHARSETS_REQUESTED; do |
| if test "koi8-r" = "$c"; then | if test "koi8-r" = "$c"; then |
| echo "configure: warning: Enabling charset koi8-r" 1>&2 | echo "configure: warning: enabling charset koi8-r" 1>&2 |
| commentcharset_koi8r= | commentcharset_koi8r= |
| fi | fi |
| done | done |
| Line 1445 done | Line 1599 done |
| echo $ac_n "checking for dynamic-link library extension""... $ac_c" 1>&6 | |
| echo "configure:1604: checking for dynamic-link library extension" >&5 | |
| case "$host_os" in | |
| hpux9* | hpux10* | hpux11*) | |
| dll_extension=sl | |
| ;; | |
| cygwin) | |
| dll_extension=dll | |
| ;; | |
| *) | |
| dll_extension=so | |
| esac | |
| echo "$ac_t""$dll_extension" 1>&6 | |
| # Check whether --with-mysql-client or --without-mysql-client was given. | # Check whether --with-mysql-client or --without-mysql-client was given. |
| if test "${with_mysql_client+set}" = set; then | if test "${with_mysql_client+set}" = set; then |
| withval="$with_mysql_client" | withval="$with_mysql_client" |
| Line 1452 if test "${with_mysql_client+set}" = set | Line 1621 if test "${with_mysql_client+set}" = set |
| else | else |
| echo $ac_n "checking for mysql client""... $ac_c" 1>&6 | echo $ac_n "checking for mysql client""... $ac_c" 1>&6 |
| echo "configure:1456: checking for mysql client" >&5 | echo "configure:1625: checking for mysql client" >&5 |
| for lib in \ | for lib in \ |
| /usr/local/lib/mysql/libmysqlclient.so \ | /usr/local/lib/mysql/libmysqlclient.$dll_extension \ |
| /usr/local/lib/libmysqlclient.so \ | /usr/local/lib/libmysqlclient.$dll_extension \ |
| /usr/lib/libmysqlclient.so; do | /usr/lib/libmysqlclient.$dll_extension; do |
| if test -f $lib; then mysql_client=$lib; fi | if test -f $lib; then mysql_client=$lib; fi |
| done | done |
| Line 1479 if test "${with_pgsql_client+set}" = set | Line 1648 if test "${with_pgsql_client+set}" = set |
| else | else |
| echo $ac_n "checking for pgsql client""... $ac_c" 1>&6 | echo $ac_n "checking for pgsql client""... $ac_c" 1>&6 |
| echo "configure:1483: checking for pgsql client" >&5 | echo "configure:1652: checking for pgsql client" >&5 |
| for lib in \ | for lib in \ |
| /usr/local/pgsql/lib/libpq.so \ | /usr/local/pgsql/lib/libpq.$dll_extension \ |
| /usr/local/lib/libpq.so \ | /usr/local/lib/libpq.$dll_extension \ |
| /usr/lib/libpq.so; do | /usr/lib/libpq.$dll_extension; do |
| if test -f $lib; then pgsql_client=$lib; fi | if test -f $lib; then pgsql_client=$lib; fi |
| done | done |
| Line 1506 if test "${with_oracle_client+set}" = se | Line 1675 if test "${with_oracle_client+set}" = se |
| else | else |
| echo $ac_n "checking for oracle client""... $ac_c" 1>&6 | echo $ac_n "checking for oracle client""... $ac_c" 1>&6 |
| echo "configure:1510: checking for oracle client" >&5 | echo "configure:1679: checking for oracle client" >&5 |
| lib=$ORACLE_HOME/lib/libclntsh.so | lib=$ORACLE_HOME/lib/libclntsh.$dll_extension |
| if test -f $lib; then oracle_client=$lib; fi | if test -f $lib; then oracle_client=$lib; fi |
| if test -z "$oracle_client"; then | if test -z "$oracle_client"; then |
| Line 1532 if test "${with_pathlink+set}" = set; th | Line 1701 if test "${with_pathlink+set}" = set; th |
| fi | fi |
| # Check whether --with-link-stdcpp or --without-link-stdcpp was given. | |
| if test "${with_link_stdcpp+set}" = set; then | |
| withval="$with_link_stdcpp" | |
| LIBSTDCPP_PATH=$withval | |
| if test "$LIBSTDCPP_PATH" = "no"; then | |
| echo "configure: warning: disabling libstdc++ linkage" 1>&2 | |
| else | |
| if test -z "$LD_PATHLINK"; then | |
| { echo "configure: error: when using --with-link-stdcpp one must specify --with-pathlink" 1>&2; exit 1; } | |
| fi | |
| LIBS="$LIBS -Wl,$LD_PATHLINK -Wl,$LIBSTDCPP_PATH" | |
| fi | |
| else | |
| #pseudo path, meaning still link libstdcpp. value needed to trick next _CONDITIONAL | |
| LIBSTDCPP_PATH=" " | |
| fi | |
| if test "$LIBSTDCPP_PATH" = "no"; then | |
| DO_NOT_LINK_LIBSTDCPP_TRUE= | |
| DO_NOT_LINK_LIBSTDCPP_FALSE='#' | |
| else | |
| DO_NOT_LINK_LIBSTDCPP_TRUE='#' | |
| DO_NOT_LINK_LIBSTDCPP_FALSE= | |
| fi | |
| # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given. | |
| if test "${with_sjlj_exceptions+set}" = set; then | |
| withval="$with_sjlj_exceptions" | |
| cat >> confdefs.h <<\EOF | |
| #define PA_WITH_SJLJ_EXCEPTIONS | |
| EOF | |
| fi | |
| # Check whether --with-glib-config or --without-glib-config was given. | # Check whether --with-glib-config or --without-glib-config was given. |
| Line 1726 else | Line 1937 else |
| fi | fi |
| case "$enable_ltdl_convenience" in | |
| # Make sure we can run config.sub. | no) { echo "configure: error: this package needs a convenience libltdl" 1>&2; exit 1; } ;; |
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | "") enable_ltdl_convenience=yes |
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
| fi | esac |
| LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a | |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | INCLTDL='-I${top_srcdir}/'src/lib/ltdl |
| echo "configure:1737: checking host system type" >&5 | |
| host_alias=$host | |
| case "$host_alias" in | |
| NONE) | |
| case $nonopt in | |
| NONE) | |
| if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : | |
| else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } | |
| fi ;; | |
| *) host_alias=$nonopt ;; | |
| esac ;; | |
| esac | |
| host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | |
| host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| echo "$ac_t""$host" 1>&6 | |
| # Find a good install program. We prefer a C program (faster), | |
| # so one script is as good as another. But avoid the broken or | |
| # incompatible versions: | |
| # SysV /etc/install, /usr/sbin/install | |
| # SunOS /usr/etc/install | |
| # IRIX /sbin/install | |
| # AIX /bin/install | |
| # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| # ./install, which can be erroneously created by make from ./install.sh. | |
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | |
| echo "configure:1771: checking for a BSD compatible install" >&5 | |
| if test -z "$INSTALL"; then | |
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | |
| for ac_dir in $PATH; do | |
| # Account for people who put trailing slashes in PATH elements. | |
| case "$ac_dir/" in | |
| /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | |
| *) | |
| # OSF1 and SCO ODT 3.0 have their own names for install. | |
| # Don't use installbsd from OSF since it installs stuff as root | |
| # by default. | |
| for ac_prog in ginstall scoinst install; do | |
| if test -f $ac_dir/$ac_prog; then | |
| if test $ac_prog = install && | |
| grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | |
| # AIX install. It has an incompatible calling convention. | |
| : | |
| else | |
| ac_cv_path_install="$ac_dir/$ac_prog -c" | |
| break 2 | |
| fi | |
| fi | |
| done | |
| ;; | |
| esac | |
| done | |
| IFS="$ac_save_IFS" | |
| fi | |
| if test "${ac_cv_path_install+set}" = set; then | |
| INSTALL="$ac_cv_path_install" | |
| else | |
| # As a last resort, use the slow shell script. We don't cache a | |
| # path for INSTALL within a source directory, because that will | |
| # break other packages using the cache if that directory is | |
| # removed, or if the path is relative. | |
| INSTALL="$ac_install_sh" | |
| fi | |
| fi | |
| echo "$ac_t""$INSTALL" 1>&6 | |
| # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| # It thinks the first close brace ends the variable substitution. | |
| test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
| echo "configure:1824: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | |
| if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftestmake <<\EOF | |
| all: | |
| @echo 'ac_maketemp="${MAKE}"' | |
| EOF | |
| # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
| eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
| if test -n "$ac_maketemp"; then | |
| eval ac_cv_prog_make_${ac_make}_set=yes | |
| else | |
| eval ac_cv_prog_make_${ac_make}_set=no | |
| fi | |
| rm -f conftestmake | |
| fi | |
| if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| SET_MAKE= | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| SET_MAKE="MAKE=${MAKE-make}" | |
| fi | |
| # Extract the first word of "ranlib", so it can be a program name with args. | |
| set dummy ranlib; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1853: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$RANLIB"; then | |
| ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_RANLIB="ranlib" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
| fi | |
| fi | |
| RANLIB="$ac_cv_prog_RANLIB" | |
| if test -n "$RANLIB"; then | |
| echo "$ac_t""$RANLIB" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| for ac_prog in mawk gawk nawk awk | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1885: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AWK"; then | |
| ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AWK="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| AWK="$ac_cv_prog_AWK" | |
| if test -n "$AWK"; then | |
| echo "$ac_t""$AWK" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$AWK" && break | |
| done | |
| for ac_prog in 'bison -y' byacc | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1920: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$YACC"; then | |
| ac_cv_prog_YACC="$YACC" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_YACC="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| YACC="$ac_cv_prog_YACC" | |
| if test -n "$YACC"; then | |
| echo "$ac_t""$YACC" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$YACC" && break | |
| done | |
| test -n "$YACC" || YACC="yacc" | |
| if test "$YACC" != "bison -y"; then | |
| echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 | |
| else | |
| echo $ac_n "checking bison version""... $ac_c" 1>&6 | |
| echo "configure:1954: checking bison version" >&5 | |
| oldIFS=$IFS; IFS=. | |
| set `bison -V | sed -e 's/^GNU Bison version //'` | |
| IFS=$oldIFS | |
| if test "$1" = "1" -a "$2" -lt "25"; then | |
| echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2 | |
| fi | |
| echo "$ac_t""$1.$2 (ok)" 1>&6 | |
| fi | |
| LIBLTDL='${top_builddir}/'src/lib/libltdl/libltdlc.a | |
| INCLTDL='-I${top_srcdir}/'src/lib/libltdl | |
| subdirs="src/lib/libltdl" | subdirs="src/lib/ltdl" |
| LIBADD_DL= | LIBADD_DL= |
| echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| echo "configure:1974: checking for dlopen in -ldl" >&5 | echo "configure:1956: checking for dlopen in -ldl" >&5 |
| ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 1978 else | Line 1960 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-ldl $LIBS" | LIBS="-ldl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1982 "configure" | #line 1964 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 1992 int main() { | Line 1974 int main() { |
| dlopen() | dlopen() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2014 EOF | Line 1996 EOF |
| else | else |
| echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
| echo $ac_n "checking for dlopen""... $ac_c" 1>&6 | echo $ac_n "checking for dlopen""... $ac_c" 1>&6 |
| echo "configure:2018: checking for dlopen" >&5 | echo "configure:2000: checking for dlopen" >&5 |
| if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2023 "configure" | #line 2005 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char dlopen(); below. */ | which can conflict with char dlopen(); below. */ |
| Line 2045 dlopen(); | Line 2027 dlopen(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_func_dlopen=yes" | eval "ac_cv_func_dlopen=yes" |
| else | else |
| Line 2070 fi | Line 2052 fi |
| fi | fi |
| echo $ac_n "checking for shl_load""... $ac_c" 1>&6 | echo $ac_n "checking for shl_load""... $ac_c" 1>&6 |
| echo "configure:2074: checking for shl_load" >&5 | echo "configure:2056: checking for shl_load" >&5 |
| if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2079 "configure" | #line 2061 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char shl_load(); below. */ | which can conflict with char shl_load(); below. */ |
| Line 2101 shl_load(); | Line 2083 shl_load(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_func_shl_load=yes" | eval "ac_cv_func_shl_load=yes" |
| else | else |
| Line 2122 EOF | Line 2104 EOF |
| else | else |
| echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
| echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| echo "configure:2126: checking for shl_load in -ldld" >&5 | echo "configure:2108: checking for shl_load in -ldld" >&5 |
| ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2130 else | Line 2112 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-ldld $LIBS" | LIBS="-ldld $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2134 "configure" | #line 2116 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2144 int main() { | Line 2126 int main() { |
| shl_load() | shl_load() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2170 fi | Line 2152 fi |
| fi | fi |
| echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6 | echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6 |
| echo "configure:2174: checking for dld_link in -ldld" >&5 | echo "configure:2156: checking for dld_link in -ldld" >&5 |
| ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'` | ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2178 else | Line 2160 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-ldld $LIBS" | LIBS="-ldld $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2182 "configure" | #line 2164 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2192 int main() { | Line 2174 int main() { |
| dld_link() | dld_link() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2223 if test "x$ac_cv_func_dlopen" = xyes || | Line 2205 if test "x$ac_cv_func_dlopen" = xyes || |
| for ac_func in dlerror | for ac_func in dlerror |
| do | do |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "configure:2227: checking for $ac_func" >&5 | echo "configure:2209: checking for $ac_func" >&5 |
| if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2232 "configure" | #line 2214 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func(); below. */ | which can conflict with char $ac_func(); below. */ |
| Line 2254 $ac_func(); | Line 2236 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_func_$ac_func=yes" | eval "ac_cv_func_$ac_func=yes" |
| else | else |
| Line 2283 fi | Line 2265 fi |
| echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 |
| echo "configure:2287: checking how to run the C++ preprocessor" >&5 | echo "configure:2269: checking how to run the C++ preprocessor" >&5 |
| if test -z "$CXXCPP"; then | if test -z "$CXXCPP"; then |
| if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2296 ac_link='${CXX-g++} -o conftest${ac_exee | Line 2278 ac_link='${CXX-g++} -o conftest${ac_exee |
| cross_compiling=$ac_cv_prog_cxx_cross | cross_compiling=$ac_cv_prog_cxx_cross |
| CXXCPP="${CXX-g++} -E" | CXXCPP="${CXX-g++} -E" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2300 "configure" | #line 2282 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| { (eval echo configure:2305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| if test -z "$ac_err"; then | if test -z "$ac_err"; then |
| : | : |
| Line 2326 CXXCPP="$ac_cv_prog_CXXCPP" | Line 2308 CXXCPP="$ac_cv_prog_CXXCPP" |
| echo "$ac_t""$CXXCPP" 1>&6 | echo "$ac_t""$CXXCPP" 1>&6 |
| echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| echo "configure:2330: checking for ANSI C header files" >&5 | echo "configure:2312: checking for ANSI C header files" >&5 |
| if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2335 "configure" | #line 2317 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 2339 else | Line 2321 else |
| #include <float.h> | #include <float.h> |
| EOF | EOF |
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| { (eval echo configure:2343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| if test -z "$ac_err"; then | if test -z "$ac_err"; then |
| rm -rf conftest* | rm -rf conftest* |
| Line 2356 rm -f conftest* | Line 2338 rm -f conftest* |
| if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
| # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2360 "configure" | #line 2342 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 2374 fi | Line 2356 fi |
| if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
| # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2378 "configure" | #line 2360 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 2395 if test "$cross_compiling" = yes; then | Line 2377 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2399 "configure" | #line 2381 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int); | extern "C" void exit(int); |
| Line 2409 if (XOR (islower (i), ISLOWER (i)) || to | Line 2391 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:2413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 2433 EOF | Line 2415 EOF |
| fi | fi |
| echo $ac_n "checking for size_t""... $ac_c" 1>&6 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| echo "configure:2437: checking for size_t" >&5 | echo "configure:2419: checking for size_t" >&5 |
| if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2442 "configure" | #line 2424 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2466 EOF | Line 2448 EOF |
| fi | fi |
| echo $ac_n "checking for off_t""... $ac_c" 1>&6 | echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| echo "configure:2470: checking for off_t" >&5 | echo "configure:2452: checking for off_t" >&5 |
| if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2475 "configure" | #line 2457 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2499 EOF | Line 2481 EOF |
| fi | fi |
| echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
| echo "configure:2503: checking for ssize_t" >&5 | echo "configure:2485: checking for ssize_t" >&5 |
| if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2508 "configure" | #line 2490 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2535 fi | Line 2517 fi |
| echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| echo "configure:2539: checking whether time.h and sys/time.h may both be included" >&5 | echo "configure:2521: checking whether time.h and sys/time.h may both be included" >&5 |
| if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2544 "configure" | #line 2526 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #include <sys/time.h> | #include <sys/time.h> |
| Line 2549 int main() { | Line 2531 int main() { |
| struct tm *tp; | struct tm *tp; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:2535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| ac_cv_header_time=yes | ac_cv_header_time=yes |
| else | else |
| Line 2570 EOF | Line 2552 EOF |
| fi | fi |
| for ac_hdr in unistd.h \ | for ac_hdr in signal.h \ |
| unistd.h \ | |
| process.h \ | process.h \ |
| stddef.h \ | stddef.h \ |
| stdarg.h \ | stdarg.h \ |
| Line 2593 sys/file.h \ | Line 2576 sys/file.h \ |
| sys/locking.h \ | sys/locking.h \ |
| sys/types.h \ | sys/types.h \ |
| sys/select.h \ | sys/select.h \ |
| sys/resource.h | sys/resource.h \ |
| winsock.h \ | |
| sys/socket.h \ | |
| netinet/in.h \ | |
| arpa/inet.h \ | |
| netdb.h | |
| do | do |
| ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| echo "configure:2602: checking for $ac_hdr" >&5 | echo "configure:2590: checking for $ac_hdr" >&5 |
| if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2607 "configure" | #line 2595 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <$ac_hdr> | #include <$ac_hdr> |
| EOF | EOF |
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| { (eval echo configure:2612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| if test -z "$ac_err"; then | if test -z "$ac_err"; then |
| rm -rf conftest* | rm -rf conftest* |
| Line 2639 done | Line 2627 done |
| case "$host" in | case "$host" in |
| *-sunos5.6* | *-solaris2.6*) | *-sunos5.6* | *-solaris2.6*) |
| echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6 |
| echo "configure:2643: checking for main in -lxnet" >&5 | echo "configure:2631: checking for main in -lxnet" >&5 |
| ac_lib_var=`echo xnet'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo xnet'_'main | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2647 else | Line 2635 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lxnet $LIBS" | LIBS="-lxnet $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2651 "configure" | #line 2639 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2684 fi | Line 2672 fi |
| ;; | ;; |
| *-sunos5* | *-solaris2*) | *-sunos5* | *-solaris2*) |
| echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
| echo "configure:2688: checking for main in -lsocket" >&5 | echo "configure:2676: checking for main in -lsocket" >&5 |
| ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2692 else | Line 2680 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lsocket $LIBS" | LIBS="-lsocket $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2696 "configure" | #line 2684 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2727 else | Line 2715 else |
| fi | fi |
| echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
| echo "configure:2731: checking for main in -lnsl" >&5 | echo "configure:2719: checking for main in -lnsl" >&5 |
| ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2735 else | Line 2723 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2739 "configure" | #line 2727 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2772 fi | Line 2760 fi |
| ;; | ;; |
| *-nec-sysv4*) | *-nec-sysv4*) |
| echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| echo "configure:2776: checking for gethostbyname in -lnsl" >&5 | echo "configure:2764: checking for gethostbyname in -lnsl" >&5 |
| ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2780 else | Line 2768 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2784 "configure" | #line 2772 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2794 int main() { | Line 2782 int main() { |
| gethostbyname() | gethostbyname() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2822 else | Line 2810 else |
| fi | fi |
| echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
| echo "configure:2826: checking for socket in -lsocket" >&5 | echo "configure:2814: checking for socket in -lsocket" >&5 |
| ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` | ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2830 else | Line 2818 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lsocket $LIBS" | LIBS="-lsocket $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2834 "configure" | #line 2822 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2844 int main() { | Line 2832 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2878 fi | Line 2866 fi |
| EOF | EOF |
| echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6 | echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6 |
| echo "configure:2882: checking for socket in -lwsock32" >&5 | echo "configure:2870: checking for socket in -lwsock32" >&5 |
| ac_lib_var=`echo wsock32'_'socket | sed 'y%./+-%__p_%'` | ac_lib_var=`echo wsock32'_'socket | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2886 else | Line 2874 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lwsock32 $LIBS" | LIBS="-lwsock32 $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2890 "configure" | #line 2878 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2900 int main() { | Line 2888 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2931 fi | Line 2919 fi |
| # never tested this, only theoretically by letter from demos about parser2 build | # never tested this, only theoretically by letter from demos about parser2 build |
| *-hpux*) | *-hpux*) |
| echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 | echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
| echo "configure:2935: checking for main in -lnsl" >&5 | echo "configure:2923: checking for main in -lnsl" >&5 |
| ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` | ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2939 else | Line 2927 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2943 "configure" | #line 2931 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 2977 fi | Line 2965 fi |
| esac | esac |
| echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| echo "configure:2981: checking for sin in -lm" >&5 | echo "configure:2969: checking for sin in -lm" >&5 |
| ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 2985 else | Line 2973 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lm $LIBS" | LIBS="-lm $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2989 "configure" | #line 2977 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 2999 int main() { | Line 2987 int main() { |
| sin() | sin() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 3028 fi | Line 3016 fi |
| echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| echo "configure:3032: checking for crypt in -lcrypt" >&5 | echo "configure:3020: checking for crypt in -lcrypt" >&5 |
| ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 3036 else | Line 3024 else |
| ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
| LIBS="-lcrypt $LIBS" | LIBS="-lcrypt $LIBS" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3040 "configure" | #line 3028 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 3050 int main() { | Line 3038 int main() { |
| crypt() | crypt() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
| else | else |
| Line 3086 flock \ | Line 3074 flock \ |
| _locking \ | _locking \ |
| fcntl \ | fcntl \ |
| lockf \ | lockf \ |
| ftruncate \ | |
| getrusage \ | getrusage \ |
| crypt | gettimeofday \ |
| crypt \ | |
| sigsetjmp siglongjmp | |
| do | do |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "configure:3095: checking for $ac_func" >&5 | echo "configure:3086: checking for $ac_func" >&5 |
| if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3100 "configure" | #line 3091 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func(); below. */ | which can conflict with char $ac_func(); below. */ |
| Line 3122 $ac_func(); | Line 3113 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_func_$ac_func=yes" | eval "ac_cv_func_$ac_func=yes" |
| else | else |
| Line 3151 done | Line 3142 done |
| for ac_func in qsort | for ac_func in qsort |
| do | do |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "configure:3155: checking for $ac_func" >&5 | echo "configure:3146: checking for $ac_func" >&5 |
| if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3160 "configure" | #line 3151 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func(); below. */ | which can conflict with char $ac_func(); below. */ |
| Line 3182 $ac_func(); | Line 3173 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_func_$ac_func=yes" | eval "ac_cv_func_$ac_func=yes" |
| else | else |
| Line 3210 done | Line 3201 done |
| for ac_func in select | for ac_func in select |
| do | do |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "configure:3214: checking for $ac_func" >&5 | echo "configure:3205: checking for $ac_func" >&5 |
| if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3219 "configure" | #line 3210 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func(); below. */ | which can conflict with char $ac_func(); below. */ |
| Line 3241 $ac_func(); | Line 3232 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| eval "ac_cv_func_$ac_func=yes" | eval "ac_cv_func_$ac_func=yes" |
| else | else |
| Line 3267 fi | Line 3258 fi |
| done | done |
| echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 | |
| echo "configure:3264: checking for timezone variable" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3266 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | |
| time_t test=timezone; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_TIMEZONE 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking for daylight variable""... $ac_c" 1>&6 | |
| echo "configure:3291: checking for daylight variable" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3293 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | |
| int test=daylight; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_DAYLIGHT 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | |
| echo "configure:3318: checking for tm_gmtoff in struct tm" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3320 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | |
| struct tm tm; | |
| tm.tm_gmtoff=0; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_TM_GMTOFF 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6 | |
| echo "configure:3345: checking for tm_tzadj in struct tm" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3347 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | |
| struct tm tm; | |
| tm.tm_tzadj=0; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_TM_TZADJ 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 | echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 |
| echo "configure:3272: checking whether compiler supports pragma pack" >&5 | echo "configure:3373: checking whether compiler supports pragma pack" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3274 "configure" | #line 3375 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #pragma pack(1) | #pragma pack(1) |
| struct _1_byte { | struct _1_byte { |
| Line 3282 int main() { | Line 3383 int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| echo "$ac_t""yes" 1>&6 | echo "$ac_t""yes" 1>&6 |
| Line 3301 fi | Line 3402 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6 | echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6 |
| echo "configure:3305: checking for set_new_handler" >&5 | echo "configure:3406: checking for set_new_handler" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3307 "configure" | #line 3408 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| Line 3315 std::set_new_handler(failed_new); | Line 3416 std::set_new_handler(failed_new); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| echo "$ac_t""yes" 1>&6 | echo "$ac_t""yes" 1>&6 |
| Line 3473 done | Line 3574 done |
| ac_given_srcdir=$srcdir | ac_given_srcdir=$srcdir |
| ac_given_INSTALL="$INSTALL" | ac_given_INSTALL="$INSTALL" |
| trap 'rm -fr `echo "Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/libltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/patches/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | trap 'rm -fr `echo "Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/ltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/patches/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/hook/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
| EOF | EOF |
| cat >> $CONFIG_STATUS <<EOF | cat >> $CONFIG_STATUS <<EOF |
| Line 3517 s%@AUTOHEADER@%$AUTOHEADER%g | Line 3618 s%@AUTOHEADER@%$AUTOHEADER%g |
| s%@MAKEINFO@%$MAKEINFO%g | s%@MAKEINFO@%$MAKEINFO%g |
| s%@SET_MAKE@%$SET_MAKE%g | s%@SET_MAKE@%$SET_MAKE%g |
| s%@P3S@%$P3S%g | s%@P3S@%$P3S%g |
| s%@host@%$host%g | |
| s%@host_alias@%$host_alias%g | |
| s%@host_cpu@%$host_cpu%g | |
| s%@host_vendor@%$host_vendor%g | |
| s%@host_os@%$host_os%g | |
| s%@RANLIB@%$RANLIB%g | |
| s%@AWK@%$AWK%g | |
| s%@YACC@%$YACC%g | |
| s%@CC@%$CC%g | s%@CC@%$CC%g |
| s%@CXX@%$CXX%g | s%@CXX@%$CXX%g |
| s%@DO_NOT_LINK_LIBSTDCPP_TRUE@%$DO_NOT_LINK_LIBSTDCPP_TRUE%g | |
| s%@DO_NOT_LINK_LIBSTDCPP_FALSE@%$DO_NOT_LINK_LIBSTDCPP_FALSE%g | |
| s%@commentcharset_windows1251@%$commentcharset_windows1251%g | s%@commentcharset_windows1251@%$commentcharset_windows1251%g |
| s%@commentcharset_windows1250@%$commentcharset_windows1250%g | s%@commentcharset_windows1250@%$commentcharset_windows1250%g |
| s%@commentcharset_windows1257@%$commentcharset_windows1257%g | s%@commentcharset_windows1257@%$commentcharset_windows1257%g |
| s%@commentcharset_koi8r@%$commentcharset_koi8r%g | s%@commentcharset_koi8r@%$commentcharset_koi8r%g |
| s%@dll_extension@%$dll_extension%g | |
| s%@mysql_client@%$mysql_client%g | s%@mysql_client@%$mysql_client%g |
| s%@pgsql_client@%$pgsql_client%g | s%@pgsql_client@%$pgsql_client%g |
| s%@oracle_client@%$oracle_client%g | s%@oracle_client@%$oracle_client%g |
| s%@DO_NOT_LINK_LIBSTDCPP_TRUE@%$DO_NOT_LINK_LIBSTDCPP_TRUE%g | |
| s%@DO_NOT_LINK_LIBSTDCPP_FALSE@%$DO_NOT_LINK_LIBSTDCPP_FALSE%g | |
| s%@XML_INCLUDES@%$XML_INCLUDES%g | s%@XML_INCLUDES@%$XML_INCLUDES%g |
| s%@XML_LIBS@%$XML_LIBS%g | s%@XML_LIBS@%$XML_LIBS%g |
| s%@MIME_INCLUDES@%$MIME_INCLUDES%g | s%@MIME_INCLUDES@%$MIME_INCLUDES%g |
| Line 3535 s%@MIME_LIBS@%$MIME_LIBS%g | Line 3645 s%@MIME_LIBS@%$MIME_LIBS%g |
| s%@APACHE13@%$APACHE13%g | s%@APACHE13@%$APACHE13%g |
| s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g | s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g |
| s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g | s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g |
| s%@host@%$host%g | |
| s%@host_alias@%$host_alias%g | |
| s%@host_cpu@%$host_cpu%g | |
| s%@host_vendor@%$host_vendor%g | |
| s%@host_os@%$host_os%g | |
| s%@RANLIB@%$RANLIB%g | |
| s%@AWK@%$AWK%g | |
| s%@YACC@%$YACC%g | |
| s%@INCLTDL@%$INCLTDL%g | s%@INCLTDL@%$INCLTDL%g |
| s%@LIBLTDL@%$LIBLTDL%g | s%@LIBLTDL@%$LIBLTDL%g |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| Line 3592 EOF | Line 3694 EOF |
| cat >> $CONFIG_STATUS <<EOF | cat >> $CONFIG_STATUS <<EOF |
| CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/libltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/patches/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"} | CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/ltdl/Makefile src/lib/pcre/Makefile src/lib/md5/Makefile src/lib/patches/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/hook/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"} |
| EOF | EOF |
| cat >> $CONFIG_STATUS <<\EOF | cat >> $CONFIG_STATUS <<\EOF |
| for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
| Line 3797 if test "$no_recursion" != yes; then | Line 3899 if test "$no_recursion" != yes; then |
| esac | esac |
| done | done |
| for ac_config_dir in src/lib/libltdl; do | for ac_config_dir in src/lib/ltdl; do |
| # Do not complain, so a configure script can configure whichever | # Do not complain, so a configure script can configure whichever |
| # parts of a large source tree are present. | # parts of a large source tree are present. |