|
|
| version 1.12, 2002/02/28 14:59:12 | version 1.27, 2002/06/20 13:43:37 |
|---|---|
| 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, | |
| if you belive you do not need one" | |
| ac_help="$ac_help | |
| --disable-string-origins to switch off string origin tracking" | --disable-string-origins to switch off string origin tracking" |
| ac_help="$ac_help | ac_help="$ac_help |
| --disable-execs to disable any execs | |
| (file::exec, file::cgi, unix mail:send)" | |
| ac_help="$ac_help | |
| --disable-foreign-group-files to disable read and executing | |
| files belonging to group other then effective" | |
| ac_help="$ac_help | |
| --with-charsets=CHARSET[,CHARSET,...] Enables charsets in root config (windows-1251, | |
| windows-1250 windows-1257 koi8-r; Default is windows-1251)" | |
| ac_help="$ac_help | |
| --with-mysql-client=mysqlclientlib?withparams | |
| MySQL client dynamic library to root config" | |
| ac_help="$ac_help | |
| --with-pgsql-client=pgsqlclientlib?withparams | |
| PgSQL client dynamic library to root config" | |
| ac_help="$ac_help | |
| --with-oracle-client=oracleclientlib?withparams | |
| Oracle client dynamic library" | |
| 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 |
| Line 26 ac_help="$ac_help | Line 47 ac_help="$ac_help |
| --with-static-xml=D D is the directory where | --with-static-xml=D D is the directory where |
| Gnome XML libraries are installed (static libs)" | Gnome XML libraries are installed (static libs)" |
| ac_help="$ac_help | ac_help="$ac_help |
| \"--with-sendmail=COMMAND\" forces this command to send mail. | |
| example: \"--with-sendmail=/usr/sbin/sendmail -t\" | |
| (makes parser ignore user-defined sendmail commands)" | |
| ac_help="$ac_help | |
| --with-apache13=D D is the Apache13 source distribution directory | --with-apache13=D D is the Apache13 source distribution directory |
| builds library for apache_module using that dir | builds library for apache_module using that dir |
| (do not add /src)" | (do not add /src)" |
| Line 570 ac_configure=$ac_aux_dir/configure # Thi | Line 595 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:574: checking for a BSD compatible install" >&5 | echo "configure:599: 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 623 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 648 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:627: checking whether build environment is sane" >&5 | echo "configure:652: checking whether build environment is sane" >&5 |
| # Just in case | # Just in case |
| sleep 1 | sleep 1 |
| echo timestamp > conftestfile | echo timestamp > conftestfile |
| Line 680 test "$program_suffix" != NONE && | Line 705 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:684: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:709: 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 709 fi | Line 734 fi |
| PACKAGE=parser | PACKAGE=parser |
| VERSION=3.0b | 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 719 fi | Line 744 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:723: checking for working aclocal" >&5 | echo "configure:748: 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 732 else | Line 757 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:736: checking for working autoconf" >&5 | echo "configure:761: 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 745 else | Line 770 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:749: checking for working automake" >&5 | echo "configure:774: 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 758 else | Line 783 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:762: checking for working autoheader" >&5 | echo "configure:787: 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 771 else | Line 796 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:775: checking for working makeinfo" >&5 | echo "configure:800: 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 812 fi | Line 837 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:816: checking for a BSD compatible install" >&5 | echo "configure:841: 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 867 test -z "$INSTALL_DATA" && INSTALL_DATA= | Line 892 test -z "$INSTALL_DATA" && INSTALL_DATA= |
| # 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:871: checking for $ac_word" >&5 | echo "configure:896: 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 897 if test -z "$CC"; then | Line 922 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:901: checking for $ac_word" >&5 | echo "configure:926: 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 948 fi | Line 973 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:952: checking for $ac_word" >&5 | echo "configure:977: 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 980 fi | Line 1005 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:984: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:1009: 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 991 cross_compiling=$ac_cv_prog_cc_cross | Line 1016 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 995 "configure" | #line 1020 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1025: \"$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 1022 if test $ac_cv_prog_cc_works = no; then | Line 1047 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:1026: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1051: 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:1031: checking whether we are using GNU C" >&5 | echo "configure:1056: 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 1036 else | Line 1061 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1040: \"$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:1065: \"$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 1055 ac_test_CFLAGS="${CFLAGS+set}" | Line 1080 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:1059: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1084: 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 1093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG | Line 1118 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:1097: checking for inline" >&5 | echo "configure:1122: 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 1104 "configure" | #line 1129 "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:1111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1136: \"$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 1137 do | Line 1162 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:1141: checking for $ac_word" >&5 | echo "configure:1166: 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 1169 test -n "$CXX" || CXX="gcc" | Line 1194 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:1173: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | echo "configure:1198: 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 1180 cross_compiling=$ac_cv_prog_cxx_cross | Line 1205 cross_compiling=$ac_cv_prog_cxx_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1184 "configure" | #line 1209 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1214: \"$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 1211 if test $ac_cv_prog_cxx_works = no; then | Line 1236 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:1215: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1240: 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:1220: checking whether we are using GNU C++" >&5 | echo "configure:1245: 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 1225 else | Line 1250 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1229: \"$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:1254: \"$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 1244 ac_test_CXXFLAGS="${CXXFLAGS+set}" | Line 1269 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:1248: checking whether ${CXX-g++} accepts -g" >&5 | echo "configure:1273: 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 1285 cross_compiling=$ac_cv_prog_cxx_cross | Line 1310 cross_compiling=$ac_cv_prog_cxx_cross |
| # Check whether --enable-link-libstdcpp or --disable-link-libstdcpp was given. | |
| if test "${enable_link_libstdcpp+set}" = set; then | |
| enableval="$enable_link_libstdcpp" | |
| LINK_LIBSTDCPP_FLAG=$enableval | |
| if test "$enableval" = "no"; then | |
| echo "configure: warning: disabling libstdc++ linkage" 1>&2 | |
| fi | |
| fi | |
| if test "$LINK_LIBSTDCPP_FLAG" = "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 --enable-string-origins or --disable-string-origins was given. | # Check whether --enable-string-origins or --disable-string-origins was given. |
| if test "${enable_string_origins+set}" = set; then | if test "${enable_string_origins+set}" = set; then |
| enableval="$enable_string_origins" | enableval="$enable_string_origins" |
| if test "$enableval" = "no"; then | 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 NO_STRING_ORIGIN |
| EOF | EOF |
| Line 1300 fi | Line 1348 fi |
| fi | fi |
| # Check whether --enable-execs or --disable-execs was given. | |
| if test "${enable_execs+set}" = set; then | |
| enableval="$enable_execs" | |
| if test "$enableval" = "no"; then | |
| echo "configure: warning: disabling file execs" 1>&2 | |
| cat >> confdefs.h <<\EOF | |
| #define NO_PA_EXECS | |
| EOF | |
| fi | |
| fi | |
| # Check whether --enable-foreign-group-files or --disable-foreign-group-files was given. | |
| if test "${enable_foreign_group_files+set}" = set; then | |
| enableval="$enable_foreign_group_files" | |
| if test "$enableval" = "no"; then | |
| echo "configure: warning: disabling reading of files belonging to group other then effective" 1>&2 | |
| cat >> confdefs.h <<\EOF | |
| #define NO_FOREIGN_GROUP_FILES | |
| EOF | |
| fi | |
| fi | |
| srccharsetsdir=$srcdir/etc/parser3.charsets | |
| CHARSETS_REQUESTED="windows-1251" | |
| # Check whether --with-charsets or --without-charsets was given. | |
| if test "${with_charsets+set}" = set; then | |
| withval="$with_charsets" | |
| CHARSETS_REQUESTED=`echo $withval | sed -e 's/,/ /g'` | |
| fi | |
| # Checking whether all requested charsets have corresponding .cfg files | |
| for c in $CHARSETS_REQUESTED; do | |
| if test \! -f $srccharsetsdir/$c.cfg; then | |
| { echo "configure: error: bad charset requested "$c" - file $srccharsetsdir/$c.cfg not found" 1>&2; exit 1; } | |
| fi | |
| done | |
| # Switching on commentcharset_XXX='#' | |
| commentcharset_windows1251='#' | |
| for c in $CHARSETS_REQUESTED; do | |
| if test "windows-1251" = "$c"; then | |
| echo "configure: warning: Enabling charset windows-1251" 1>&2 | |
| commentcharset_windows1251= | |
| fi | |
| done | |
| commentcharset_windows1250='#' | |
| for c in $CHARSETS_REQUESTED; do | |
| if test "windows-1250" = "$c"; then | |
| echo "configure: warning: Enabling charset windows-1250" 1>&2 | |
| commentcharset_windows1250= | |
| fi | |
| done | |
| commentcharset_windows1257='#' | |
| for c in $CHARSETS_REQUESTED; do | |
| if test "windows-1257" = "$c"; then | |
| echo "configure: warning: Enabling charset windows-1257" 1>&2 | |
| commentcharset_windows1257= | |
| fi | |
| done | |
| commentcharset_koi8r='#' | |
| for c in $CHARSETS_REQUESTED; do | |
| if test "koi8-r" = "$c"; then | |
| echo "configure: warning: Enabling charset koi8-r" 1>&2 | |
| commentcharset_koi8r= | |
| fi | |
| done | |
| # Check whether --with-mysql-client or --without-mysql-client was given. | |
| if test "${with_mysql_client+set}" = set; then | |
| withval="$with_mysql_client" | |
| mysql_client=$withval | |
| else | |
| echo $ac_n "checking for mysql client""... $ac_c" 1>&6 | |
| echo "configure:1450: checking for mysql client" >&5 | |
| for lib in \ | |
| /usr/local/lib/mysql/libmysqlclient.so \ | |
| /usr/local/lib/libmysqlclient.so \ | |
| /usr/lib/libmysqlclient.so; do | |
| if test -f $lib; then mysql_client=$lib; fi | |
| done | |
| if test -z "$mysql_client"; then | |
| mysql_client="-configure could not guess-" | |
| echo "configure: warning: could not guess mysql client" 1>&2 | |
| else | |
| echo "$ac_t""$mysql_client" 1>&6 | |
| fi | |
| fi | |
| # Check whether --with-pgsql-client or --without-pgsql-client was given. | |
| if test "${with_pgsql_client+set}" = set; then | |
| withval="$with_pgsql_client" | |
| mysql_client=$withval | |
| else | |
| echo $ac_n "checking for pgsql client""... $ac_c" 1>&6 | |
| echo "configure:1477: checking for pgsql client" >&5 | |
| for lib in \ | |
| /usr/local/pgsql/lib/libpq.so \ | |
| /usr/local/lib/libpq.so \ | |
| /usr/lib/libpq.so; do | |
| if test -f $lib; then pgsql_client=$lib; fi | |
| done | |
| if test -z "$pgsql_client"; then | |
| pgsql_client="-configure could not guess-" | |
| echo "configure: warning: could not guess pgsql client" 1>&2 | |
| else | |
| echo "$ac_t""$pgsql_client" 1>&6 | |
| fi | |
| fi | |
| # Check whether --with-oracle-client or --without-oracle-client was given. | |
| if test "${with_oracle_client+set}" = set; then | |
| withval="$with_oracle_client" | |
| oracle_client=$withval | |
| else | |
| echo $ac_n "checking for oracle client""... $ac_c" 1>&6 | |
| echo "configure:1504: checking for oracle client" >&5 | |
| lib=$ORACLE_HOME/lib/libclntsh.so | |
| if test -f $lib; then oracle_client=$lib; fi | |
| if test -z "$oracle_client"; then | |
| oracle_client="-configure could not guess-" | |
| echo "configure: warning: could not guess oracle client" 1>&2 | |
| else | |
| oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data" | |
| echo "$ac_t""$oracle_client" 1>&6 | |
| fi | |
| fi | |
| # Check whether --with-pathlink or --without-pathlink was given. | # Check whether --with-pathlink or --without-pathlink was given. |
| if test "${with_pathlink+set}" = set; then | if test "${with_pathlink+set}" = set; then |
| withval="$with_pathlink" | withval="$with_pathlink" |
| Line 1308 if test "${with_pathlink+set}" = set; th | Line 1527 if test "${with_pathlink+set}" = set; th |
| fi | fi |
| # Check whether --with-glib-config or --without-glib-config was given. | # Check whether --with-glib-config or --without-glib-config was given. |
| if test "${with_glib_config+set}" = set; then | if test "${with_glib_config+set}" = set; then |
| withval="$with_glib_config" | withval="$with_glib_config" |
| Line 1393 fi | Line 1613 fi |
| # Check whether --with-sendmail or --without-sendmail was given. | |
| if test "${with_sendmail+set}" = set; then | |
| withval="$with_sendmail" | |
| cat >> confdefs.h <<EOF | |
| #define PA_FORCED_SENDMAIL "$withval" | |
| EOF | |
| fi | |
| # Check whether --with-apache13 or --without-apache13 was given. | # Check whether --with-apache13 or --without-apache13 was given. |
| if test "${with_apache13+set}" = set; then | if test "${with_apache13+set}" = set; then |
| withval="$with_apache13" | withval="$with_apache13" |
| Line 1422 else { echo "configure: error: can not r | Line 1655 else { echo "configure: error: can not r |
| fi | fi |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| echo "configure:1426: checking host system type" >&5 | echo "configure:1659: checking host system type" >&5 |
| host_alias=$host | host_alias=$host |
| case "$host_alias" in | case "$host_alias" in |
| Line 1456 echo "$ac_t""$host" 1>&6 | Line 1689 echo "$ac_t""$host" 1>&6 |
| # 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:1460: checking for a BSD compatible install" >&5 | echo "configure:1693: 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 1509 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 1742 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 $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| echo "configure:1513: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:1746: 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 1538 fi | Line 1771 fi |
| # Extract the first word of "ranlib", so it can be a program name with args. | # Extract the first word of "ranlib", so it can be a program name with args. |
| set dummy ranlib; ac_word=$2 | set dummy ranlib; 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:1542: checking for $ac_word" >&5 | echo "configure:1775: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1570 do | Line 1803 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:1574: checking for $ac_word" >&5 | echo "configure:1807: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1605 do | Line 1838 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:1609: checking for $ac_word" >&5 | echo "configure:1842: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1639 if test "$YACC" != "bison -y"; then | Line 1872 if test "$YACC" != "bison -y"; then |
| echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 | echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 |
| else | else |
| echo $ac_n "checking bison version""... $ac_c" 1>&6 | echo $ac_n "checking bison version""... $ac_c" 1>&6 |
| echo "configure:1643: checking bison version" >&5 | echo "configure:1876: checking bison version" >&5 |
| oldIFS=$IFS; IFS=. | oldIFS=$IFS; IFS=. |
| set `bison -V | sed -e 's/^GNU Bison version //'` | set `bison -V | sed -e 's/^GNU Bison version //'` |
| IFS=$oldIFS | IFS=$oldIFS |
| Line 1659 subdirs="src/libltdl" | Line 1892 subdirs="src/libltdl" |
| 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:1663: checking for dlopen in -ldl" >&5 | echo "configure:1896: 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 1667 else | Line 1900 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 1671 "configure" | #line 1904 "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 1681 int main() { | Line 1914 int main() { |
| dlopen() | dlopen() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1918: \"$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 1703 EOF | Line 1936 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:1707: checking for dlopen" >&5 | echo "configure:1940: 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 1712 "configure" | #line 1945 "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 1734 dlopen(); | Line 1967 dlopen(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1971: \"$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 1759 fi | Line 1992 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:1763: checking for shl_load" >&5 | echo "configure:1996: 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 1768 "configure" | #line 2001 "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 1790 shl_load(); | Line 2023 shl_load(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2027: \"$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 1811 EOF | Line 2044 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:1815: checking for shl_load in -ldld" >&5 | echo "configure:2048: 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 1819 else | Line 2052 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 1823 "configure" | #line 2056 "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 1833 int main() { | Line 2066 int main() { |
| shl_load() | shl_load() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2070: \"$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 1859 fi | Line 2092 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:1863: checking for dld_link in -ldld" >&5 | echo "configure:2096: 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 1867 else | Line 2100 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 1871 "configure" | #line 2104 "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 1881 int main() { | Line 2114 int main() { |
| dld_link() | dld_link() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2118: \"$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 1912 if test "x$ac_cv_func_dlopen" = xyes || | Line 2145 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:1916: checking for $ac_func" >&5 | echo "configure:2149: 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 1921 "configure" | #line 2154 "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 1943 $ac_func(); | Line 2176 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2180: \"$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 1972 fi | Line 2205 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:1976: checking how to run the C++ preprocessor" >&5 | echo "configure:2209: 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 1985 ac_link='${CXX-g++} -o conftest${ac_exee | Line 2218 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 1989 "configure" | #line 2222 "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:1994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2227: \"$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 2015 CXXCPP="$ac_cv_prog_CXXCPP" | Line 2248 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:2019: checking for ANSI C header files" >&5 | echo "configure:2252: 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 2024 "configure" | #line 2257 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 2028 else | Line 2261 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:2032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2265: \"$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 2045 rm -f conftest* | Line 2278 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 2049 "configure" | #line 2282 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 2063 fi | Line 2296 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 2067 "configure" | #line 2300 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 2084 if test "$cross_compiling" = yes; then | Line 2317 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2088 "configure" | #line 2321 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int); | extern "C" void exit(int); |
| Line 2098 if (XOR (islower (i), ISLOWER (i)) || to | Line 2331 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:2335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 2122 EOF | Line 2355 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:2126: checking for size_t" >&5 | echo "configure:2359: 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 2131 "configure" | #line 2364 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2157 fi | Line 2390 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:2161: checking whether time.h and sys/time.h may both be included" >&5 | echo "configure:2394: 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 2166 "configure" | #line 2399 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #include <sys/time.h> | #include <sys/time.h> |
| Line 2171 int main() { | Line 2404 int main() { |
| struct tm *tp; | struct tm *tp; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:2408: \"$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 2219 sys/resource.h | Line 2452 sys/resource.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:2223: checking for $ac_hdr" >&5 | echo "configure:2456: 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 2228 "configure" | #line 2461 "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:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2466: \"$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 2260 done | Line 2493 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:2264: checking for main in -lxnet" >&5 | echo "configure:2497: 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 2268 else | Line 2501 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 2272 "configure" | #line 2505 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2512: \"$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 2305 fi | Line 2538 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:2309: checking for main in -lsocket" >&5 | echo "configure:2542: 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 2313 else | Line 2546 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 2317 "configure" | #line 2550 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2557: \"$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 2348 else | Line 2581 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:2352: checking for main in -lnsl" >&5 | echo "configure:2585: 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 2356 else | Line 2589 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 2360 "configure" | #line 2593 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2600: \"$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 2393 fi | Line 2626 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:2397: checking for gethostbyname in -lnsl" >&5 | echo "configure:2630: 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 2401 else | Line 2634 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 2405 "configure" | #line 2638 "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 2415 int main() { | Line 2648 int main() { |
| gethostbyname() | gethostbyname() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2652: \"$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 2443 else | Line 2676 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:2447: checking for socket in -lsocket" >&5 | echo "configure:2680: 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 2451 else | Line 2684 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 2455 "configure" | #line 2688 "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 2465 int main() { | Line 2698 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2702: \"$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 2499 fi | Line 2732 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:2503: checking for socket in -lwsock32" >&5 | echo "configure:2736: 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 2507 else | Line 2740 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 2511 "configure" | #line 2744 "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 2521 int main() { | Line 2754 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2758: \"$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 2549 else | Line 2782 else |
| fi | fi |
| ;; | ;; |
| # never tested this, only theoretically by letter from demos about parser2 build | |
| *-hpux*) | |
| echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 | |
| echo "configure:2789: checking for main in -lnsl" >&5 | |
| ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` | |
| if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| ac_save_LIBS="$LIBS" | |
| LIBS="-lnsl $LIBS" | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2797 "configure" | |
| #include "confdefs.h" | |
| int main() { | |
| main() | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| rm -rf conftest* | |
| eval "ac_cv_lib_$ac_lib_var=yes" | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| eval "ac_cv_lib_$ac_lib_var=no" | |
| fi | |
| rm -f conftest* | |
| LIBS="$ac_save_LIBS" | |
| fi | |
| if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| cat >> confdefs.h <<EOF | |
| #define $ac_tr_lib 1 | |
| EOF | |
| LIBS="-lnsl $LIBS" | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| 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:2556: checking for sin in -lm" >&5 | echo "configure:2835: 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 2560 else | Line 2839 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 2564 "configure" | #line 2843 "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 2574 int main() { | Line 2853 int main() { |
| sin() | sin() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2857: \"$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 2614 getrusage | Line 2893 getrusage |
| 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:2618: checking for $ac_func" >&5 | echo "configure:2897: 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 2623 "configure" | #line 2902 "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 2645 $ac_func(); | Line 2924 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2928: \"$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 2674 done | Line 2953 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:2678: checking for $ac_func" >&5 | echo "configure:2957: 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 2683 "configure" | #line 2962 "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 2705 $ac_func(); | Line 2984 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2988: \"$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 2733 done | Line 3012 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:2737: checking for $ac_func" >&5 | echo "configure:3016: 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 2742 "configure" | #line 3021 "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 2764 $ac_func(); | Line 3043 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3047: \"$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 2791 done | Line 3070 done |
| 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:2795: checking whether compiler supports pragma pack" >&5 | echo "configure:3074: checking whether compiler supports pragma pack" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2797 "configure" | #line 3076 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | |
| #pragma pack(1) | #pragma pack(1) |
| struct must_be_1_byte { | struct _1_byte { |
| char c; | char c; |
| }; | }; |
| #pragma pack() | #pragma pack() |
| if(sizeof(must_be_1_byte)!=1) | |
| return 1; | int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3088: \"$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 2826 fi | Line 3103 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:2830: checking for set_new_handler" >&5 | echo "configure:3107: checking for set_new_handler" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2832 "configure" | #line 3109 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| Line 2840 std::set_new_handler(failed_new); | Line 3117 std::set_new_handler(failed_new); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3121: \"$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 2860 rm -f conftest* | Line 3137 rm -f conftest* |
| APACHE_LIBS="$LIBS $LIBADD_DL" | APACHE_LIBS="$LIBS $LIBADD_DL" |
| Line 2873 e_sysconfdir=$sysconfdir | Line 3151 e_sysconfdir=$sysconfdir |
| test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc" | test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc" |
| rootconfigdir=$e_sysconfdir | |
| charsetsdir=$e_sysconfdir/parser3.charsets | charsetsdir=$e_sysconfdir/parser3.charsets |
| Line 3001 done | Line 3275 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/libltdl/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/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | trap 'rm -fr `echo "Makefile src/Makefile src/libltdl/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/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h 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 |
| EOF | EOF |
| cat >> $CONFIG_STATUS <<EOF | cat >> $CONFIG_STATUS <<EOF |
| Line 3047 s%@SET_MAKE@%$SET_MAKE%g | Line 3321 s%@SET_MAKE@%$SET_MAKE%g |
| s%@P3S@%$P3S%g | s%@P3S@%$P3S%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_windows1250@%$commentcharset_windows1250%g | |
| s%@commentcharset_windows1257@%$commentcharset_windows1257%g | |
| s%@commentcharset_koi8r@%$commentcharset_koi8r%g | |
| s%@mysql_client@%$mysql_client%g | |
| s%@pgsql_client@%$pgsql_client%g | |
| s%@oracle_client@%$oracle_client%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%@APACHE13@%$APACHE13%g | s%@APACHE13@%$APACHE13%g |
| Line 3066 s%@subdirs@%$subdirs%g | Line 3349 s%@subdirs@%$subdirs%g |
| s%@LIBADD_DL@%$LIBADD_DL%g | s%@LIBADD_DL@%$LIBADD_DL%g |
| s%@CXXCPP@%$CXXCPP%g | s%@CXXCPP@%$CXXCPP%g |
| s%@APACHE_LIBS@%$APACHE_LIBS%g | s%@APACHE_LIBS@%$APACHE_LIBS%g |
| s%@rootconfigdir@%$rootconfigdir%g | |
| s%@charsetsdir@%$charsetsdir%g | s%@charsetsdir@%$charsetsdir%g |
| s%@sqldriversdir@%$sqldriversdir%g | s%@sqldriversdir@%$sqldriversdir%g |
| Line 3110 EOF | Line 3392 EOF |
| cat >> $CONFIG_STATUS <<EOF | cat >> $CONFIG_STATUS <<EOF |
| CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/libltdl/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/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile"} | CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/libltdl/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/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h 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"} |
| 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 |