|
|
| version 1.52, 2002/11/25 15:36:41 | version 1.54, 2002/12/04 10:23:16 |
|---|---|
| Line 62 ac_help="$ac_help | Line 62 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)" |
| ac_help="$ac_help | |
| --enable-shared[=PKGS] build shared libraries [default=yes]" | |
| ac_help="$ac_help | |
| --enable-static[=PKGS] build static libraries [default=yes]" | |
| ac_help="$ac_help | |
| --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" | |
| ac_help="$ac_help | |
| --with-gnu-ld assume the C compiler uses GNU ld [default=no]" | |
| ac_help="$ac_help | |
| --disable-libtool-lock avoid locking (might break parallel builds)" | |
| # Initialize some variables set by options. | # Initialize some variables set by options. |
| # The variables have the same names as the options, with | # The variables have the same names as the options, with |
| Line 603 ac_configure=$ac_aux_dir/configure # Thi | Line 613 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:607: checking for a BSD compatible install" >&5 | echo "configure:617: 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 656 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 666 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:660: checking whether build environment is sane" >&5 | echo "configure:670: checking whether build environment is sane" >&5 |
| # Just in case | # Just in case |
| sleep 1 | sleep 1 |
| echo timestamp > conftestfile | echo timestamp > conftestfile |
| Line 713 test "$program_suffix" != NONE && | Line 723 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:717: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:727: 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 752 fi | Line 762 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:756: checking for working aclocal" >&5 | echo "configure:766: 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 765 else | Line 775 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:769: checking for working autoconf" >&5 | echo "configure:779: 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 778 else | Line 788 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:782: checking for working automake" >&5 | echo "configure:792: 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 791 else | Line 801 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:795: checking for working autoheader" >&5 | echo "configure:805: 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 804 else | Line 814 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:808: checking for working makeinfo" >&5 | echo "configure:818: 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 840 else { echo "configure: error: can not r | Line 850 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:844: checking host system type" >&5 | echo "configure:854: checking host system type" >&5 |
| host_alias=$host | host_alias=$host |
| case "$host_alias" in | case "$host_alias" in |
| Line 874 echo "$ac_t""$host" 1>&6 | Line 884 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:878: checking for a BSD compatible install" >&5 | echo "configure:888: 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 927 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 937 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:931: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:941: 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 956 fi | Line 966 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:960: checking for $ac_word" >&5 | echo "configure:970: 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 988 do | Line 998 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:992: checking for $ac_word" >&5 | echo "configure:1002: 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 1023 do | Line 1033 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:1027: checking for $ac_word" >&5 | echo "configure:1037: 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 1057 if test "$YACC" != "bison -y"; then | Line 1067 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:1061: checking bison version" >&5 | echo "configure:1071: 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 1070 fi | Line 1080 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:1074: checking for $ac_word" >&5 | echo "configure:1084: 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 1100 if test -z "$CC"; then | Line 1110 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:1104: checking for $ac_word" >&5 | echo "configure:1114: 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 1151 fi | Line 1161 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:1155: checking for $ac_word" >&5 | echo "configure:1165: 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 1183 fi | Line 1193 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:1187: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:1197: 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 1194 cross_compiling=$ac_cv_prog_cc_cross | Line 1204 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1198 "configure" | #line 1208 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1213: \"$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 1225 if test $ac_cv_prog_cc_works = no; then | Line 1235 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:1229: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1239: 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:1234: checking whether we are using GNU C" >&5 | echo "configure:1244: 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 1239 else | Line 1249 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1243: \"$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:1253: \"$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 1258 ac_test_CFLAGS="${CFLAGS+set}" | Line 1268 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:1262: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1272: 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 1296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG | Line 1306 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:1300: checking for inline" >&5 | echo "configure:1310: 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 1307 "configure" | #line 1317 "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:1314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1324: \"$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 1340 do | Line 1350 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:1344: checking for $ac_word" >&5 | echo "configure:1354: 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 1372 test -n "$CXX" || CXX="gcc" | Line 1382 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:1376: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | echo "configure:1386: 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 1383 cross_compiling=$ac_cv_prog_cxx_cross | Line 1393 cross_compiling=$ac_cv_prog_cxx_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1387 "configure" | #line 1397 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1402: \"$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 1414 if test $ac_cv_prog_cxx_works = no; then | Line 1424 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:1418: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1428: 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:1423: checking whether we are using GNU C++" >&5 | echo "configure:1433: 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 1428 else | Line 1438 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1432: \"$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:1442: \"$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 1447 ac_test_CXXFLAGS="${CXXFLAGS+set}" | Line 1457 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:1451: checking whether ${CXX-g++} accepts -g" >&5 | echo "configure:1461: 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 1617 done | Line 1627 done |
| echo $ac_n "checking for dynamic-link library extension""... $ac_c" 1>&6 | echo $ac_n "checking for dynamic-link library extension""... $ac_c" 1>&6 |
| echo "configure:1621: checking for dynamic-link library extension" >&5 | echo "configure:1631: checking for dynamic-link library extension" >&5 |
| case "$host_os" in | case "$host_os" in |
| hpux9* | hpux10* | hpux11*) | hpux9* | hpux10* | hpux11*) |
| dll_extension=sl | dll_extension=sl |
| Line 1638 if test "${with_mysql_client+set}" = set | Line 1648 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:1642: checking for mysql client" >&5 | echo "configure:1652: checking for mysql client" >&5 |
| for lib in \ | for lib in \ |
| /usr/local/lib/mysql/libmysqlclient.$dll_extension \ | /usr/local/lib/mysql/libmysqlclient.$dll_extension \ |
| /usr/local/lib/libmysqlclient.$dll_extension \ | /usr/local/lib/libmysqlclient.$dll_extension \ |
| Line 1665 if test "${with_pgsql_client+set}" = set | Line 1675 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:1669: checking for pgsql client" >&5 | echo "configure:1679: checking for pgsql client" >&5 |
| for lib in \ | for lib in \ |
| /usr/local/pgsql/lib/libpq.$dll_extension \ | /usr/local/pgsql/lib/libpq.$dll_extension \ |
| /usr/local/lib/libpq.$dll_extension \ | /usr/local/lib/libpq.$dll_extension \ |
| Line 1692 if test "${with_oracle_client+set}" = se | Line 1702 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:1696: checking for oracle client" >&5 | echo "configure:1706: checking for oracle client" >&5 |
| lib=$ORACLE_HOME/lib/libclntsh.$dll_extension | 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 |
| Line 1922 else | Line 1932 else |
| fi | fi |
| LIBLTDL='${top_builddir}/'src/lib/libltdl/libltdlc.a | case "$enable_ltdl_convenience" in |
| INCLTDL='-I${top_srcdir}/'src/lib/libltdl | no) { echo "configure: error: this package needs a convenience libltdl" 1>&2; exit 1; } ;; |
| "") enable_ltdl_convenience=yes | |
| ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; | |
| esac | |
| LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a | |
| INCLTDL='-I${top_srcdir}/'src/lib/ltdl | |
| 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:1936: checking for dlopen in -ldl" >&5 | echo "configure:1951: 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 1940 else | Line 1955 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 1944 "configure" | #line 1959 "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 1954 int main() { | Line 1969 int main() { |
| dlopen() | dlopen() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1973: \"$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 1976 EOF | Line 1991 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:1980: checking for dlopen" >&5 | echo "configure:1995: 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 1985 "configure" | #line 2000 "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 2007 dlopen(); | Line 2022 dlopen(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2026: \"$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 2032 fi | Line 2047 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:2036: checking for shl_load" >&5 | echo "configure:2051: 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 2041 "configure" | #line 2056 "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 2063 shl_load(); | Line 2078 shl_load(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2082: \"$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 2084 EOF | Line 2099 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:2088: checking for shl_load in -ldld" >&5 | echo "configure:2103: 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 2092 else | Line 2107 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 2096 "configure" | #line 2111 "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 2106 int main() { | Line 2121 int main() { |
| shl_load() | shl_load() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2125: \"$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 2132 fi | Line 2147 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:2136: checking for dld_link in -ldld" >&5 | echo "configure:2151: 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 2140 else | Line 2155 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 2144 "configure" | #line 2159 "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 2154 int main() { | Line 2169 int main() { |
| dld_link() | dld_link() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2173: \"$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 2185 if test "x$ac_cv_func_dlopen" = xyes || | Line 2200 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:2189: checking for $ac_func" >&5 | echo "configure:2204: 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 2194 "configure" | #line 2209 "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 2216 $ac_func(); | Line 2231 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2235: \"$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 2243 done | Line 2258 done |
| LIBS="$LIBS_SAVE" | LIBS="$LIBS_SAVE" |
| fi | fi |
| # Check whether --enable-shared or --disable-shared was given. | |
| if test "${enable_shared+set}" = set; then | |
| enableval="$enable_shared" | |
| p=${PACKAGE-default} | |
| case "$enableval" in | |
| yes) enable_shared=yes ;; | |
| no) enable_shared=no ;; | |
| *) | |
| enable_shared=no | |
| # Look at the argument we got. We use all the common list separators. | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
| for pkg in $enableval; do | |
| if test "X$pkg" = "X$p"; then | |
| enable_shared=yes | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| ;; | |
| esac | |
| else | |
| enable_shared=yes | |
| fi | |
| # Check whether --enable-static or --disable-static was given. | |
| if test "${enable_static+set}" = set; then | |
| enableval="$enable_static" | |
| p=${PACKAGE-default} | |
| case "$enableval" in | |
| yes) enable_static=yes ;; | |
| no) enable_static=no ;; | |
| *) | |
| enable_static=no | |
| # Look at the argument we got. We use all the common list separators. | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
| for pkg in $enableval; do | |
| if test "X$pkg" = "X$p"; then | |
| enable_static=yes | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| ;; | |
| esac | |
| else | |
| enable_static=yes | |
| fi | |
| # Check whether --enable-fast-install or --disable-fast-install was given. | |
| if test "${enable_fast_install+set}" = set; then | |
| enableval="$enable_fast_install" | |
| p=${PACKAGE-default} | |
| case "$enableval" in | |
| yes) enable_fast_install=yes ;; | |
| no) enable_fast_install=no ;; | |
| *) | |
| enable_fast_install=no | |
| # Look at the argument we got. We use all the common list separators. | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | |
| for pkg in $enableval; do | |
| if test "X$pkg" = "X$p"; then | |
| enable_fast_install=yes | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| ;; | |
| esac | |
| else | |
| enable_fast_install=yes | |
| fi | |
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | |
| echo "configure:2332: checking build system type" >&5 | |
| build_alias=$build | |
| case "$build_alias" in | |
| NONE) | |
| case $nonopt in | |
| NONE) build_alias=$host_alias ;; | |
| *) build_alias=$nonopt ;; | |
| esac ;; | |
| esac | |
| build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | |
| build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| echo "$ac_t""$build" 1>&6 | |
| # Check whether --with-gnu-ld or --without-gnu-ld was given. | |
| if test "${with_gnu_ld+set}" = set; then | |
| withval="$with_gnu_ld" | |
| test "$withval" = no || with_gnu_ld=yes | |
| else | |
| with_gnu_ld=no | |
| fi | |
| ac_prog=ld | |
| if test "$ac_cv_prog_gcc" = yes; then | |
| # Check if gcc -print-prog-name=ld gives a path. | |
| echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | |
| echo "configure:2361: checking for ld used by GCC" >&5 | |
| ac_prog=`($CC -print-prog-name=ld) 2>&5` | |
| case "$ac_prog" in | |
| # Accept absolute paths. | |
| [\\/]* | [A-Za-z]:[\\/]*) | |
| re_direlt='/[^/][^/]*/\.\./' | |
| # Canonicalize the path of ld | |
| ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | |
| while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | |
| ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | |
| done | |
| test -z "$LD" && LD="$ac_prog" | |
| ;; | |
| "") | |
| # If it fails, then pretend we aren't using GCC. | |
| ac_prog=ld | |
| ;; | |
| *) | |
| # If it is relative, then search for the first ld in PATH. | |
| with_gnu_ld=unknown | |
| ;; | |
| esac | |
| elif test "$with_gnu_ld" = yes; then | |
| echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | |
| echo "configure:2385: checking for GNU ld" >&5 | |
| else | |
| echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | |
| echo "configure:2388: checking for non-GNU ld" >&5 | |
| fi | |
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -z "$LD"; then | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | |
| for ac_dir in $PATH; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |
| ac_cv_path_LD="$ac_dir/$ac_prog" | |
| # Check to see if the program is GNU ld. I'd rather use --version, | |
| # but apparently some GNU ld's only accept -v. | |
| # Break only if it was the GNU/non-GNU ld that we prefer. | |
| if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
| test "$with_gnu_ld" != no && break | |
| else | |
| test "$with_gnu_ld" != yes && break | |
| fi | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| else | |
| ac_cv_path_LD="$LD" # Let the user override the test with a path. | |
| fi | |
| fi | |
| LD="$ac_cv_path_LD" | |
| if test -n "$LD"; then | |
| echo "$ac_t""$LD" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | |
| echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | |
| echo "configure:2423: checking if the linker ($LD) is GNU ld" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |
| if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
| ac_cv_prog_gnu_ld=yes | |
| else | |
| ac_cv_prog_gnu_ld=no | |
| fi | |
| fi | |
| echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | |
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | |
| echo "configure:2439: checking for BSD-compatible nm" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$NM"; then | |
| # Let the user override the test. | |
| ac_cv_path_NM="$NM" | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | |
| for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then | |
| # Check to see if the nm accepts a BSD-compat flag. | |
| # Adding the `sed 1q' prevents false positives on HP-UX, which says: | |
| # nm: unknown option "B" ignored | |
| if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | |
| ac_cv_path_NM="$ac_dir/nm -B" | |
| break | |
| elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | |
| ac_cv_path_NM="$ac_dir/nm -p" | |
| break | |
| else | |
| ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but | |
| continue # so that we can try to find one that supports BSD flags | |
| fi | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm | |
| fi | |
| fi | |
| NM="$ac_cv_path_NM" | |
| echo "$ac_t""$NM" 1>&6 | |
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | |
| echo "configure:2475: checking whether ln -s works" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| rm -f conftestdata | |
| if ln -s X conftestdata 2>/dev/null | |
| then | |
| rm -f conftestdata | |
| ac_cv_prog_LN_S="ln -s" | |
| else | |
| ac_cv_prog_LN_S=ln | |
| fi | |
| fi | |
| LN_S="$ac_cv_prog_LN_S" | |
| if test "$ac_cv_prog_LN_S" = "ln -s"; then | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| case "$target" in | |
| NONE) lt_target="$host" ;; | |
| *) lt_target="$target" ;; | |
| esac | |
| # Check for any special flags to pass to ltconfig. | |
| libtool_flags="--cache-file=$cache_file" | |
| test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" | |
| test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" | |
| test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" | |
| test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" | |
| test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" | |
| # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | |
| if test "${enable_libtool_lock+set}" = set; then | |
| enableval="$enable_libtool_lock" | |
| : | |
| fi | |
| test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" | |
| test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | |
| # Some flags need to be propagated to the compiler or linker for good | |
| # libtool support. | |
| case "$lt_target" in | |
| *-*-irix6*) | |
| # Find out which ABI we are using. | |
| echo '#line 2524 "configure"' > conftest.$ac_ext | |
| if { (eval echo configure:2525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| case "`/usr/bin/file conftest.o`" in | |
| *32-bit*) | |
| LD="${LD-ld} -32" | |
| ;; | |
| *N32*) | |
| LD="${LD-ld} -n32" | |
| ;; | |
| *64-bit*) | |
| LD="${LD-ld} -64" | |
| ;; | |
| esac | |
| fi | |
| rm -rf conftest* | |
| ;; | |
| *-*-sco3.2v5*) | |
| # On SCO OpenServer 5, we need -belf to get full-featured binaries. | |
| SAVE_CFLAGS="$CFLAGS" | |
| CFLAGS="$CFLAGS -belf" | |
| echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | |
| echo "configure:2546: checking whether the C compiler needs -belf" >&5 | |
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2551 "configure" | |
| #include "confdefs.h" | |
| int main() { | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| rm -rf conftest* | |
| lt_cv_cc_needs_belf=yes | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| lt_cv_cc_needs_belf=no | |
| fi | |
| rm -f conftest* | |
| fi | |
| echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | |
| if test x"$lt_cv_cc_needs_belf" != x"yes"; then | |
| # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | |
| CFLAGS="$SAVE_CFLAGS" | |
| fi | |
| ;; | |
| esac | |
| # Always use rootdir libtool. | |
| LIBTOOL=paf-dont-use-libtool | |
| 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:2249: checking how to run the C++ preprocessor" >&5 | echo "configure:2587: 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 2258 ac_link='${CXX-g++} -o conftest${ac_exee | Line 2596 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 2262 "configure" | #line 2600 "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:2267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2605: \"$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 2288 CXXCPP="$ac_cv_prog_CXXCPP" | Line 2626 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:2292: checking for ANSI C header files" >&5 | echo "configure:2630: 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 2297 "configure" | #line 2635 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 2301 else | Line 2639 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:2305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2643: \"$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 2318 rm -f conftest* | Line 2656 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 2322 "configure" | #line 2660 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 2336 fi | Line 2674 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 2340 "configure" | #line 2678 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 2357 if test "$cross_compiling" = yes; then | Line 2695 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2361 "configure" | #line 2699 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int); | extern "C" void exit(int); |
| Line 2371 if (XOR (islower (i), ISLOWER (i)) || to | Line 2709 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 2395 EOF | Line 2733 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:2399: checking for size_t" >&5 | echo "configure:2737: 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 2404 "configure" | #line 2742 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2428 EOF | Line 2766 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:2432: checking for off_t" >&5 | echo "configure:2770: 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 2437 "configure" | #line 2775 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2461 EOF | Line 2799 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:2465: checking for ssize_t" >&5 | echo "configure:2803: 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 2470 "configure" | #line 2808 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2497 fi | Line 2835 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:2501: checking whether time.h and sys/time.h may both be included" >&5 | echo "configure:2839: 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 2506 "configure" | #line 2844 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #include <sys/time.h> | #include <sys/time.h> |
| Line 2511 int main() { | Line 2849 int main() { |
| struct tm *tp; | struct tm *tp; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:2853: \"$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 2566 netdb.h | Line 2904 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:2570: checking for $ac_hdr" >&5 | echo "configure:2908: 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 2575 "configure" | #line 2913 "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:2580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2918: \"$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 2607 done | Line 2945 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:2611: checking for main in -lxnet" >&5 | echo "configure:2949: 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 2615 else | Line 2953 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 2619 "configure" | #line 2957 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2964: \"$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 2652 fi | Line 2990 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:2656: checking for main in -lsocket" >&5 | echo "configure:2994: 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 2660 else | Line 2998 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 2664 "configure" | #line 3002 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3009: \"$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 2695 else | Line 3033 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:2699: checking for main in -lnsl" >&5 | echo "configure:3037: 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 2703 else | Line 3041 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 2707 "configure" | #line 3045 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3052: \"$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 2740 fi | Line 3078 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:2744: checking for gethostbyname in -lnsl" >&5 | echo "configure:3082: 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 2748 else | Line 3086 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 2752 "configure" | #line 3090 "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 2762 int main() { | Line 3100 int main() { |
| gethostbyname() | gethostbyname() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3104: \"$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 2790 else | Line 3128 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:2794: checking for socket in -lsocket" >&5 | echo "configure:3132: 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 2798 else | Line 3136 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 2802 "configure" | #line 3140 "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 2812 int main() { | Line 3150 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3154: \"$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 2846 fi | Line 3184 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:2850: checking for socket in -lwsock32" >&5 | echo "configure:3188: 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 2854 else | Line 3192 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 2858 "configure" | #line 3196 "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 2868 int main() { | Line 3206 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3210: \"$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 2899 fi | Line 3237 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:2903: checking for main in -lnsl" >&5 | echo "configure:3241: 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 2907 else | Line 3245 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 2911 "configure" | #line 3249 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3256: \"$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 2945 fi | Line 3283 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:2949: checking for sin in -lm" >&5 | echo "configure:3287: 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 2953 else | Line 3291 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 2957 "configure" | #line 3295 "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 2967 int main() { | Line 3305 int main() { |
| sin() | sin() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3309: \"$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 2996 fi | Line 3334 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:3000: checking for crypt in -lcrypt" >&5 | echo "configure:3338: 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 3004 else | Line 3342 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 3008 "configure" | #line 3346 "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 3018 int main() { | Line 3356 int main() { |
| crypt() | crypt() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3360: \"$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 3061 sigsetjmp siglongjmp | Line 3399 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:3065: checking for $ac_func" >&5 | echo "configure:3403: 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 3070 "configure" | #line 3408 "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 3092 $ac_func(); | Line 3430 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3434: \"$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 3121 done | Line 3459 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:3125: checking for $ac_func" >&5 | echo "configure:3463: 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 3130 "configure" | #line 3468 "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 3152 $ac_func(); | Line 3490 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3494: \"$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 3180 done | Line 3518 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:3184: checking for $ac_func" >&5 | echo "configure:3522: 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 3189 "configure" | #line 3527 "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 3211 $ac_func(); | Line 3549 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:3553: \"$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 3239 done | Line 3577 done |
| echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 | echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 |
| echo "configure:3243: checking for timezone variable" >&5 | echo "configure:3581: checking for timezone variable" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3245 "configure" | #line 3583 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3250 time_t test=timezone; | Line 3588 time_t test=timezone; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_TIMEZONE 1 | #define HAVE_TIMEZONE 1 |
| Line 3266 fi | Line 3604 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for daylight variable""... $ac_c" 1>&6 | echo $ac_n "checking for daylight variable""... $ac_c" 1>&6 |
| echo "configure:3270: checking for daylight variable" >&5 | echo "configure:3608: checking for daylight variable" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3272 "configure" | #line 3610 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3277 int test=daylight; | Line 3615 int test=daylight; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_DAYLIGHT 1 | #define HAVE_DAYLIGHT 1 |
| Line 3293 fi | Line 3631 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
| echo "configure:3297: checking for tm_gmtoff in struct tm" >&5 | echo "configure:3635: checking for tm_gmtoff in struct tm" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3299 "configure" | #line 3637 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3304 tm.tm_gmtoff=0; | Line 3642 tm.tm_gmtoff=0; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_TM_GMTOFF 1 | #define HAVE_TM_GMTOFF 1 |
| Line 3320 fi | Line 3658 fi |
| rm -f conftest* | rm -f conftest* |
| echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6 | echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6 |
| echo "configure:3324: checking for tm_tzadj in struct tm" >&5 | echo "configure:3662: checking for tm_tzadj in struct tm" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3326 "configure" | #line 3664 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | #include <time.h> |
| int main() { | int main() { |
| Line 3331 tm.tm_tzadj=0; | Line 3669 tm.tm_tzadj=0; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| cat >> confdefs.h <<\EOF | cat >> confdefs.h <<\EOF |
| #define HAVE_TM_TZADJ 1 | #define HAVE_TM_TZADJ 1 |
| Line 3348 rm -f conftest* | Line 3686 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:3352: checking whether compiler supports pragma pack" >&5 | echo "configure:3690: checking whether compiler supports pragma pack" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3354 "configure" | #line 3692 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #pragma pack(1) | #pragma pack(1) |
| struct _1_byte { | struct _1_byte { |
| Line 3362 int main() { | Line 3700 int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3704: \"$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 3381 fi | Line 3719 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:3385: checking for set_new_handler" >&5 | echo "configure:3723: checking for set_new_handler" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3387 "configure" | #line 3725 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| Line 3395 std::set_new_handler(failed_new); | Line 3733 std::set_new_handler(failed_new); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:3737: \"$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 3553 done | Line 3891 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/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 | 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 3628 s%@INCLTDL@%$INCLTDL%g | Line 3966 s%@INCLTDL@%$INCLTDL%g |
| s%@LIBLTDL@%$LIBLTDL%g | s%@LIBLTDL@%$LIBLTDL%g |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| s%@LIBADD_DL@%$LIBADD_DL%g | s%@LIBADD_DL@%$LIBADD_DL%g |
| s%@build@%$build%g | |
| s%@build_alias@%$build_alias%g | |
| s%@build_cpu@%$build_cpu%g | |
| s%@build_vendor@%$build_vendor%g | |
| s%@build_os@%$build_os%g | |
| s%@LN_S@%$LN_S%g | |
| s%@LIBTOOL@%$LIBTOOL%g | |
| s%@CXXCPP@%$CXXCPP%g | s%@CXXCPP@%$CXXCPP%g |
| s%@APACHE_LIBS@%$APACHE_LIBS%g | s%@APACHE_LIBS@%$APACHE_LIBS%g |
| s%@charsetsdir@%$charsetsdir%g | s%@charsetsdir@%$charsetsdir%g |
| Line 3673 EOF | Line 4018 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/hook/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 3878 if test "$no_recursion" != yes; then | Line 4223 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. |