|
|
| version 1.2, 2001/08/24 08:57:25 | version 1.5, 2001/08/28 13:35:16 |
|---|---|
| Line 12 ac_help= | Line 12 ac_help= |
| ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
| # Any additions from configure.in: | # Any additions from configure.in: |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-oracleoci_inc[=DIR] DIR is the Oracle OCI includes directory" | |
| ac_help="$ac_help | |
| --with-oraclepublic_inc[=DIR] DIR is the Oracle public includes directory" | |
| ac_help="$ac_help | |
| --enable-shared[=PKGS] build shared libraries [default=yes]" | --enable-shared[=PKGS] build shared libraries [default=yes]" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-static[=PKGS] build static libraries [default=yes]" | --enable-static[=PKGS] build static libraries [default=yes]" |
| Line 21 ac_help="$ac_help | Line 25 ac_help="$ac_help |
| --with-gnu-ld assume the C compiler uses GNU ld [default=no]" | --with-gnu-ld assume the C compiler uses GNU ld [default=no]" |
| ac_help="$ac_help | ac_help="$ac_help |
| --disable-libtool-lock avoid locking (might break parallel builds)" | --disable-libtool-lock avoid locking (might break parallel builds)" |
| ac_help="$ac_help | |
| --with-oracleoci_inc[=DIR] DIR is the Oracle OCI includes directory" | |
| # 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 564 ac_configure=$ac_aux_dir/configure # Thi | Line 566 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:568: checking for a BSD compatible install" >&5 | echo "configure:570: 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 617 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 619 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:621: checking whether build environment is sane" >&5 | echo "configure:623: checking whether build environment is sane" >&5 |
| # Just in case | # Just in case |
| sleep 1 | sleep 1 |
| echo timestamp > conftestfile | echo timestamp > conftestfile |
| Line 674 test "$program_suffix" != NONE && | Line 676 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:678: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:680: 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 713 fi | Line 715 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:717: checking for working aclocal" >&5 | echo "configure:719: 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 726 else | Line 728 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:730: checking for working autoconf" >&5 | echo "configure:732: 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 739 else | Line 741 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:743: checking for working automake" >&5 | echo "configure:745: 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 752 else | Line 754 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:756: checking for working autoheader" >&5 | echo "configure:758: 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 765 else | Line 767 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:769: checking for working makeinfo" >&5 | echo "configure:771: 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 783 fi | Line 785 fi |
| # Check whether --with-oracleoci_inc or --without-oracleoci_inc was given. | |
| if test "${with_oracleoci_inc+set}" = set; then | |
| withval="$with_oracleoci_inc" | |
| : | |
| else | |
| withval="$ORACLE_HOME/rdbms/demo" | |
| fi | |
| ORACLEOCI_INC=$withval | |
| # Check whether --with-oraclepublic_inc or --without-oraclepublic_inc was given. | |
| if test "${with_oraclepublic_inc+set}" = set; then | |
| withval="$with_oraclepublic_inc" | |
| : | |
| else | |
| withval="$ORACLE_HOME/network/public" | |
| fi | |
| ORACLEPUBLIC_INC=$withval | |
| # 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 795 fi | Line 823 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:799: checking for a BSD compatible install" >&5 | echo "configure:827: 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 848 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 876 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:852: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:880: 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 874 else | Line 902 else |
| SET_MAKE="MAKE=${MAKE-make}" | SET_MAKE="MAKE=${MAKE-make}" |
| fi | fi |
| for ac_prog in gawk mawk nawk awk | for ac_prog in mawk gawk nawk awk |
| do | 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:883: checking for $ac_word" >&5 | echo "configure:911: 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 921 do | Line 949 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:925: checking for $ac_word" >&5 | echo "configure:953: 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 953 test -n "$CXX" || CXX="gcc" | Line 981 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:957: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | echo "configure:985: 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 964 cross_compiling=$ac_cv_prog_cxx_cross | Line 992 cross_compiling=$ac_cv_prog_cxx_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 968 "configure" | #line 996 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1001: \"$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 995 if test $ac_cv_prog_cxx_works = no; then | Line 1023 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:999: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1027: 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:1004: checking whether we are using GNU C++" >&5 | echo "configure:1032: 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 1009 else | Line 1037 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1013: \"$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:1041: \"$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 1028 ac_test_CXXFLAGS="${CXXFLAGS+set}" | Line 1056 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:1032: checking whether ${CXX-g++} accepts -g" >&5 | echo "configure:1060: 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 1143 else { echo "configure: error: can not r | Line 1171 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:1147: checking host system type" >&5 | echo "configure:1175: checking host system type" >&5 |
| host_alias=$host | host_alias=$host |
| case "$host_alias" in | case "$host_alias" in |
| Line 1164 host_os=`echo $host | sed 's/^\([^-]*\)- | Line 1192 host_os=`echo $host | sed 's/^\([^-]*\)- |
| echo "$ac_t""$host" 1>&6 | echo "$ac_t""$host" 1>&6 |
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
| echo "configure:1168: checking build system type" >&5 | echo "configure:1196: checking build system type" >&5 |
| build_alias=$build | build_alias=$build |
| case "$build_alias" in | case "$build_alias" in |
| Line 1184 echo "$ac_t""$build" 1>&6 | Line 1212 echo "$ac_t""$build" 1>&6 |
| # 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:1188: checking for $ac_word" >&5 | echo "configure:1216: 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 1214 fi | Line 1242 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:1218: checking for $ac_word" >&5 | echo "configure:1246: 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 1244 if test -z "$CC"; then | Line 1272 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:1248: checking for $ac_word" >&5 | echo "configure:1276: 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 1295 fi | Line 1323 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:1299: checking for $ac_word" >&5 | echo "configure:1327: 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 1327 fi | Line 1355 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:1331: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:1359: 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 1338 cross_compiling=$ac_cv_prog_cc_cross | Line 1366 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1342 "configure" | #line 1370 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1375: \"$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 1369 if test $ac_cv_prog_cc_works = no; then | Line 1397 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:1373: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1401: 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:1378: checking whether we are using GNU C" >&5 | echo "configure:1406: 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 1383 else | Line 1411 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1387: \"$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:1415: \"$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 1402 ac_test_CFLAGS="${CFLAGS+set}" | Line 1430 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:1406: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1434: 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 1445 ac_prog=ld | Line 1473 ac_prog=ld |
| if test "$ac_cv_prog_gcc" = yes; then | if test "$ac_cv_prog_gcc" = yes; then |
| # Check if gcc -print-prog-name=ld gives a path. | # Check if gcc -print-prog-name=ld gives a path. |
| echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| echo "configure:1449: checking for ld used by GCC" >&5 | echo "configure:1477: checking for ld used by GCC" >&5 |
| ac_prog=`($CC -print-prog-name=ld) 2>&5` | ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| case "$ac_prog" in | case "$ac_prog" in |
| # Accept absolute paths. | # Accept absolute paths. |
| Line 1469 echo "configure:1449: checking for ld us | Line 1497 echo "configure:1449: checking for ld us |
| esac | esac |
| elif test "$with_gnu_ld" = yes; then | elif test "$with_gnu_ld" = yes; then |
| echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| echo "configure:1473: checking for GNU ld" >&5 | echo "configure:1501: checking for GNU ld" >&5 |
| else | else |
| echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
| echo "configure:1476: checking for non-GNU ld" >&5 | echo "configure:1504: 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_path_LD'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 1507 else | Line 1535 else |
| fi | fi |
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 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 $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
| echo "configure:1511: checking if the linker ($LD) is GNU ld" >&5 | echo "configure:1539: checking if the linker ($LD) is GNU ld" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1523 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | Line 1551 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 |
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
| echo "configure:1527: checking for BSD-compatible nm" >&5 | echo "configure:1555: checking for BSD-compatible nm" >&5 |
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1559 NM="$ac_cv_path_NM" | Line 1587 NM="$ac_cv_path_NM" |
| echo "$ac_t""$NM" 1>&6 | echo "$ac_t""$NM" 1>&6 |
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| echo "configure:1563: checking whether ln -s works" >&5 | echo "configure:1591: checking whether ln -s works" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1608 test x"$silent" = xyes && libtool_flags= | Line 1636 test x"$silent" = xyes && libtool_flags= |
| case "$lt_target" in | case "$lt_target" in |
| *-*-irix6*) | *-*-irix6*) |
| # Find out which ABI we are using. | # Find out which ABI we are using. |
| echo '#line 1612 "configure"' > conftest.$ac_ext | echo '#line 1640 "configure"' > conftest.$ac_ext |
| if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| case "`/usr/bin/file conftest.o`" in | case "`/usr/bin/file conftest.o`" in |
| *32-bit*) | *32-bit*) |
| LD="${LD-ld} -32" | LD="${LD-ld} -32" |
| Line 1630 case "$lt_target" in | Line 1658 case "$lt_target" in |
| SAVE_CFLAGS="$CFLAGS" | SAVE_CFLAGS="$CFLAGS" |
| CFLAGS="$CFLAGS -belf" | CFLAGS="$CFLAGS -belf" |
| echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
| echo "configure:1634: checking whether the C compiler needs -belf" >&5 | echo "configure:1662: checking whether the C compiler needs -belf" >&5 |
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+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 1639 "configure" | #line 1667 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1674: \"$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 | lt_cv_cc_needs_belf=yes |
| else | else |
| Line 1748 subdirs="libltdl" | Line 1776 subdirs="libltdl" |
| # Check whether --with-oracleoci_inc or --without-oracleoci_inc was given. | |
| if test "${with_oracleoci_inc+set}" = set; then | |
| withval="$with_oracleoci_inc" | |
| : | |
| else | |
| withval="/usr/local/oracleoci/include" | |
| fi | |
| ORACLEOCI_INC=$withval | |
| 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:1769: checking how to run the C++ preprocessor" >&5 | echo "configure:1781: 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 1778 ac_link='${CXX-g++} -o conftest${ac_exee | Line 1790 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 1782 "configure" | #line 1794 "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:1787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:1799: \"$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 1809 echo "$ac_t""$CXXCPP" 1>&6 | Line 1821 echo "$ac_t""$CXXCPP" 1>&6 |
| for ac_hdr in stdio.h \ | for ac_hdr in stdio.h \ |
| stdlib.h \ | stdlib.h \ |
| string.h | string.h \ |
| setjmp.h \ | |
| ctype.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:1818: checking for $ac_hdr" >&5 | echo "configure:1832: 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 1823 "configure" | #line 1837 "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:1828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:1842: \"$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 1853 done | Line 1867 done |
| 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:1857: checking for ANSI C header files" >&5 | echo "configure:1871: 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 1862 "configure" | #line 1876 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 1866 else | Line 1880 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:1870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:1884: \"$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 1883 rm -f conftest* | Line 1897 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 1887 "configure" | #line 1901 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 1901 fi | Line 1915 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 1905 "configure" | #line 1919 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 1922 if test "$cross_compiling" = yes; then | Line 1936 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1926 "configure" | #line 1940 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int) throw(); | extern "C" void exit(int); |
| #endif | #endif |
| #include <ctype.h> | #include <ctype.h> |
| #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| Line 1936 if (XOR (islower (i), ISLOWER (i)) || to | Line 1950 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:1940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 1960 EOF | Line 1974 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:1964: checking for size_t" >&5 | echo "configure:1978: 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 1969 "configure" | #line 1983 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2139 s%@AUTOMAKE@%$AUTOMAKE%g | Line 2153 s%@AUTOMAKE@%$AUTOMAKE%g |
| s%@AUTOHEADER@%$AUTOHEADER%g | 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%@ORACLEOCI_INC@%$ORACLEOCI_INC%g | |
| s%@ORACLEPUBLIC_INC@%$ORACLEPUBLIC_INC%g | |
| s%@AWK@%$AWK%g | s%@AWK@%$AWK%g |
| s%@CXX@%$CXX%g | s%@CXX@%$CXX%g |
| s%@INCLTDL@%$INCLTDL%g | s%@INCLTDL@%$INCLTDL%g |
| Line 2159 s%@CC@%$CC%g | Line 2175 s%@CC@%$CC%g |
| s%@LN_S@%$LN_S%g | s%@LN_S@%$LN_S%g |
| s%@LIBTOOL@%$LIBTOOL%g | s%@LIBTOOL@%$LIBTOOL%g |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| s%@ORACLEOCI_INC@%$ORACLEOCI_INC%g | |
| s%@CXXCPP@%$CXXCPP%g | s%@CXXCPP@%$CXXCPP%g |
| CEOF | CEOF |