|
|
| version 1.2, 2002/01/31 11:11:43 | version 1.8, 2002/02/18 08:39:14 |
|---|---|
| Line 14 ac_default_prefix=/usr/local | Line 14 ac_default_prefix=/usr/local |
| ac_help="$ac_help | ac_help="$ac_help |
| --disable-string-origins to switch off string origin tracking" | --disable-string-origins to switch off string origin tracking" |
| ac_help="$ac_help | ac_help="$ac_help |
| --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 | 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-gnome-xml[=D] D is the directory where | --with-glib-config=FILE FILE is glib library |
| configuration file (search for glib*-config)" | |
| ac_help="$ac_help | |
| --with-gnome-xml=D D is the directory where | |
| Gnome XML libraries are installed" | Gnome XML libraries are installed" |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-db2[=D] D is the DB2 installation directory | --with-db2[=D] D is the DB2 installation directory |
| DO NOT FORGET TO COMPILE DB2 WITH EXCEPTIONS SUPPORT!" | DO NOT FORGET TO COMPILE DB2 WITH EXCEPTIONS SUPPORT!" |
| 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 577 ac_configure=$ac_aux_dir/configure # Thi | Line 570 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:581: checking for a BSD compatible install" >&5 | echo "configure:574: 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 630 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 623 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:634: checking whether build environment is sane" >&5 | echo "configure:627: checking whether build environment is sane" >&5 |
| # Just in case | # Just in case |
| sleep 1 | sleep 1 |
| echo timestamp > conftestfile | echo timestamp > conftestfile |
| Line 687 test "$program_suffix" != NONE && | Line 680 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:691: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:684: 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 726 fi | Line 719 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:730: checking for working aclocal" >&5 | echo "configure:723: 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 739 else | Line 732 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:743: checking for working autoconf" >&5 | echo "configure:736: 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 752 else | Line 745 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:756: checking for working automake" >&5 | echo "configure:749: 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 765 else | Line 758 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:769: checking for working autoheader" >&5 | echo "configure:762: 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 778 else | Line 771 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:782: checking for working makeinfo" >&5 | echo "configure:775: 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 792 fi | Line 785 fi |
| P3S=`pwd` | P3S=`cd $srcdir ; pwd` |
| PARSER_VERSION=$VERSION | PARSER_VERSION=$VERSION |
| echo "/* automatically generated by configure */" > src/include/pa_version.h.new | echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new |
| echo "/* edit configure.in to change version number */" >> src/include/pa_version.h.new | echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> src/include/pa_version.h.new | echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new |
| cmp src/include/pa_version.h.new src/include/pa_version.h >/dev/null 2>&1 | cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 |
| if test $? -ne 0 ; then | if test $? -ne 0 ; then |
| rm -f src/include/pa_version.h && mv src/include/pa_version.h.new src/include/pa_version.h && \ | rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ |
| echo 'Updated src/include/pa_version.h' | echo Updated $srcdir/src/include/pa_version.h |
| else | else |
| rm -f src/include/pa_version.h.new | rm -f $srcdir/src/include/pa_version.h.new |
| fi | fi |
| # Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), |
| Line 819 fi | Line 812 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:823: checking for a BSD compatible install" >&5 | echo "configure:816: 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 874 test -z "$INSTALL_DATA" && INSTALL_DATA= | Line 867 test -z "$INSTALL_DATA" && INSTALL_DATA= |
| # Extract the first word of "gcc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
| set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:878: checking for $ac_word" >&5 | echo "configure:871: 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 904 if test -z "$CC"; then | Line 897 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:908: checking for $ac_word" >&5 | echo "configure:901: 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 955 fi | Line 948 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:959: checking for $ac_word" >&5 | echo "configure:952: 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 987 fi | Line 980 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:991: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:984: 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 998 cross_compiling=$ac_cv_prog_cc_cross | Line 991 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1002 "configure" | #line 995 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1000: \"$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 1029 if test $ac_cv_prog_cc_works = no; then | Line 1022 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:1033: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1026: 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:1038: checking whether we are using GNU C" >&5 | echo "configure:1031: 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 1043 else | Line 1036 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1047: \"$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:1040: \"$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 1062 ac_test_CFLAGS="${CFLAGS+set}" | Line 1055 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:1066: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1059: 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 1100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG | Line 1093 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:1104: checking for inline" >&5 | echo "configure:1097: 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 1111 "configure" | #line 1104 "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:1118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1111: \"$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 1144 do | Line 1137 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:1148: checking for $ac_word" >&5 | echo "configure:1141: 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 1176 test -n "$CXX" || CXX="gcc" | Line 1169 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:1180: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | echo "configure:1173: 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 1187 cross_compiling=$ac_cv_prog_cxx_cross | Line 1180 cross_compiling=$ac_cv_prog_cxx_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1191 "configure" | #line 1184 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1189: \"$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 1218 if test $ac_cv_prog_cxx_works = no; then | Line 1211 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:1222: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1215: 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:1227: checking whether we are using GNU C++" >&5 | echo "configure:1220: 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 1232 else | Line 1225 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1236: \"$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:1229: \"$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 1251 ac_test_CXXFLAGS="${CXXFLAGS+set}" | Line 1244 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:1255: checking whether ${CXX-g++} accepts -g" >&5 | echo "configure:1248: 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 1337 if test "${with_pathlink+set}" = set; th | Line 1330 if test "${with_pathlink+set}" = set; th |
| fi | fi |
| # Check whether --with-glib-config or --without-glib-config was given. | |
| if test "${with_glib_config+set}" = set; then | |
| withval="$with_glib_config" | |
| GLIB_CONFIG=$withval | |
| fi | |
| # Check whether --with-gnome-xml or --without-gnome-xml was given. | # Check whether --with-gnome-xml or --without-gnome-xml was given. |
| if test "${with_gnome_xml+set}" = set; then | if test "${with_gnome_xml+set}" = set; then |
| withval="$with_gnome_xml" | withval="$with_gnome_xml" |
| Line 1371 EOF | Line 1372 EOF |
| if test -z "$LIBEXSLT_SO_NAME"; then | if test -z "$LIBEXSLT_SO_NAME"; then |
| { echo "configure: error: $LIBXML_DIR does not containt EXSLT dynamic library" 1>&2; exit 1; } | { echo "configure: error: $LIBXML_DIR does not containt EXSLT dynamic library" 1>&2; exit 1; } |
| fi | fi |
| GLIB_CONFIG=$XMLBIN_DIR/glib-config | if test -z "$GLIB_CONFIG"; then |
| if test \! -x $GLIB_CONFIG; then | GLIB_CONFIG=$XMLBIN_DIR/glib-config |
| GLIB_CONFIG=glib-config | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | |
| fi | |
| fi | fi |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | GLIB_CFLAGS=`$GLIB_CONFIG --cflags` |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | GLIB_LIBS=`$GLIB_CONFIG --libs` |
| XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC_DIR -I$XMLINC_DIR/libgdome -I$XMLINC_DIR/libxml2" | XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC_DIR -I$XMLINC_DIR/libgdome -I$XMLINC_DIR/libxml2" |
| XML_LIBS="-L$XMLLIB_DIR -lglib -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME" | XML_LIBS="$GLIB_LIBS -L$XMLLIB_DIR -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME" |
| if test \! -z "$LD_PATHLINK"; then | if test \! -z "$LD_PATHLINK"; then |
| XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB_DIR" | XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB_DIR" |
| fi | fi |
| Line 1402 if test "${with_db2+set}" = set; then | Line 1405 if test "${with_db2+set}" = set; then |
| fi | fi |
| echo $ac_n "checking version of LIBDB""... $ac_c" 1>&6 | echo $ac_n "checking version of LIBDB""... $ac_c" 1>&6 |
| echo "configure:1406: checking version of LIBDB" >&5 | echo "configure:1409: checking version of LIBDB" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1408 "configure" | #line 1411 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <$DB2_INST/include/db.h> | #include <$DB2_INST/include/db.h> |
| Line 1419 int main() { | Line 1422 int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| rm -rf conftest* | rm -rf conftest* |
| echo "$ac_t""ok" 1>&6 | echo "$ac_t""ok" 1>&6 |
| Line 1452 else { echo "configure: error: can not r | Line 1455 else { echo "configure: error: can not r |
| fi | fi |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| echo "configure:1456: checking host system type" >&5 | echo "configure:1459: checking host system type" >&5 |
| host_alias=$host | host_alias=$host |
| case "$host_alias" in | case "$host_alias" in |
| Line 1486 echo "$ac_t""$host" 1>&6 | Line 1489 echo "$ac_t""$host" 1>&6 |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
| echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| echo "configure:1490: checking for a BSD compatible install" >&5 | echo "configure:1493: 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 1539 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 1542 test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| echo "configure:1543: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:1546: 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 1568 fi | Line 1571 fi |
| # Extract the first word of "ranlib", so it can be a program name with args. | # Extract the first word of "ranlib", so it can be a program name with args. |
| set dummy ranlib; ac_word=$2 | set dummy ranlib; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:1572: checking for $ac_word" >&5 | echo "configure:1575: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1600 do | Line 1603 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:1604: checking for $ac_word" >&5 | echo "configure:1607: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1635 do | Line 1638 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:1639: checking for $ac_word" >&5 | echo "configure:1642: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1669 if test "$YACC" != "bison -y"; then | Line 1672 if test "$YACC" != "bison -y"; then |
| echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 | echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2 |
| else | else |
| echo $ac_n "checking bison version""... $ac_c" 1>&6 | echo $ac_n "checking bison version""... $ac_c" 1>&6 |
| echo "configure:1673: checking bison version" >&5 | echo "configure:1676: checking bison version" >&5 |
| oldIFS=$IFS; IFS=. | oldIFS=$IFS; IFS=. |
| set `bison -V | sed -e 's/^GNU Bison version //'` | set `bison -V | sed -e 's/^GNU Bison version //'` |
| IFS=$oldIFS | IFS=$oldIFS |
| Line 1679 echo "configure:1673: checking bison ver | Line 1682 echo "configure:1673: checking bison ver |
| echo "$ac_t""$1.$2 (ok)" 1>&6 | echo "$ac_t""$1.$2 (ok)" 1>&6 |
| fi | fi |
| LIBLTDL='${top_builddir}/'src/libltdl/libltdlc.la | LIBLTDL='${top_builddir}/'src/libltdl/libltdlc.a |
| INCLTDL='-I${top_srcdir}/'src/libltdl | INCLTDL='-I${top_srcdir}/'src/libltdl |
| # Check whether --enable-shared or --disable-shared was given. | subdirs="src/libltdl" |
| 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. | LIBADD_DL= |
| if test "${enable_static+set}" = set; then | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| enableval="$enable_static" | echo "configure:1696: checking for dlopen in -ldl" >&5 |
| p=${PACKAGE-default} | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
| case "$enableval" in | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| yes) enable_static=yes ;; | echo $ac_n "(cached) $ac_c" 1>&6 |
| 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 | else |
| enable_static=yes | ac_save_LIBS="$LIBS" |
| fi | LIBS="-ldl $LIBS" |
| cat > conftest.$ac_ext <<EOF | |
| #line 1704 "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 dlopen(); | |
| # Check whether --enable-fast-install or --disable-fast-install was given. | int main() { |
| if test "${enable_fast_install+set}" = set; then | dlopen() |
| enableval="$enable_fast_install" | ; return 0; } |
| p=${PACKAGE-default} | EOF |
| case "$enableval" in | if { (eval echo configure:1718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| yes) enable_fast_install=yes ;; | rm -rf conftest* |
| no) enable_fast_install=no ;; | eval "ac_cv_lib_$ac_lib_var=yes" |
| *) | |
| 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 | else |
| enable_fast_install=yes | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| eval "ac_cv_lib_$ac_lib_var=no" | |
| fi | fi |
| rm -f conftest* | |
| LIBS="$ac_save_LIBS" | |
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | |
| echo "configure:1759: 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:1788: 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:1812: checking for GNU ld" >&5 | |
| else | |
| echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | |
| echo "configure:1815: checking for non-GNU ld" >&5 | |
| fi | fi |
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| echo "$ac_t""yes" 1>&6 | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_LIBDL 1 | |
| EOF | |
| LIBADD_DL="-ldl" | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| echo $ac_n "checking for dlopen""... $ac_c" 1>&6 | |
| echo "configure:1740: checking for dlopen" >&5 | |
| 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 |
| if test -z "$LD"; then | cat > conftest.$ac_ext <<EOF |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | #line 1745 "configure" |
| for ac_dir in $PATH; do | #include "confdefs.h" |
| test -z "$ac_dir" && ac_dir=. | /* System header to define __stub macros and hopefully few prototypes, |
| if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | which can conflict with char dlopen(); below. */ |
| ac_cv_path_LD="$ac_dir/$ac_prog" | #include <assert.h> |
| # Check to see if the program is GNU ld. I'd rather use --version, | /* Override any gcc2 internal prototype to avoid an error. */ |
| # but apparently some GNU ld's only accept -v. | #ifdef __cplusplus |
| # Break only if it was the GNU/non-GNU ld that we prefer. | extern "C" |
| if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | #endif |
| test "$with_gnu_ld" != no && break | /* We use char because int might match the return type of a gcc2 |
| else | builtin and then its argument prototype would still apply. */ |
| test "$with_gnu_ld" != yes && break | char dlopen(); |
| fi | |
| fi | int main() { |
| done | |
| IFS="$ac_save_ifs" | /* The GNU C library defines this for functions which it implements |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_dlopen) || defined (__stub___dlopen) | |
| choke me | |
| #else | |
| dlopen(); | |
| #endif | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| rm -rf conftest* | |
| eval "ac_cv_func_dlopen=yes" | |
| else | else |
| ac_cv_path_LD="$LD" # Let the user override the test with a path. | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| eval "ac_cv_func_dlopen=no" | |
| fi | fi |
| rm -f conftest* | |
| fi | fi |
| LD="$ac_cv_path_LD" | if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then |
| if test -n "$LD"; then | echo "$ac_t""yes" 1>&6 |
| echo "$ac_t""$LD" 1>&6 | cat >> confdefs.h <<\EOF |
| #define HAVE_LIBDL 1 | |
| EOF | |
| else | else |
| echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
| fi | 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 | fi |
| echo "configure:1850: checking if the linker ($LD) is GNU ld" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | echo $ac_n "checking for shl_load""... $ac_c" 1>&6 |
| echo "configure:1796: checking for shl_load" >&5 | |
| 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 |
| # I'd rather use --version here, but apparently some GNU ld's only accept -v. | cat > conftest.$ac_ext <<EOF |
| if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | #line 1801 "configure" |
| ac_cv_prog_gnu_ld=yes | #include "confdefs.h" |
| else | /* System header to define __stub macros and hopefully few prototypes, |
| ac_cv_prog_gnu_ld=no | which can conflict with char shl_load(); below. */ |
| fi | #include <assert.h> |
| fi | /* 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 shl_load(); | |
| echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | int main() { |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_shl_load) || defined (__stub___shl_load) | |
| choke me | |
| #else | |
| shl_load(); | |
| #endif | |
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | ; return 0; } |
| echo "configure:1866: checking for BSD-compatible nm" >&5 | EOF |
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | if { (eval echo configure:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | rm -rf conftest* |
| else | eval "ac_cv_func_shl_load=yes" |
| if test -n "$NM"; then | |
| # Let the user override the test. | |
| ac_cv_path_NM="$NM" | |
| else | else |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | echo "configure: failed program was:" >&5 |
| for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | cat conftest.$ac_ext >&5 |
| test -z "$ac_dir" && ac_dir=. | rm -rf conftest* |
| if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then | eval "ac_cv_func_shl_load=no" |
| # 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 |
| rm -f conftest* | |
| fi | fi |
| NM="$ac_cv_path_NM" | if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then |
| echo "$ac_t""$NM" 1>&6 | echo "$ac_t""yes" 1>&6 |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_SHL_LOAD 1 | |
| EOF | |
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | else |
| echo "configure:1902: checking whether ln -s works" >&5 | echo "$ac_t""no" 1>&6 |
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| echo "configure:1848: checking for shl_load in -ldld" >&5 | |
| ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
| 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 |
| else | else |
| rm -f conftestdata | ac_save_LIBS="$LIBS" |
| if ln -s X conftestdata 2>/dev/null | LIBS="-ldld $LIBS" |
| then | cat > conftest.$ac_ext <<EOF |
| rm -f conftestdata | #line 1856 "configure" |
| ac_cv_prog_LN_S="ln -s" | #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 shl_load(); | |
| int main() { | |
| shl_load() | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:1870: \"$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 | else |
| ac_cv_prog_LN_S=ln | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| eval "ac_cv_lib_$ac_lib_var=no" | |
| fi | fi |
| rm -f conftest* | |
| LIBS="$ac_save_LIBS" | |
| fi | fi |
| LN_S="$ac_cv_prog_LN_S" | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| if test "$ac_cv_prog_LN_S" = "ln -s"; then | |
| echo "$ac_t""yes" 1>&6 | echo "$ac_t""yes" 1>&6 |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_SHL_LOAD 1 | |
| EOF | |
| LIBADD_DL="$LIBADD_DL -ldld" | |
| else | else |
| echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
| fi | fi |
| fi | |
| case "$target" in | echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6 |
| NONE) lt_target="$host" ;; | echo "configure:1896: checking for dld_link in -ldld" >&5 |
| *) lt_target="$target" ;; | ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'` |
| esac | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| # Check for any special flags to pass to ltconfig. | else |
| libtool_flags="--cache-file=$cache_file" | ac_save_LIBS="$LIBS" |
| test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" | LIBS="-ldld $LIBS" |
| test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" | cat > conftest.$ac_ext <<EOF |
| test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" | #line 1904 "configure" |
| test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" | #include "confdefs.h" |
| test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" | /* 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 dld_link(); | |
| int main() { | |
| dld_link() | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:1918: \"$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" | |
| # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | fi |
| if test "${enable_libtool_lock+set}" = set; then | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| enableval="$enable_libtool_lock" | echo "$ac_t""yes" 1>&6 |
| : | cat >> confdefs.h <<\EOF |
| #define HAVE_DLD 1 | |
| EOF | |
| test "x$ac_cv_lib_dld_shl_load" = yes || LIBADD_DL="$LIBADD_DL -ldld" | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | 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 1951 "configure"' > conftest.$ac_ext | |
| if { (eval echo configure:1952: \"$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*) | if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then |
| # On SCO OpenServer 5, we need -belf to get full-featured binaries. | LIBS_SAVE="$LIBS" |
| SAVE_CFLAGS="$CFLAGS" | LIBS="$LIBS $LIBADD_DL" |
| CFLAGS="$CFLAGS -belf" | for ac_func in dlerror |
| echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | do |
| echo "configure:1973: checking whether the C compiler needs -belf" >&5 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | echo "configure:1949: checking for $ac_func" >&5 |
| 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 1978 "configure" | #line 1954 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char $ac_func(); below. */ | |
| #include <assert.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 $ac_func(); | |
| int main() { | int main() { |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| choke me | |
| #else | |
| $ac_func(); | |
| #endif | |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| lt_cv_cc_needs_belf=yes | eval "ac_cv_func_$ac_func=yes" |
| else | else |
| echo "configure: failed program was:" >&5 | echo "configure: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 | cat conftest.$ac_ext >&5 |
| rm -rf conftest* | rm -rf conftest* |
| lt_cv_cc_needs_belf=no | eval "ac_cv_func_$ac_func=no" |
| fi | fi |
| rm -f conftest* | rm -f conftest* |
| fi | fi |
| echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
| if test x"$lt_cv_cc_needs_belf" != x"yes"; then | echo "$ac_t""yes" 1>&6 |
| # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
| CFLAGS="$SAVE_CFLAGS" | cat >> confdefs.h <<EOF |
| fi | #define $ac_tr_func 1 |
| ;; | |
| esac | |
| # Save cache, so that ltconfig can load it | |
| cat > confcache <<\EOF | |
| # This file is a shell script that caches the results of configure | |
| # tests run on this system so they can be shared between configure | |
| # scripts and configure runs. It is not useful on other systems. | |
| # If it contains results you don't want to keep, you may remove or edit it. | |
| # | |
| # By default, configure uses ./config.cache as the cache file, | |
| # creating it if it does not exist already. You can give configure | |
| # the --cache-file=FILE option to use a different cache file; that is | |
| # what configure does when it calls configure scripts in | |
| # subdirectories, so they share the cache. | |
| # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
| # config.status only pays attention to the cache file if you give it the | |
| # --recheck option to rerun configure. | |
| # | |
| EOF | EOF |
| # The following way of writing the cache mishandles newlines in values, | |
| # but we know of no workaround that is simple, portable, and efficient. | |
| # So, don't put newlines in cache variables' values. | |
| # Ultrix sh set writes to stderr and can't be redirected directly, | |
| # and sets the high bit in the cache file unless we assign to the vars. | |
| (set) 2>&1 | | |
| case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
| *ac_space=\ *) | |
| # `set' does not quote correctly, so add quotes (double-quote substitution | |
| # turns \\\\ into \\, and sed turns \\ into \). | |
| sed -n \ | |
| -e "s/'/'\\\\''/g" \ | |
| -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | |
| ;; | |
| *) | |
| # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | |
| ;; | |
| esac >> confcache | |
| if cmp -s $cache_file confcache; then | |
| : | |
| else | else |
| if test -w $cache_file; then | echo "$ac_t""no" 1>&6 |
| echo "updating cache $cache_file" | |
| cat confcache > $cache_file | |
| else | |
| echo "not updating unwritable cache $cache_file" | |
| fi | |
| fi | fi |
| rm -f confcache | done |
| # Actually configure libtool. ac_aux_dir is where install-sh is found. | |
| CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ | |
| LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ | |
| LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ | |
| DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ | |
| ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ | |
| $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ | |
| || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } | |
| # Reload cache, that may have been modified by ltconfig | LIBS="$LIBS_SAVE" |
| if test -r "$cache_file"; then | |
| echo "loading cache $cache_file" | |
| . $cache_file | |
| else | |
| echo "creating cache $cache_file" | |
| > $cache_file | |
| fi | fi |
| # This can be used to rebuild libtool when needed | |
| LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" | |
| # Always use our own libtool. | |
| LIBTOOL='$(SHELL) $(top_builddir)/libtool' | |
| # Redirect the config.log output again, so that the ltconfig log is not | |
| # clobbered by the next message. | |
| exec 5>>./config.log | |
| subdirs="src/libltdl" | |
| 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:2093: checking how to run the C++ preprocessor" >&5 | echo "configure:2009: 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 2102 ac_link='${CXX-g++} -o conftest${ac_exee | Line 2018 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 2106 "configure" | #line 2022 "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:2111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2027: \"$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 2132 CXXCPP="$ac_cv_prog_CXXCPP" | Line 2048 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:2136: checking for ANSI C header files" >&5 | echo "configure:2052: 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 2141 "configure" | #line 2057 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 2145 else | Line 2061 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:2149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2065: \"$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 2162 rm -f conftest* | Line 2078 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 2166 "configure" | #line 2082 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 2180 fi | Line 2096 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 2184 "configure" | #line 2100 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 2201 if test "$cross_compiling" = yes; then | Line 2117 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2205 "configure" | #line 2121 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int); | extern "C" void exit(int); |
| Line 2215 if (XOR (islower (i), ISLOWER (i)) || to | Line 2131 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:2135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 2239 EOF | Line 2155 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:2243: checking for size_t" >&5 | echo "configure:2159: 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 2248 "configure" | #line 2164 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2273 fi | Line 2189 fi |
| echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | |
| echo "configure:2194: checking whether time.h and sys/time.h may both be included" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2199 "configure" | |
| #include "confdefs.h" | |
| #include <sys/types.h> | |
| #include <sys/time.h> | |
| #include <time.h> | |
| int main() { | |
| struct tm *tp; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| ac_cv_header_time=yes | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| ac_cv_header_time=no | |
| fi | |
| rm -f conftest* | |
| fi | |
| echo "$ac_t""$ac_cv_header_time" 1>&6 | |
| if test $ac_cv_header_time = yes; then | |
| cat >> confdefs.h <<\EOF | |
| #define TIME_WITH_SYS_TIME 1 | |
| EOF | |
| fi | |
| for ac_hdr in unistd.h \ | for ac_hdr in unistd.h \ |
| process.h \ | process.h \ |
| stddef.h \ | stddef.h \ |
| Line 2284 stdio.h \ | Line 2236 stdio.h \ |
| errno.h \ | errno.h \ |
| ctype.h \ | ctype.h \ |
| math.h \ | math.h \ |
| time.h \ | time.h sys/time.h \ |
| stdlib.h \ | stdlib.h \ |
| string.h \ | string.h \ |
| direct.h \ | direct.h \ |
| Line 2293 memory.h \ | Line 2245 memory.h \ |
| new \ | new \ |
| sys/file.h \ | sys/file.h \ |
| sys/locking.h \ | sys/locking.h \ |
| sys/types.h | sys/types.h \ |
| sys/select.h \ | |
| sys/resource.h | |
| do | do |
| ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| echo "configure:2302: checking for $ac_hdr" >&5 | echo "configure:2256: 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 2307 "configure" | #line 2261 "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:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2266: \"$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 2339 done | Line 2293 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:2343: checking for main in -lxnet" >&5 | echo "configure:2297: 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 2347 else | Line 2301 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 2351 "configure" | #line 2305 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2312: \"$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 2384 fi | Line 2338 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:2388: checking for main in -lsocket" >&5 | echo "configure:2342: 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 2392 else | Line 2346 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 2396 "configure" | #line 2350 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2357: \"$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 2427 else | Line 2381 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:2431: checking for main in -lnsl" >&5 | echo "configure:2385: 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 2435 else | Line 2389 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 2439 "configure" | #line 2393 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| main() | main() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2400: \"$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 2472 fi | Line 2426 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:2476: checking for gethostbyname in -lnsl" >&5 | echo "configure:2430: 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 2480 else | Line 2434 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 2484 "configure" | #line 2438 "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 2494 int main() { | Line 2448 int main() { |
| gethostbyname() | gethostbyname() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2452: \"$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 2522 else | Line 2476 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:2526: checking for socket in -lsocket" >&5 | echo "configure:2480: 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 2530 else | Line 2484 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 2534 "configure" | #line 2488 "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 2544 int main() { | Line 2498 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2502: \"$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 2578 fi | Line 2532 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:2582: checking for socket in -lwsock32" >&5 | echo "configure:2536: 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 2586 else | Line 2540 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 2590 "configure" | #line 2544 "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 2600 int main() { | Line 2554 int main() { |
| socket() | socket() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2558: \"$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 2631 fi | Line 2585 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:2635: checking for sin in -lm" >&5 | echo "configure:2589: 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 2639 else | Line 2593 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 2643 "configure" | #line 2597 "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 2653 int main() { | Line 2607 int main() { |
| sin() | sin() |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2611: \"$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 2687 round \ | Line 2641 round \ |
| sign \ | sign \ |
| flock \ | flock \ |
| _locking \ | _locking \ |
| lockf | fcntl \ |
| lockf \ | |
| getrusage | |
| do | do |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| echo "configure:2695: checking for $ac_func" >&5 | echo "configure:2651: 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 2700 "configure" | #line 2656 "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 2722 $ac_func(); | Line 2678 $ac_func(); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:2682: \"$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 2747 fi | Line 2703 fi |
| done | done |
| for ac_func in qsort | |
| do | |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| echo "configure:2711: checking for $ac_func" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2716 "configure" | |
| #include "confdefs.h" | |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char $ac_func(); below. */ | |
| #include <assert.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 $ac_func(); | |
| int main() { | |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| choke me | |
| #else | |
| $ac_func(); | |
| #endif | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| rm -rf conftest* | |
| eval "ac_cv_func_$ac_func=yes" | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| eval "ac_cv_func_$ac_func=no" | |
| fi | |
| rm -f conftest* | |
| fi | |
| if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| cat >> confdefs.h <<EOF | |
| #define $ac_tr_func 1 | |
| EOF | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| { echo "configure: error: No qsort library function." 1>&2; exit 1; } | |
| fi | |
| done | |
| for ac_func in select | |
| do | |
| echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| echo "configure:2770: checking for $ac_func" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2775 "configure" | |
| #include "confdefs.h" | |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char $ac_func(); below. */ | |
| #include <assert.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 $ac_func(); | |
| int main() { | |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| choke me | |
| #else | |
| $ac_func(); | |
| #endif | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| rm -rf conftest* | |
| eval "ac_cv_func_$ac_func=yes" | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| eval "ac_cv_func_$ac_func=no" | |
| fi | |
| rm -f conftest* | |
| fi | |
| if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| echo "$ac_t""yes" 1>&6 | |
| ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| cat >> confdefs.h <<EOF | |
| #define $ac_tr_func 1 | |
| EOF | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| { echo "configure: error: No select library function." 1>&2; exit 1; } | |
| fi | |
| done | |
| echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 | echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6 |
| echo "configure:2752: checking whether compiler supports pragma pack" >&5 | echo "configure:2828: checking whether compiler supports pragma pack" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2754 "configure" | #line 2830 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| Line 2764 if(sizeof(must_be_1_byte)!=1) | Line 2840 if(sizeof(must_be_1_byte)!=1) |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:2844: \"$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 2783 fi | Line 2859 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:2787: checking for set_new_handler" >&5 | echo "configure:2863: checking for set_new_handler" >&5 |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 2789 "configure" | #line 2865 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef HAVE_NEW | #ifdef HAVE_NEW |
| #include <new> | #include <new> |
| Line 2797 std::set_new_handler(failed_new); | Line 2873 std::set_new_handler(failed_new); |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:2877: \"$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 2817 rm -f conftest* | Line 2893 rm -f conftest* |
| APACHE_LIBS=$LIBS | APACHE_LIBS="$LIBS $LIBADD_DL" |
| echo $ac_n "checking for __builtin_new in -lstdc++""... $ac_c" 1>&6 | |
| echo "configure:2823: checking for __builtin_new in -lstdc++" >&5 | |
| ac_lib_var=`echo stdc++'_'__builtin_new | 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="-lstdc++ $LIBS" | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2831 "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 __builtin_new(); | |
| int main() { | |
| __builtin_new() | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2845: \"$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 | |
| APACHE_LIBS="$APACHE_LIBS -lstdc++" | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| # expand apostrophed | # expand apostrophed |
| e_prefix=$prefix | |
| test "x$e_prefix" = xNONE && e_prefix=$ac_default_prefix | |
| e_sysconfdir=$sysconfdir | e_sysconfdir=$sysconfdir |
| test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${prefix}/etc" | test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc" |
| rootconfigdir=$e_sysconfdir | rootconfigdir=$e_sysconfdir |
| Line 2999 done | Line 3034 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/main/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 etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | trap 'rm -fr `echo "Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile 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 3062 s%@AWK@%$AWK%g | Line 3097 s%@AWK@%$AWK%g |
| s%@YACC@%$YACC%g | s%@YACC@%$YACC%g |
| s%@INCLTDL@%$INCLTDL%g | s%@INCLTDL@%$INCLTDL%g |
| s%@LIBLTDL@%$LIBLTDL%g | s%@LIBLTDL@%$LIBLTDL%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%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g | |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| s%@LIBADD_DL@%$LIBADD_DL%g | |
| s%@CXXCPP@%$CXXCPP%g | s%@CXXCPP@%$CXXCPP%g |
| s%@APACHE_LIBS@%$APACHE_LIBS%g | s%@APACHE_LIBS@%$APACHE_LIBS%g |
| s%@rootconfigdir@%$rootconfigdir%g | s%@rootconfigdir@%$rootconfigdir%g |
| Line 3118 EOF | Line 3145 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/main/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 etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile"} | CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile"} |
| 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 3395 if test "$no_recursion" != yes; then | Line 3422 if test "$no_recursion" != yes; then |
| done | done |
| fi | fi |