⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 oracle引用库
💻
📖 第 1 页 / 共 5 页
字号:
#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  lt_cv_cc_needs_belf=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  lt_cv_cc_needs_belf=nofirm -f conftest*fiecho "$ac_t""$lt_cv_cc_needs_belf" 1>&6  if test x"$lt_cv_cc_needs_belf" != x"yes"; then    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf    CFLAGS="$SAVE_CFLAGS"  fi  ;;esac# Save cache, so that ltconfig can load itcat > 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# 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 >> confcacheif cmp -s $cache_file confcache; then  :else  if test -w $cache_file; then    echo "updating cache $cache_file"    cat confcache > $cache_file  else    echo "not updating unwritable cache $cache_file"  fifirm -f confcache# 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 ltconfigif test -r "$cache_file"; then  echo "loading cache $cache_file"  . $cache_fileelse  echo "creating cache $cache_file"  > $cache_filefi# This can be used to rebuild libtool when neededLIBTOOL_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.logac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_crossOCICPPLIBV=`cat VERSION`OCICPPLIBMAJOR=`echo $OCICPPLIBV | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`OCICPPLIBMINOR=`echo $OCICPPLIBV | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`OCICPPLIBMICRO=`echo $OCICPPLIBV | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`OCICPPLIBVER=`printf "0x%02i%02i%02i" $OCICPPLIBMAJOR $OCICPPLIBMINOR $OCICPPLIBMICRO`## Oracle specific itemsecho $ac_n "checking for Oracle home""... $ac_c" 1>&6echo "configure:1751: checking for Oracle home" >&5oracle_includes=""oracle_home=""# Check whether --with-oracle_home or --without-oracle_home was given.if test "${with_oracle_home+set}" = set; then  withval="$with_oracle_home"    ac_oracle_home="$withval" else   ac_oracle_home="NO" fiif test "$ac_oracle_home" = NO; then	ac_oracle_home=`echo $ORACLE_HOME`	if test -z "$ac_oracle_home"; then				{ echo "configure: error:  Oracle 8.x.x or greater installation needed." 1>&2; exit 1; }	fi	oracle_inc_dirs="$ac_oracle_home/rdbms/demo $ac_oracle_home/rdbms/public $ac_oracle_home/network/public  $ac_oracle_home/plsql/public"#	AC_FIND_FILE(oci.h , $oracle_inc_dirs , oracle_inc_dirs )	if test "$oracle_inc_dirs" = NO; then 		{ echo "configure: error:  Oracle 8.x.x or greater installation needed." 1>&2; exit 1; }	fifiORACLE_HOME="$ac_oracle_home"oracle_includes="$ORACLE_HOME/rdbms/demo $ORACLE_HOME/rdbms/public $ORACLE_HOME/plsql/public $ORACLE_HOME/network/public"ORACLE_INCLUDES="-I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/rdbms/public -I$ORACLE_HOME/plsql/public -I$ORACLE_HOME/network/public"all_includes="$ORACLE_INCLUDES $all_includes"ora_lib=NOfor i in "$ORACLE_HOME/lib" ;do	for j in libclntsh.so.8.0;  do		if test -r "$i/$j"; then			ora_lib=$i			break 2		fi	donedoneif test x"$ora_lib" = x"NO"; then	ora_lib=NOfor i in "$ORACLE_HOME/lib" ;do	for j in libclntsh.so.1.0;  do		if test -r "$i/$j"; then			ora_lib=$i			break 2		fi	donedone	if test $ora_lib = NO; then		{ echo "configure: error:  Cannot determine Oracle version only supported are 8.0.x and 8.1.x " 1>&2; exit 1; }	else		ORACLE_VER="8.0"		ORACLE_LIBDIR="$ORACLE_HOME/lib"		ORACLE_LIBS="-lclntsh -lcommon -lcore4 -lnlsrtl3"		ORACLE_VER_MAJOR="8";		ORACLE_VER_MINOR="0";	fielse	ORACLE_VER="8.1"	ORACLE_LIBDIR="$ORACLE_HOME/lib"	ORACLE_LIBS="-lclntsh"	ORACLE_VER_MAJOR="8";	ORACLE_VER_MINOR="1";fiecho "$ac_t"" Oracle Location: $ORACLE_HOME , Version: $ORACLE_VER. " 1>&6## Custom autoconf macros for ocicpplibecho $ac_n "checking for debug level""... $ac_c" 1>&6echo "configure:1829: checking for debug level" >&5# Check whether --with-debug_level or --without-debug_level was given.if test "${with_debug_level+set}" = set; then  withval="$with_debug_level"    ac_debug_level="$withval" else    ac_debug_level="DLEV_FATAL"fiDEBUG_LEVEL="$ac_debug_level"echo "$ac_t"" Debug level is $DEBUG_LEVEL. " 1>&6## Final stage - OUTPUT!trap '' 1 2 15cat > 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# 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 >> confcacheif cmp -s $cache_file confcache; then  :else  if test -w $cache_file; then    echo "updating cache $cache_file"    cat confcache > $cache_file  else    echo "not updating unwritable cache $cache_file"  fifirm -f confcachetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15test "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'fitrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15# Transform confdefs.h into DEFS.# Protect against shell expansion while executing Makefile rules.# Protect against Makefile macro expansion.cat > conftest.defs <<\EOFs%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%gs%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%gs%\[%\\&%gs%\]%\\&%gs%\$%$$%gEOFDEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`rm -f conftest.defs# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo creating $CONFIG_STATUSrm -f $CONFIG_STATUScat > $CONFIG_STATUS <<EOF#! /bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $ac_configure_args## Compiler output produced by configure, useful for debugging# configure, is in ./config.log if it exists.ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"for ac_optiondo  case "\$ac_option" in  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)    echo "$CONFIG_STATUS generated by autoconf version 2.13"    exit 0 ;;  -help | --help | --hel | --he | --h)    echo "\$ac_cs_usage"; exit 0 ;;  *) echo "\$ac_cs_usage"; exit 1 ;;  esacdoneac_given_srcdir=$srcdirac_given_INSTALL="$INSTALL"trap 'rm -fr `echo "Makefile doc/Makefile doc/Doxyfile ocicpp/Makefile ocicpp/ocicpp.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15EOFcat >> $CONFIG_STATUS <<EOF# Protect against being on the right side of a sed subst in config.status.sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF$ac_vpsub$extrasubs%@SHELL@%$SHELL%gs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@FFLAGS@%$FFLAGS%gs%@DEFS@%$DEFS%gs%@LDFLAGS@%$LDFLAGS%gs%@LIBS@%$LIBS%gs%@exec_prefix@%$exec_prefix%gs%@prefix@%$prefix%gs%@program_transform_name@%$program_transform_name%gs%@bindir@%$bindir%gs%@sbindir@%$sbindir%gs%@libexecdir@%$libexecdir%gs%@datadir@%$datadir%gs%@sysconfdir@%$sysconfdir%gs%@sharedstatedir@%$sharedstatedir%gs%@localstatedir@%$localstatedir%gs%@libdir@%$libdir%gs%@includedir@%$includedir%gs%@oldincludedir@%$oldincludedir%gs%@infodir@%$infodir%gs%@mandir@%$mandir%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@PACKAGE@%$PACKAGE%gs%@VERSION@%$VERSION%gs%@ACLOCAL@%$ACLOCAL%gs%@AUTOCONF@%$AUTOCONF%gs%@AUTOMAKE@%$AUTOMAKE%gs%@AUTOHEADER@%$AUTOHEADER%gs%@MAKEINFO@%$MAKEINFO%gs%@SET_MAKE@%$SET_MAKE%gs%@CC@%$CC%gs%@CXX@%$CXX%gs%@CXXCPP@%$CXXCPP%gs%@RANLIB@%$RANLIB%gs%@host@%$host%gs%@host_alias@%$host_alias%gs%@host_cpu@%$host_cpu%gs%@host_vendor@%$host_vendor%gs%@host_os@%$host_os%gs%@build@%$build%gs%@build_alias@%$build_alias%gs%@build_cpu@%$build_cpu%gs%@build_vendor@%$build_vendor%gs%@build_os@%$build_os%gs%@LN_S@%$LN_S%gs%@LIBTOOL@%$LIBTOOL%gs%@OCICPPLIBMAJOR@%$OCICPPLIBMAJOR%gs%@OCICPPLIBMINOR@%$OCICPPLIBMINOR%gs%@OCICPPLIBMICRO@%$OCICPPLIBMICRO%gs%@OCICPPLIBVER@%$OCICPPLIBVER%gs%@ORACLE_HOME@%$ORACLE_HOME%gs%@ORACLE_VER@%$ORACLE_VER%gs%@ORACLE_INCLUDES@%$ORACL

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -