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

📄 configure

📁 直接存取Access97数据库文件(MDB)的工具库源码
💻
📖 第 1 页 / 共 5 页
字号:
  # Let the user override the test.  ac_cv_path_NM="$NM"else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then      # Check to see if the nm accepts a BSD-compat flag.      # Adding the `sed 1q' prevents false positives on HP-UX, which says:      #   nm: unknown option "B" ignored      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then	ac_cv_path_NM="$ac_dir/nm -B"	break      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then	ac_cv_path_NM="$ac_dir/nm -p"	break      else	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but	continue # so that we can try to find one that supports BSD flags      fi    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nmfifiNM="$ac_cv_path_NM"echo "$ac_t""$NM" 1>&6echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1309: checking whether ln -s works" >&5if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -f conftestdataif ln -s X conftestdata 2>/dev/nullthen  rm -f conftestdata  ac_cv_prog_LN_S="ln -s"else  ac_cv_prog_LN_S=lnfifiLN_S="$ac_cv_prog_LN_S"if test "$ac_cv_prog_LN_S" = "ln -s"; then  echo "$ac_t""yes" 1>&6else  echo "$ac_t""no" 1>&6fi# Check for any special flags to pass to ltconfig.libtool_flags="--cache-file=$cache_file"test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"# Check whether --enable-libtool-lock or --disable-libtool-lock was given.if test "${enable_libtool_lock+set}" = set; then  enableval="$enable_libtool_lock"  :fitest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"# Some flags need to be propagated to the compiler or linker for good# libtool support.case "$host" in*-*-irix6*)  # Find out which ABI we are using.  echo '#line 1353 "configure"' > conftest.$ac_ext  if { (eval echo configure:1354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    case "`/usr/bin/file conftest.o`" in    *32-bit*)      LD="${LD-ld} -32"      ;;    *N32*)      LD="${LD-ld} -n32"      ;;    *64-bit*)      LD="${LD-ld} -64"      ;;    esac  fi  rm -rf conftest*  ;;*-*-sco3.2v5*)  # On SCO OpenServer 5, we need -belf to get full-featured binaries.  SAVE_CFLAGS="$CFLAGS"  CFLAGS="$CFLAGS -belf"  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6echo "configure:1375: checking whether the C compiler needs -belf" >&5if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1380 "configure"#include "confdefs.h"int main() {; return 0; }EOFif { (eval echo configure:1387: \"$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 $host \|| { 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.logecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1489: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1504 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1521 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1538 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6missing_dir=`cd $ac_aux_dir && pwd`for ac_prog in flex lexdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1574: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$LEX"; then  ac_cv_prog_LEX="$LEX" # 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_LEX="$ac_prog"      break    fi  done  IFS="$ac_save_ifs"fifiLEX="$ac_cv_prog_LEX"if test -n "$LEX"; then  echo "$ac_t""$LEX" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$LEX" && breakdonetest -n "$LEX" || LEX=""$missing_dir/missing flex""# Extract the first word of "flex", so it can be a program name with args.set dummy flex; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1607: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$LEX"; then  ac_cv_prog_LEX="$LEX" # 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_LEX="flex"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"fifiLEX="$ac_cv_prog_LEX"if test -n "$LEX"; then  echo "$ac_t""$LEX" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$LEXLIB"then  case "$LEX" in  flex*) ac_lib=fl ;;  *) ac_lib=l ;;  esac  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6echo "configure:1641: checking for yywrap in -l$ac_lib" >&5ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-l$ac_lib  $LIBS"cat > conftest.$ac_ext <<EOF#line 1649 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char yywrap();int main() {yywrap(); return 0; }EOFif { (eval echo configure:1660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LEXLIB="-l$ac_lib"else  echo "$ac_t""no" 1>&6fifiecho $ac_n "checking lex output file root""... $ac_c" 1>&6echo "configure:1683: checking lex output file root" >&5if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # The minimal lex program is just a single line: %%.  But some broken lexes# (Solaris, I think it was) want two %% lines, so accommodate them.echo '%%%%' | $LEXif test -f lex.yy.c; then  ac_cv_prog_lex_root=lex.yyelif test -f lexyy.c; then  ac_cv_prog_lex_root=lexyyelse  { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }fifiecho "$ac_t""$ac_cv_prog_lex_root" 1>&6LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root

⌨️ 快捷键说明

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