|
|
| version 1.18, 2002/04/03 15:08:27 | version 1.54, 2002/12/04 10:23:16 |
|---|---|
| Line 38 ac_help="$ac_help | Line 38 ac_help="$ac_help |
| --with-pathlink=LKEY put dynamic libraries paths to binary | --with-pathlink=LKEY put dynamic libraries paths to binary |
| using linker key (-R, -rpath-link)" | using linker key (-R, -rpath-link)" |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-sjlj-exceptions enable simple 'throw' from dynamic library" | |
| ac_help="$ac_help | |
| --with-glib-config=FILE FILE is glib library | --with-glib-config=FILE FILE is glib library |
| configuration file (search for glib*-config)" | configuration file (search for glib*-config)" |
| ac_help="$ac_help | ac_help="$ac_help |
| Line 47 ac_help="$ac_help | Line 49 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-shared-mailreceive=D is the directory where | |
| Gnome MIME library is installed (shared lib)" | |
| ac_help="$ac_help | |
| --with-static-mailreceive=D is the directory where | |
| Gnome MIME library is installed (static lib)" | |
| ac_help="$ac_help | |
| \"--with-sendmail=COMMAND\" forces this command to send mail. | \"--with-sendmail=COMMAND\" forces this command to send mail. |
| example: \"--with-sendmail=/usr/sbin/sendmail -t\" | example: \"--with-sendmail=/usr/sbin/sendmail -t\" |
| (makes parser ignore user-defined sendmail commands)" | (makes parser ignore user-defined sendmail commands)" |
| Line 54 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 595 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:599: 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 648 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:652: 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 705 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:709: 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 734 fi | Line 752 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 744 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:748: 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 757 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:761: 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 770 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:774: 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 783 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:787: 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 796 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:800: 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 825 else | Line 843 else |
| rm -f $srcdir/src/include/pa_version.h.new | rm -f $srcdir/src/include/pa_version.h.new |
| fi | fi |
| # Make sure we can run config.sub. | |
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | |
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |
| fi | |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | |
| echo "configure:854: checking host system type" >&5 | |
| host_alias=$host | |
| case "$host_alias" in | |
| NONE) | |
| case $nonopt in | |
| NONE) | |
| if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : | |
| else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } | |
| fi ;; | |
| *) host_alias=$nonopt ;; | |
| esac ;; | |
| esac | |
| host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | |
| host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| echo "$ac_t""$host" 1>&6 | |
| # Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), |
| # so one script is as good as another. But avoid the broken or | # so one script is as good as another. But avoid the broken or |
| # incompatible versions: | # incompatible versions: |
| Line 837 fi | Line 884 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:841: 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 889 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 936 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
| echo "configure:941: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | |
| if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftestmake <<\EOF | |
| all: | |
| @echo 'ac_maketemp="${MAKE}"' | |
| EOF | |
| # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
| eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
| if test -n "$ac_maketemp"; then | |
| eval ac_cv_prog_make_${ac_make}_set=yes | |
| else | |
| eval ac_cv_prog_make_${ac_make}_set=no | |
| fi | |
| rm -f conftestmake | |
| fi | |
| if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| SET_MAKE= | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| SET_MAKE="MAKE=${MAKE-make}" | |
| fi | |
| # Extract the first word of "ranlib", so it can be a program name with args. | |
| set dummy ranlib; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:970: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$RANLIB"; then | |
| ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_RANLIB="ranlib" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
| fi | |
| fi | |
| RANLIB="$ac_cv_prog_RANLIB" | |
| if test -n "$RANLIB"; then | |
| echo "$ac_t""$RANLIB" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| for ac_prog in mawk gawk nawk awk | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1002: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AWK"; then | |
| ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AWK="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| AWK="$ac_cv_prog_AWK" | |
| if test -n "$AWK"; then | |
| echo "$ac_t""$AWK" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$AWK" && break | |
| done | |
| for ac_prog in 'bison -y' byacc | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1037: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$YACC"; then | |
| ac_cv_prog_YACC="$YACC" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_YACC="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| YACC="$ac_cv_prog_YACC" | |
| if test -n "$YACC"; then | |
| echo "$ac_t""$YACC" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$YACC" && break | |
| done | |
| test -n "$YACC" || YACC="yacc" | |
| if test "$YACC" != "bison -y"; then | |
| echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 | |
| else | |
| echo $ac_n "checking bison version""... $ac_c" 1>&6 | |
| echo "configure:1071: checking bison version" >&5 | |
| oldIFS=$IFS; IFS=. | |
| set `bison -V | sed -e 's/^GNU Bison version //'` | |
| IFS=$oldIFS | |
| if test "$1" = "1" -a "$2" -lt "25"; then | |
| echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2 | |
| fi | |
| echo "$ac_t""$1.$2 (ok)" 1>&6 | |
| fi | |
| # Extract the first word of "gcc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
| set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:896: 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 922 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:926: 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 973 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:977: 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 1005 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:1009: 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 1016 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 1020 "configure" | #line 1208 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1025: \"$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 1047 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:1051: 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:1056: 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 1061 else | Line 1249 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| 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 | 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 1080 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:1084: 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 1118 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:1122: 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 1129 "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:1136: \"$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 1162 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:1166: 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 1194 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:1198: 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 1205 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 1209 "configure" | #line 1397 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1214: \"$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 1236 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:1240: 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:1245: 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 1250 else | Line 1438 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| 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 | 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 1269 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:1273: 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 1309 cross_compiling=$ac_cv_prog_cxx_cross | Line 1497 cross_compiling=$ac_cv_prog_cxx_cross |
| # Check whether --enable-link-libstdcpp or --disable-link-libstdcpp was given. | # Check whether --enable-link-libstdcpp or --disable-link-libstdcpp was given. |
| if test "${enable_link_libstdcpp+set}" = set; then | if test "${enable_link_libstdcpp+set}" = set; then |
| enableval="$enable_link_libstdcpp" | enableval="$enable_link_libstdcpp" |
| Line 1439 done | Line 1626 done |
| echo $ac_n "checking for dynamic-link library extension""... $ac_c" 1>&6 | |
| echo "configure:1631: checking for dynamic-link library extension" >&5 | |
| case "$host_os" in | |
| hpux9* | hpux10* | hpux11*) | |
| dll_extension=sl | |
| ;; | |
| cygwin) | |
| dll_extension=dll | |
| ;; | |
| *) | |
| dll_extension=so | |
| esac | |
| echo "$ac_t""$dll_extension" 1>&6 | |
| # Check whether --with-mysql-client or --without-mysql-client was given. | # Check whether --with-mysql-client or --without-mysql-client was given. |
| if test "${with_mysql_client+set}" = set; then | if test "${with_mysql_client+set}" = set; then |
| withval="$with_mysql_client" | withval="$with_mysql_client" |
| Line 1446 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:1450: checking for mysql client" >&5 | echo "configure:1652: checking for mysql client" >&5 |
| for lib in \ | for lib in \ |
| /usr/local/lib/mysql/libmysqlclient.so \ | /usr/local/lib/mysql/libmysqlclient.$dll_extension \ |
| /usr/local/lib/libmysqlclient.so \ | /usr/local/lib/libmysqlclient.$dll_extension \ |
| /usr/lib/libmysqlclient.so; do | /usr/lib/libmysqlclient.$dll_extension; do |
| if test -f $lib; then mysql_client=$lib; fi | if test -f $lib; then mysql_client=$lib; fi |
| done | done |
| Line 1473 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:1477: checking for pgsql client" >&5 | echo "configure:1679: checking for pgsql client" >&5 |
| for lib in \ | for lib in \ |
| /usr/local/pgsql/lib/libpq.so \ | /usr/local/pgsql/lib/libpq.$dll_extension \ |
| /usr/local/lib/libpq.so \ | /usr/local/lib/libpq.$dll_extension \ |
| /usr/lib/libpq.so; do | /usr/lib/libpq.$dll_extension; do |
| if test -f $lib; then pgsql_client=$lib; fi | if test -f $lib; then pgsql_client=$lib; fi |
| done | done |
| Line 1500 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:1504: checking for oracle client" >&5 | echo "configure:1706: checking for oracle client" >&5 |
| lib=$ORACLE_HOME/lib/libclntsh.so | lib=$ORACLE_HOME/lib/libclntsh.$dll_extension |
| if test -f $lib; then oracle_client=$lib; fi | if test -f $lib; then oracle_client=$lib; fi |
| if test -z "$oracle_client"; then | if test -z "$oracle_client"; then |
| Line 1526 if test "${with_pathlink+set}" = set; th | Line 1728 if test "${with_pathlink+set}" = set; th |
| fi | fi |
| # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given. | |
| if test "${with_sjlj_exceptions+set}" = set; then | |
| withval="$with_sjlj_exceptions" | |
| cat >> confdefs.h <<\EOF | |
| #define PA_WITH_SJLJ_EXCEPTIONS | |
| EOF | |
| fi | |
| # Check whether --with-glib-config or --without-glib-config was given. | # Check whether --with-glib-config or --without-glib-config was given. |
| Line 1576 EOF | Line 1788 EOF |
| fi | fi |
| # Check whether --with-static-xml or --without-static-xml was given. | # Check whether --with-static-xml or --without-static-xml was given. |
| if test "${with_static_xml+set}" = set; then | if test "${with_static_xml+set}" = set; then |
| withval="$with_static_xml" | withval="$with_static_xml" |
| Line 1613 fi | Line 1824 fi |
| # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given. | |
| if test "${with_shared_mailreceive+set}" = set; then | |
| withval="$with_shared_mailreceive" | |
| GNOME_MIME=$withval | |
| MIMEBIN="$GNOME_MIME/bin" | |
| MIMEINC="$GNOME_MIME/include" | |
| MIMELIB="$GNOME_MIME/lib" | |
| # Check whether --with-sendmail or --without-sendmail was given. | if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then |
| if test "${with_sendmail+set}" = set; then | { echo "configure: error: $GNOME_MIME does not seem to be valid Gnome installation directory" 1>&2; exit 1; } |
| withval="$with_sendmail" | fi |
| cat >> confdefs.h <<EOF | |
| #define PA_FORCED_SENDMAIL "$withval" | |
| EOF | |
| fi | cat >> confdefs.h <<\EOF |
| #define WITH_MAILRECEIVE | |
| EOF | |
| LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | |
| if test -z "$GLIB_CONFIG"; then | |
| GLIB_CONFIG=$MIMEBIN/glib-config | |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=glib-config | |
| fi | |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | |
| # Check whether --with-apache13 or --without-apache13 was given. | MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" |
| if test "${with_apache13+set}" = set; then | MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME" |
| withval="$with_apache13" | if test \! -z "$LD_PATHLINK"; then |
| APACHE13=$withval | MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB" |
| if test \! -f "$APACHE13/src/include/httpd.h"; then | |
| { echo "configure: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" 1>&2; exit 1; } | |
| fi | fi |
| fi | fi |
| # Check whether --with-static-mailreceive or --without-static-mailreceive was given. | |
| if test "${with_static_mailreceive+set}" = set; then | |
| withval="$with_static_mailreceive" | |
| GNOME_MIME=$withval | |
| MIMEBIN="$GNOME_MIME/bin" | |
| MIMEINC="$GNOME_MIME/include" | |
| MIMELIB="$GNOME_MIME/lib" | |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | |
| { echo "configure: error: $GNOME_MIME does not seem to be valid Gnome installation directory" 1>&2; exit 1; } | |
| fi | |
| cat >> confdefs.h <<\EOF | |
| #define WITH_MAILRECEIVE | |
| EOF | |
| if test -n "$APACHE13"; then | |
| COMPILE_APACHE13_MODULE_TRUE= | |
| COMPILE_APACHE13_MODULE_FALSE='#' | |
| else | |
| COMPILE_APACHE13_MODULE_TRUE='#' | |
| COMPILE_APACHE13_MODULE_FALSE= | |
| fi | |
| if test -z "$GLIB_CONFIG"; then | |
| GLIB_CONFIG=$MIMEBIN/glib-config | |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=glib-config | |
| fi | |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` | |
| GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` | |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | |
| MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a" | |
| # Make sure we can run config.sub. | |
| if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | |
| else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |
| fi | fi |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | |
| echo "configure:1659: checking host system type" >&5 | |
| host_alias=$host | |
| case "$host_alias" in | |
| NONE) | |
| case $nonopt in | |
| NONE) | |
| if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : | |
| else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } | |
| fi ;; | |
| *) host_alias=$nonopt ;; | |
| esac ;; | |
| esac | |
| host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | |
| host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
| host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
| host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
| echo "$ac_t""$host" 1>&6 | |
| # 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 | |
| # Find a good install program. We prefer a C program (faster), | |
| # so one script is as good as another. But avoid the broken or | |
| # incompatible versions: | |
| # SysV /etc/install, /usr/sbin/install | |
| # SunOS /usr/etc/install | |
| # IRIX /sbin/install | |
| # AIX /bin/install | |
| # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| # ./install, which can be erroneously created by make from ./install.sh. | |
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | |
| echo "configure:1693: checking for a BSD compatible install" >&5 | |
| if test -z "$INSTALL"; then | |
| if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | |
| for ac_dir in $PATH; do | |
| # Account for people who put trailing slashes in PATH elements. | |
| case "$ac_dir/" in | |
| /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | |
| *) | |
| # OSF1 and SCO ODT 3.0 have their own names for install. | |
| # Don't use installbsd from OSF since it installs stuff as root | |
| # by default. | |
| for ac_prog in ginstall scoinst install; do | |
| if test -f $ac_dir/$ac_prog; then | |
| if test $ac_prog = install && | |
| grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | |
| # AIX install. It has an incompatible calling convention. | |
| : | |
| else | |
| ac_cv_path_install="$ac_dir/$ac_prog -c" | |
| break 2 | |
| fi | |
| fi | |
| done | |
| ;; | |
| esac | |
| done | |
| IFS="$ac_save_IFS" | |
| fi | fi |
| if test "${ac_cv_path_install+set}" = set; then | |
| INSTALL="$ac_cv_path_install" | |
| else | |
| # As a last resort, use the slow shell script. We don't cache a | |
| # path for INSTALL within a source directory, because that will | |
| # break other packages using the cache if that directory is | |
| # removed, or if the path is relative. | |
| INSTALL="$ac_install_sh" | |
| fi | |
| fi | |
| echo "$ac_t""$INSTALL" 1>&6 | |
| # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| # It thinks the first close brace ends the variable substitution. | |
| test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | # Check whether --with-apache13 or --without-apache13 was given. |
| echo "configure:1746: checking whether ${MAKE-make} sets \${MAKE}" >&5 | if test "${with_apache13+set}" = set; then |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | withval="$with_apache13" |
| if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | APACHE13=$withval |
| echo $ac_n "(cached) $ac_c" 1>&6 | if test \! -f "$APACHE13/src/include/httpd.h"; then |
| else | { echo "configure: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" 1>&2; exit 1; } |
| cat > conftestmake <<\EOF | |
| all: | |
| @echo 'ac_maketemp="${MAKE}"' | |
| EOF | |
| # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
| eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
| if test -n "$ac_maketemp"; then | |
| eval ac_cv_prog_make_${ac_make}_set=yes | |
| else | |
| eval ac_cv_prog_make_${ac_make}_set=no | |
| fi | |
| rm -f conftestmake | |
| fi | |
| if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| SET_MAKE= | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| SET_MAKE="MAKE=${MAKE-make}" | |
| fi | |
| # Extract the first word of "ranlib", so it can be a program name with args. | |
| set dummy ranlib; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1775: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$RANLIB"; then | |
| ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_RANLIB="ranlib" | |
| break | |
| fi | fi |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | |
| fi | |
| fi | |
| RANLIB="$ac_cv_prog_RANLIB" | |
| if test -n "$RANLIB"; then | |
| echo "$ac_t""$RANLIB" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| for ac_prog in mawk gawk nawk awk | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1807: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AWK"; then | |
| ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AWK="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| AWK="$ac_cv_prog_AWK" | |
| if test -n "$AWK"; then | |
| echo "$ac_t""$AWK" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | fi |
| test -n "$AWK" && break | |
| done | |
| for ac_prog in 'bison -y' byacc | |
| do | |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| set dummy $ac_prog; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1842: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$YACC"; then | |
| ac_cv_prog_YACC="$YACC" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_YACC="$ac_prog" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| YACC="$ac_cv_prog_YACC" | |
| if test -n "$YACC"; then | |
| echo "$ac_t""$YACC" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| test -n "$YACC" && break | |
| done | |
| test -n "$YACC" || YACC="yacc" | |
| if test "$YACC" != "bison -y"; then | if test -n "$APACHE13"; then |
| echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 | COMPILE_APACHE13_MODULE_TRUE= |
| COMPILE_APACHE13_MODULE_FALSE='#' | |
| else | else |
| echo $ac_n "checking bison version""... $ac_c" 1>&6 | COMPILE_APACHE13_MODULE_TRUE='#' |
| echo "configure:1876: checking bison version" >&5 | COMPILE_APACHE13_MODULE_FALSE= |
| oldIFS=$IFS; IFS=. | |
| set `bison -V | sed -e 's/^GNU Bison version //'` | |
| IFS=$oldIFS | |
| if test "$1" = "1" -a "$2" -lt "25"; then | |
| echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2 | |
| fi | |
| echo "$ac_t""$1.$2 (ok)" 1>&6 | |
| fi | fi |
| LIBLTDL='${top_builddir}/'src/libltdl/libltdlc.a | |
| INCLTDL='-I${top_srcdir}/'src/libltdl | case "$enable_ltdl_convenience" in |
| 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/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:1896: 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 1900 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 1904 "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 1914 int main() { | Line 1969 int main() { |
| dlopen() | dlopen() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1918: \"$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 1936 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:1940: 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 1945 "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 1967 dlopen(); | Line 2022 dlopen(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1971: \"$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 1992 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:1996: 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 2001 "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 2023 shl_load(); | Line 2078 shl_load(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2027: \"$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 2044 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:2048: 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 2052 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 2056 "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 2066 int main() { | Line 2121 int main() { |
| shl_load() | shl_load() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2070: \"$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 2092 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:2096: 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 2100 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 2104 "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 2114 int main() { | Line 2169 int main() { |
| dld_link() | dld_link() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2118: \"$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 2145 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:2149: 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 2154 "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 2176 $ac_func(); | Line 2231 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2180: \"$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 2203 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:2209: 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 2218 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 2222 "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:2227: \"$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 2248 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:2252: 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 2257 "configure" | #line 2635 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 2261 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:2265: \"$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 2278 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 2282 "configure" | #line 2660 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 2296 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 2300 "configure" | #line 2678 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 2317 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 2321 "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 2331 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:2335: \"$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 2355 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:2359: 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 2364 "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 2387 EOF | Line 2765 EOF |
| fi | fi |
| echo $ac_n "checking for off_t""... $ac_c" 1>&6 | |
| echo "configure:2770: checking for off_t" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2775 "configure" | |
| #include "confdefs.h" | |
| #include <sys/types.h> | |
| #if STDC_HEADERS | |
| #include <stdlib.h> | |
| #include <stddef.h> | |
| #endif | |
| EOF | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
| rm -rf conftest* | |
| ac_cv_type_off_t=yes | |
| else | |
| rm -rf conftest* | |
| ac_cv_type_off_t=no | |
| fi | |
| rm -f conftest* | |
| fi | |
| echo "$ac_t""$ac_cv_type_off_t" 1>&6 | |
| if test $ac_cv_type_off_t = no; then | |
| cat >> confdefs.h <<\EOF | |
| #define off_t long | |
| EOF | |
| fi | |
| echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | |
| echo "configure:2803: checking for ssize_t" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2808 "configure" | |
| #include "confdefs.h" | |
| #include <sys/types.h> | |
| #if STDC_HEADERS | |
| #include <stdlib.h> | |
| #include <stddef.h> | |
| #endif | |
| EOF | |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | |
| rm -rf conftest* | |
| ac_cv_type_ssize_t=yes | |
| else | |
| rm -rf conftest* | |
| ac_cv_type_ssize_t=no | |
| fi | |
| rm -f conftest* | |
| fi | |
| echo "$ac_t""$ac_cv_type_ssize_t" 1>&6 | |
| if test $ac_cv_type_ssize_t = no; then | |
| cat >> confdefs.h <<\EOF | |
| #define ssize_t int | |
| EOF | |
| 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:2394: 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 2399 "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 2404 int main() { | Line 2849 int main() { |
| struct tm *tp; | struct tm *tp; |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2408: \"$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 2425 EOF | Line 2870 EOF |
| fi | fi |
| for ac_hdr in unistd.h \ | for ac_hdr in signal.h \ |
| unistd.h \ | |
| process.h \ | process.h \ |
| stddef.h \ | stddef.h \ |
| stdarg.h \ | stdarg.h \ |
| Line 2436 stdio.h \ | Line 2882 stdio.h \ |
| errno.h \ | errno.h \ |
| ctype.h \ | ctype.h \ |
| math.h \ | math.h \ |
| crypt.h \ | |
| time.h sys/time.h \ | time.h sys/time.h \ |
| stdlib.h \ | stdlib.h \ |
| string.h \ | string.h \ |
| Line 2447 sys/file.h \ | Line 2894 sys/file.h \ |
| sys/locking.h \ | sys/locking.h \ |
| sys/types.h \ | sys/types.h \ |
| sys/select.h \ | sys/select.h \ |
| sys/resource.h | sys/resource.h \ |
| winsock.h \ | |
| sys/socket.h \ | |
| netinet/in.h \ | |
| arpa/inet.h \ | |
| netdb.h | |
| do | do |
| ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| echo "configure:2456: 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 2461 "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:2466: \"$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 2493 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:2497: 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 2501 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 2505 "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:2512: \"$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 2538 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:2542: 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 2546 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 2550 "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:2557: \"$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 2581 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:2585: 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 2589 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 2593 "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:2600: \"$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 2626 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:2630: 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 2634 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 2638 "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 2648 int main() { | Line 3100 int main() { |
| gethostbyname() | gethostbyname() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2652: \"$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 2676 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:2680: 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 2684 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 2688 "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 2698 int main() { | Line 3150 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2702: \"$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 2732 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:2736: 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 2740 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 2744 "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 2754 int main() { | Line 3206 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2758: \"$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 2782 else | Line 3234 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:3241: 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 3249 "configure" | |
| #include "confdefs.h" | |
| int main() { | |
| main() | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3256: \"$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:2789: 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 2793 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 2797 "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 2807 int main() { | Line 3305 int main() { |
| sin() | sin() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2811: \"$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 2835 else | Line 3333 else |
| fi | fi |
| echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | |
| echo "configure:3338: checking for crypt in -lcrypt" >&5 | |
| ac_lib_var=`echo crypt'_'crypt | 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="-lcrypt $LIBS" | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3346 "configure" | |
| #include "confdefs.h" | |
| /* Override any gcc2 internal prototype to avoid an error. */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| /* We use char because int might match the return type of a gcc2 | |
| builtin and then its argument prototype would still apply. */ | |
| char crypt(); | |
| int main() { | |
| crypt() | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3360: \"$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 crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| cat >> confdefs.h <<EOF | |
| #define $ac_tr_lib 1 | |
| EOF | |
| LIBS="-lcrypt $LIBS" | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| for ac_func in trunc \ | for ac_func in trunc \ |
| round \ | round \ |
| Line 2843 flock \ | Line 3392 flock \ |
| _locking \ | _locking \ |
| fcntl \ | fcntl \ |
| lockf \ | lockf \ |
| getrusage | getrusage \ |
| gettimeofday \ | |
| crypt \ | |
| sigsetjmp siglongjmp | |
| do | do |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "configure:2851: 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 2856 "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 2878 $ac_func(); | Line 3430 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2882: \"$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 2907 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:2911: 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 2916 "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 2938 $ac_func(); | Line 3490 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2942: \"$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 2966 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:2970: 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 2975 "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 2997 $ac_func(); | Line 3549 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3001: \"$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 3023 fi | Line 3575 fi |
| done | done |
| echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 | |
| echo "configure:3028: checking whether compiler supports pragma pack" >&5 | echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 |
| echo "configure:3581: checking for timezone variable" >&5 | |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 3030 "configure" | #line 3583 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <time.h> | |
| int main() { | |
| time_t test=timezone; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_TIMEZONE 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking for daylight variable""... $ac_c" 1>&6 | |
| echo "configure:3608: checking for daylight variable" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3610 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | int main() { |
| int test=daylight; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_DAYLIGHT 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | |
| echo "configure:3635: checking for tm_gmtoff in struct tm" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3637 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | |
| struct tm tm; | |
| tm.tm_gmtoff=0; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_TM_GMTOFF 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6 | |
| echo "configure:3662: checking for tm_tzadj in struct tm" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3664 "configure" | |
| #include "confdefs.h" | |
| #include <time.h> | |
| int main() { | |
| struct tm tm; | |
| tm.tm_tzadj=0; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:3673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_TM_TZADJ 1 | |
| EOF | |
| echo "$ac_t""yes" 1>&6 | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| rm -f conftest* | |
| echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 | |
| echo "configure:3690: checking whether compiler supports pragma pack" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 3692 "configure" | |
| #include "confdefs.h" | |
| #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:3044: \"$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 3059 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:3063: 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 3065 "configure" | #line 3725 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| Line 3073 std::set_new_handler(failed_new); | Line 3733 std::set_new_handler(failed_new); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:3077: \"$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 3107 e_sysconfdir=$sysconfdir | Line 3767 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 3235 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/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/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 3279 s%@AUTOHEADER@%$AUTOHEADER%g | Line 3935 s%@AUTOHEADER@%$AUTOHEADER%g |
| s%@MAKEINFO@%$MAKEINFO%g | s%@MAKEINFO@%$MAKEINFO%g |
| s%@SET_MAKE@%$SET_MAKE%g | s%@SET_MAKE@%$SET_MAKE%g |
| s%@P3S@%$P3S%g | s%@P3S@%$P3S%g |
| s%@host@%$host%g | |
| s%@host_alias@%$host_alias%g | |
| s%@host_cpu@%$host_cpu%g | |
| s%@host_vendor@%$host_vendor%g | |
| s%@host_os@%$host_os%g | |
| s%@RANLIB@%$RANLIB%g | |
| s%@AWK@%$AWK%g | |
| s%@YACC@%$YACC%g | |
| s%@CC@%$CC%g | s%@CC@%$CC%g |
| s%@CXX@%$CXX%g | s%@CXX@%$CXX%g |
| s%@DO_NOT_LINK_LIBSTDCPP_TRUE@%$DO_NOT_LINK_LIBSTDCPP_TRUE%g | s%@DO_NOT_LINK_LIBSTDCPP_TRUE@%$DO_NOT_LINK_LIBSTDCPP_TRUE%g |
| Line 3287 s%@commentcharset_windows1251@%$commentc | Line 3951 s%@commentcharset_windows1251@%$commentc |
| s%@commentcharset_windows1250@%$commentcharset_windows1250%g | s%@commentcharset_windows1250@%$commentcharset_windows1250%g |
| s%@commentcharset_windows1257@%$commentcharset_windows1257%g | s%@commentcharset_windows1257@%$commentcharset_windows1257%g |
| s%@commentcharset_koi8r@%$commentcharset_koi8r%g | s%@commentcharset_koi8r@%$commentcharset_koi8r%g |
| s%@dll_extension@%$dll_extension%g | |
| s%@mysql_client@%$mysql_client%g | s%@mysql_client@%$mysql_client%g |
| s%@pgsql_client@%$pgsql_client%g | s%@pgsql_client@%$pgsql_client%g |
| s%@oracle_client@%$oracle_client%g | s%@oracle_client@%$oracle_client%g |
| s%@XML_INCLUDES@%$XML_INCLUDES%g | s%@XML_INCLUDES@%$XML_INCLUDES%g |
| s%@XML_LIBS@%$XML_LIBS%g | s%@XML_LIBS@%$XML_LIBS%g |
| s%@MIME_INCLUDES@%$MIME_INCLUDES%g | |
| s%@MIME_LIBS@%$MIME_LIBS%g | |
| s%@APACHE13@%$APACHE13%g | s%@APACHE13@%$APACHE13%g |
| s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g | s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g |
| s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g | s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g |
| s%@host@%$host%g | |
| s%@host_alias@%$host_alias%g | |
| s%@host_cpu@%$host_cpu%g | |
| s%@host_vendor@%$host_vendor%g | |
| s%@host_os@%$host_os%g | |
| s%@RANLIB@%$RANLIB%g | |
| s%@AWK@%$AWK%g | |
| s%@YACC@%$YACC%g | |
| s%@INCLTDL@%$INCLTDL%g | s%@INCLTDL@%$INCLTDL%g |
| s%@LIBLTDL@%$LIBLTDL%g | s%@LIBLTDL@%$LIBLTDL%g |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| 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%@rootconfigdir@%$rootconfigdir%g | |
| s%@charsetsdir@%$charsetsdir%g | s%@charsetsdir@%$charsetsdir%g |
| s%@sqldriversdir@%$sqldriversdir%g | s%@sqldriversdir@%$sqldriversdir%g |
| Line 3353 EOF | Line 4018 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/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 3558 if test "$no_recursion" != yes; then | Line 4223 if test "$no_recursion" != yes; then |
| esac | esac |
| done | done |
| for ac_config_dir in src/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. |