|
|
| version 1.1.1.1, 2001/09/21 15:43:55 | version 1.9, 2002/11/28 09:03:23 |
|---|---|
| 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" | --with-oracleoci-inc[=DIR] DIR is the Oracle OCI includes directory" |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-oraclepublic_inc[=DIR] DIR is the Oracle public includes directory" | --with-oraclepublic-inc[=DIR] DIR is the Oracle public includes directory" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-shared[=PKGS] build shared libraries [default=yes]" | --enable-static[=PKGS] build static libraries [default=no]" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-static[=PKGS] build static libraries [default=yes]" | --enable-shared[=PKGS] build shared libraries [default=yes]" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" | --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" |
| ac_help="$ac_help | ac_help="$ac_help |
| Line 703 else | Line 703 else |
| fi | fi |
| PACKAGE=parser3oracleclient | PACKAGE=parser3oracle |
| VERSION=3.0g | VERSION=3.0.HEAD |
| if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
| { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
| Line 786 fi | Line 786 fi |
| # Check whether --with-oracleoci_inc or --without-oracleoci_inc was given. | # Check whether --with-oracleoci-inc or --without-oracleoci-inc was given. |
| if test "${with_oracleoci_inc+set}" = set; then | if test "${with_oracleoci_inc+set}" = set; then |
| withval="$with_oracleoci_inc" | withval="$with_oracleoci_inc" |
| : | : |
| Line 795 else | Line 795 else |
| fi | fi |
| ORACLEOCI_INC=$withval | ORACLE_OCI_INC=$withval |
| # Check whether --with-oraclepublic_inc or --without-oraclepublic_inc was given. | if test \! -f "$ORACLE_OCI_INC/oci.h"; then |
| { echo "configure: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" 1>&2; exit 1; } | |
| fi | |
| # Check whether --with-oraclepublic-inc or --without-oraclepublic-inc was given. | |
| if test "${with_oraclepublic_inc+set}" = set; then | if test "${with_oraclepublic_inc+set}" = set; then |
| withval="$with_oraclepublic_inc" | withval="$with_oraclepublic_inc" |
| : | : |
| Line 807 else | Line 812 else |
| fi | fi |
| ORACLEPUBLIC_INC=$withval | ORACLE_PUBLIC_INC=$withval |
| if test \! -f "$ORACLE_PUBLIC_INC/nzt.h"; then | |
| { echo "configure: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" 1>&2; exit 1; } | |
| fi | |
| # Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), |
| Line 823 ORACLEPUBLIC_INC=$withval | Line 832 ORACLEPUBLIC_INC=$withval |
| # 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:827: checking for a BSD compatible install" >&5 | echo "configure:836: 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 876 test -z "$INSTALL_SCRIPT" && INSTALL_SCR | Line 885 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:880: checking whether ${MAKE-make} sets \${MAKE}" >&5 | echo "configure:889: 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 907 do | Line 916 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:911: checking for $ac_word" >&5 | echo "configure:920: 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 949 do | Line 958 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:953: checking for $ac_word" >&5 | echo "configure:962: 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 981 test -n "$CXX" || CXX="gcc" | Line 990 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:985: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | echo "configure:994: 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 992 cross_compiling=$ac_cv_prog_cxx_cross | Line 1001 cross_compiling=$ac_cv_prog_cxx_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 996 "configure" | #line 1005 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main(){return(0);} | int main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1010: \"$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 1023 if test $ac_cv_prog_cxx_works = no; then | Line 1032 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:1027: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1036: 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:1032: checking whether we are using GNU C++" >&5 | echo "configure:1041: 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 1037 else | Line 1046 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| 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 | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1050: \"$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 1056 ac_test_CXXFLAGS="${CXXFLAGS+set}" | Line 1065 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:1060: checking whether ${CXX-g++} accepts -g" >&5 | echo "configure:1069: 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 1095 fi | Line 1104 fi |
| # Check whether --enable-shared or --disable-shared was given. | # Check whether --enable-static or --disable-static was given. |
| if test "${enable_shared+set}" = set; then | if test "${enable_static+set}" = set; then |
| enableval="$enable_shared" | enableval="$enable_static" |
| p=${PACKAGE-default} | p=${PACKAGE-default} |
| case "$enableval" in | case "$enableval" in |
| yes) enable_shared=yes ;; | yes) enable_static=yes ;; |
| no) enable_shared=no ;; | no) enable_static=no ;; |
| *) | *) |
| enable_shared=no | enable_static=no |
| # Look at the argument we got. We use all the common list separators. | # Look at the argument we got. We use all the common list separators. |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| for pkg in $enableval; do | for pkg in $enableval; do |
| if test "X$pkg" = "X$p"; then | if test "X$pkg" = "X$p"; then |
| enable_shared=yes | enable_static=yes |
| fi | fi |
| done | done |
| IFS="$ac_save_ifs" | IFS="$ac_save_ifs" |
| ;; | ;; |
| esac | esac |
| else | else |
| enable_shared=yes | enable_static=no |
| fi | fi |
| # Check whether --enable-static or --disable-static was given. | |
| if test "${enable_static+set}" = set; then | # Check whether --enable-shared or --disable-shared was given. |
| enableval="$enable_static" | if test "${enable_shared+set}" = set; then |
| enableval="$enable_shared" | |
| p=${PACKAGE-default} | p=${PACKAGE-default} |
| case "$enableval" in | case "$enableval" in |
| yes) enable_static=yes ;; | yes) enable_shared=yes ;; |
| no) enable_static=no ;; | no) enable_shared=no ;; |
| *) | *) |
| enable_static=no | enable_shared=no |
| # Look at the argument we got. We use all the common list separators. | # Look at the argument we got. We use all the common list separators. |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| for pkg in $enableval; do | for pkg in $enableval; do |
| if test "X$pkg" = "X$p"; then | if test "X$pkg" = "X$p"; then |
| enable_static=yes | enable_shared=yes |
| fi | fi |
| done | done |
| IFS="$ac_save_ifs" | IFS="$ac_save_ifs" |
| ;; | ;; |
| esac | esac |
| else | else |
| enable_static=yes | enable_shared=yes |
| fi | fi |
| # Check whether --enable-fast-install or --disable-fast-install was given. | # Check whether --enable-fast-install or --disable-fast-install was given. |
| Line 1171 else { echo "configure: error: can not r | Line 1181 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:1175: checking host system type" >&5 | echo "configure:1185: checking host system type" >&5 |
| host_alias=$host | host_alias=$host |
| case "$host_alias" in | case "$host_alias" in |
| Line 1192 host_os=`echo $host | sed 's/^\([^-]*\)- | Line 1202 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:1196: checking build system type" >&5 | echo "configure:1206: checking build system type" >&5 |
| build_alias=$build | build_alias=$build |
| case "$build_alias" in | case "$build_alias" in |
| Line 1212 echo "$ac_t""$build" 1>&6 | Line 1222 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:1216: checking for $ac_word" >&5 | echo "configure:1226: 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 1242 fi | Line 1252 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:1246: checking for $ac_word" >&5 | echo "configure:1256: 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 1272 if test -z "$CC"; then | Line 1282 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:1276: checking for $ac_word" >&5 | echo "configure:1286: 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 1323 fi | Line 1333 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:1327: checking for $ac_word" >&5 | echo "configure:1337: 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 1355 fi | Line 1365 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:1359: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:1369: 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 1366 cross_compiling=$ac_cv_prog_cc_cross | Line 1376 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1370 "configure" | #line 1380 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1385: \"$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 1397 if test $ac_cv_prog_cc_works = no; then | Line 1407 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:1401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1411: 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:1406: checking whether we are using GNU C" >&5 | echo "configure:1416: 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 1411 else | Line 1421 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| 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 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1425: \"$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 1430 ac_test_CFLAGS="${CFLAGS+set}" | Line 1440 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:1434: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1444: 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 1473 ac_prog=ld | Line 1483 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:1477: checking for ld used by GCC" >&5 | echo "configure:1487: 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 1497 echo "configure:1477: checking for ld us | Line 1507 echo "configure:1477: 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:1501: checking for GNU ld" >&5 | echo "configure:1511: 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:1504: checking for non-GNU ld" >&5 | echo "configure:1514: 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 1535 else | Line 1545 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:1539: checking if the linker ($LD) is GNU ld" >&5 | echo "configure:1549: 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 1551 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | Line 1561 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:1555: checking for BSD-compatible nm" >&5 | echo "configure:1565: 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 1587 NM="$ac_cv_path_NM" | Line 1597 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:1591: checking whether ln -s works" >&5 | echo "configure:1601: 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 1607 else | Line 1617 else |
| echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
| fi | fi |
| if test $host != $build; then | |
| ac_tool_prefix=${host_alias}- | |
| else | |
| ac_tool_prefix= | |
| fi | |
| case "$target" in | case "$target" in |
| NONE) lt_target="$host" ;; | NONE) lt_target="$host" ;; |
| Line 1621 test "$enable_fast_install" = no && libt | Line 1637 test "$enable_fast_install" = no && libt |
| test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" | test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" |
| test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" | test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" |
| libtool_flags="$libtool_flags --enable-dlopen" | libtool_flags="$libtool_flags --enable-dlopen" |
| libtool_flags="$libtool_flags --enable-win32-dll" | |
| # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
| if test "${enable_libtool_lock+set}" = set; then | if test "${enable_libtool_lock+set}" = set; then |
| enableval="$enable_libtool_lock" | enableval="$enable_libtool_lock" |
| Line 1636 test x"$silent" = xyes && libtool_flags= | Line 1652 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 1640 "configure"' > conftest.$ac_ext | echo '#line 1656 "configure"' > conftest.$ac_ext |
| if { (eval echo configure:1641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1657: \"$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 1658 case "$lt_target" in | Line 1674 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:1662: checking whether the C compiler needs -belf" >&5 | echo "configure:1678: 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 1667 "configure" | #line 1683 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1690: \"$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 1689 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | Line 1705 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 |
| fi | fi |
| ;; | ;; |
| *-*-cygwin* | *-*-mingw*) | |
| # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1713: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$DLLTOOL"; then | |
| ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| if test -n "$DLLTOOL"; then | |
| echo "$ac_t""$DLLTOOL" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| if test -z "$ac_cv_prog_DLLTOOL"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "dlltool", so it can be a program name with args. | |
| set dummy dlltool; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1745: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$DLLTOOL"; then | |
| ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_DLLTOOL="dlltool" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false" | |
| fi | |
| fi | |
| DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| if test -n "$DLLTOOL"; then | |
| echo "$ac_t""$DLLTOOL" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| else | |
| DLLTOOL="false" | |
| fi | |
| fi | |
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}as; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1780: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AS"; then | |
| ac_cv_prog_AS="$AS" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AS="${ac_tool_prefix}as" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| AS="$ac_cv_prog_AS" | |
| if test -n "$AS"; then | |
| echo "$ac_t""$AS" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| if test -z "$ac_cv_prog_AS"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "as", so it can be a program name with args. | |
| set dummy as; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1812: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AS"; then | |
| ac_cv_prog_AS="$AS" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AS="as" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false" | |
| fi | |
| fi | |
| AS="$ac_cv_prog_AS" | |
| if test -n "$AS"; then | |
| echo "$ac_t""$AS" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| else | |
| AS="false" | |
| fi | |
| fi | |
| # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1847: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$OBJDUMP"; then | |
| ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| if test -n "$OBJDUMP"; then | |
| echo "$ac_t""$OBJDUMP" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| if test -z "$ac_cv_prog_OBJDUMP"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "objdump", so it can be a program name with args. | |
| set dummy objdump; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1879: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$OBJDUMP"; then | |
| ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_OBJDUMP="objdump" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false" | |
| fi | |
| fi | |
| OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| if test -n "$OBJDUMP"; then | |
| echo "$ac_t""$OBJDUMP" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| else | |
| OBJDUMP="false" | |
| fi | |
| fi | |
| ;; | |
| esac | esac |
| Line 1777 subdirs="libltdl" | Line 1996 subdirs="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:1781: checking how to run the C++ preprocessor" >&5 | echo "configure:2000: 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 1790 ac_link='${CXX-g++} -o conftest${ac_exee | Line 2009 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 1794 "configure" | #line 2013 "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:1799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2018: \"$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 1823 for ac_hdr in stdio.h \ | Line 2042 for ac_hdr in stdio.h \ |
| stdlib.h \ | stdlib.h \ |
| string.h \ | string.h \ |
| setjmp.h \ | setjmp.h \ |
| ctype.h | ctype.h \ |
| setjmp.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:1832: checking for $ac_hdr" >&5 | echo "configure:2052: 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 1837 "configure" | #line 2057 "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:1842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2062: \"$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 1865 fi | Line 2085 fi |
| done | done |
| echo $ac_n "checking for BSD setenv/getenv/unsetenv""... $ac_c" 1>&6 | |
| echo "configure:2090: checking for BSD setenv/getenv/unsetenv" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2092 "configure" | |
| #include "confdefs.h" | |
| #ifdef HAVE_STDLIB_H | |
| # include <stdlib.h> | |
| #endif | |
| #ifdef HAVE_STRING_H | |
| # include <string.h> | |
| #endif | |
| int main() { | |
| #define TEST_NAME "oracle-configure-test-var" | |
| #define TEST_VALUE "oracle-configure-test-value" | |
| int result=setenv(TEST_NAME, TEST_VALUE, 1/*overwrite*/); | |
| char *getenv_value=getenv(TEST_NAME); | |
| if(!getenv_value) | |
| return 1; | |
| if(strcmp(getenv_value, TEST_VALUE)!=0) | |
| return 2; | |
| unsetenv(TEST_NAME); | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| echo "$ac_t""yes" 1>&6 | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_SETENV | |
| EOF | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| echo $ac_n "checking for POSIX putenv/getenv""... $ac_c" 1>&6 | |
| echo "configure:2130: checking for POSIX putenv/getenv" >&5 | |
| cat > conftest.$ac_ext <<EOF | |
| #line 2132 "configure" | |
| #include "confdefs.h" | |
| #ifdef HAVE_STDLIB_H | |
| # include <stdlib.h> | |
| #endif | |
| #ifdef HAVE_STRING_H | |
| # include <string.h> | |
| #endif | |
| int main() { | |
| #define TEST_NAME "oracle-configure-test-var" | |
| #define TEST_VALUE "oracle-configure-test-value" | |
| int result=putenv(TEST_NAME"="TEST_VALUE); | |
| char *getenv_value=getenv(TEST_NAME); | |
| if(!getenv_value) | |
| return 1; | |
| if(strcmp(getenv_value, TEST_NAME)!=0) | |
| return 2; | |
| ; return 0; } | |
| EOF | |
| if { (eval echo configure:2153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| rm -rf conftest* | |
| echo "$ac_t""yes" 1>&6 | |
| cat >> confdefs.h <<\EOF | |
| #define HAVE_PUTENV | |
| EOF | |
| else | |
| echo "configure: failed program was:" >&5 | |
| cat conftest.$ac_ext >&5 | |
| rm -rf conftest* | |
| echo "$ac_t""no" 1>&6 | |
| { echo "configure: error: "there must be some function to modify environment"" 1>&2; exit 1; } | |
| fi | |
| rm -f conftest* | |
| fi | |
| rm -f conftest* | |
| 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:1871: checking for ANSI C header files" >&5 | echo "configure:2177: 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 1876 "configure" | #line 2182 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 1880 else | Line 2186 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:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:2190: \"$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 1897 rm -f conftest* | Line 2203 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 1901 "configure" | #line 2207 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 1915 fi | Line 2221 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 1919 "configure" | #line 2225 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 1936 if test "$cross_compiling" = yes; then | Line 2242 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1940 "configure" | #line 2246 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int); | extern "C" void exit(int); |
| Line 1950 if (XOR (islower (i), ISLOWER (i)) || to | Line 2256 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:2260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 1974 EOF | Line 2280 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:1978: checking for size_t" >&5 | echo "configure:2284: 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 1983 "configure" | #line 2289 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2110 done | Line 2416 done |
| ac_given_srcdir=$srcdir | ac_given_srcdir=$srcdir |
| ac_given_INSTALL="$INSTALL" | ac_given_INSTALL="$INSTALL" |
| trap 'rm -fr `echo "libltdl/Makefile Makefile config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | trap 'rm -fr `echo "Makefile config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
| EOF | EOF |
| cat >> $CONFIG_STATUS <<EOF | cat >> $CONFIG_STATUS <<EOF |
| Line 2153 s%@AUTOMAKE@%$AUTOMAKE%g | Line 2459 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%@ORACLE_OCI_INC@%$ORACLE_OCI_INC%g |
| s%@ORACLEPUBLIC_INC@%$ORACLEPUBLIC_INC%g | s%@ORACLE_PUBLIC_INC@%$ORACLE_PUBLIC_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 2173 s%@build_os@%$build_os%g | Line 2479 s%@build_os@%$build_os%g |
| s%@RANLIB@%$RANLIB%g | s%@RANLIB@%$RANLIB%g |
| s%@CC@%$CC%g | s%@CC@%$CC%g |
| s%@LN_S@%$LN_S%g | s%@LN_S@%$LN_S%g |
| s%@DLLTOOL@%$DLLTOOL%g | |
| s%@AS@%$AS%g | |
| s%@OBJDUMP@%$OBJDUMP%g | |
| s%@LIBTOOL@%$LIBTOOL%g | s%@LIBTOOL@%$LIBTOOL%g |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| s%@CXXCPP@%$CXXCPP%g | s%@CXXCPP@%$CXXCPP%g |
| Line 2217 EOF | Line 2526 EOF |
| cat >> $CONFIG_STATUS <<EOF | cat >> $CONFIG_STATUS <<EOF |
| CONFIG_FILES=\${CONFIG_FILES-"libltdl/Makefile Makefile"} | CONFIG_FILES=\${CONFIG_FILES-"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 |