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

📄 configure

📁 多线程库
💻
📖 第 1 页 / 共 5 页
字号:
echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6if test $ac_cv_prog_cxx_works = no; then  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:1692: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6cross_compiling=$ac_cv_prog_cxx_cross  echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6echo "configure:1697: checking whether we are using GNU C++" >&5if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.C <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gxx=yeselse  ac_cv_prog_gxx=nofifiecho "$ac_t""$ac_cv_prog_gxx" 1>&6  if test $ac_cv_prog_gxx = yes; then    GXX=yes  else    echo $ac_n "checking whether we are using SPARC CC""... $ac_c" 1>&6echo "configure:1719: checking whether we are using SPARC CC" >&5    GXX=    cat > conftest.C << EOF#ifdef __SUNPRO_CC   yes;#endifEOF    ac_try="$CXX -E conftest.C"    if { (eval echo configure:__online__: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | egrep yes >/dev/null 2>&1; then      ac_cv_prog_CC=yes    else      ac_cv_prog_CC=no    fi    echo "$ac_t""$ac_cv_prog_CC" 1>&6  fi  if test -z "$CXXFLAGS"; then     if test "$ac_use_debug_code" = "yes"; then      echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6echo "configure:1739: checking whether ${CXX-g++} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.ccif test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then  ac_cv_prog_cxx_g=yeselse  ac_cv_prog_cxx_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cxx_g" 1>&6      if test $ac_cv_prog_cxx_g = yes; then        CXXFLAGS="-g"      fi      if test "$ac_cv_prog_CC" = "yes"; then        CXXFLAGS="$CXXFLAGS -pto"      fi    else      if test "$GXX" = "yes"; then         CXXFLAGS="-O2"      else         if test "$ac_cv_prog_CC" = "yes"; then            CXXFLAGS="-pto -O2"         else            CXXFLAGS=""         fi      fi    fi    if test "$GXX" = "yes"; then       CXXFLAGS="$CXXFLAGS -Wall"        if test "$ac_use_strict_options" = "yes"; then	CXXFLAGS="$CXXFLAGS -W -ansi -Wtraditional  -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Woverloaded-virtual -Wbad-function-cast  -Wsynth"       fi       if test "$kde_very_strict" = "yes"; then         CXXFLAGS="$CXXFLAGS -Wold-style-cast -Wshadow -Wredundant-decls -Wconversion"       fi    fi  fi      case "$host" in      *-*-sysv4.2uw*) CXXFLAGS="$CXXFLAGS -D_UNIXWARE";;    esac    # Check whether --enable-static or --disable-static was given.if test "${enable_static+set}" = set; then  enableval="$enable_static"  if test "$enableval" = no; then  enable_static=noelse  enable_static=yesfielse  enable_static=yesfi# Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1805: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$RANLIB"; then  ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="ranlib"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"fifiRANLIB="$ac_cv_prog_RANLIB"if test -n "$RANLIB"; then  echo "$ac_t""$RANLIB" 1>&6else  echo "$ac_t""no" 1>&6fi# Check whether --with-gnu-ld or --without-gnu-ld was given.if test "${with_gnu_ld+set}" = set; then  withval="$with_gnu_ld"  test "$withval" = no || with_gnu_ld=yeselse  with_gnu_ld=nofiac_prog=ldif test "$ac_cv_prog_gcc" = yes; then  # Check if gcc -print-prog-name=ld gives a path.  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6echo "configure:1845: checking for ld used by GCC" >&5  ac_prog=`($CC -print-prog-name=ld) 2>&5`  case "$ac_prog" in  # Accept absolute paths.  /* | A-Za-z:\\*)    test -z "$LD" && LD="$ac_prog"    ;;  "")    # If it fails, then pretend we aren't using GCC.    ac_prog=ld    ;;  *)    # If it is relative, then search for the first ld in PATH.    with_gnu_ld=unknown    ;;  esacelif test "$with_gnu_ld" = yes; then  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6echo "configure:1863: checking for GNU ld" >&5else  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6echo "configure:1866: checking for non-GNU ld" >&5fiif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -z "$LD"; then  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f "$ac_dir/$ac_prog"; then      ac_cv_path_LD="$ac_dir/$ac_prog"      # Check to see if the program is GNU ld.  I'd rather use --version,      # but apparently some GNU ld's only accept -v.      # Break only if it was the GNU/non-GNU ld that we prefer.      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then	test "$with_gnu_ld" != no && break      else        test "$with_gnu_ld" != yes && break      fi    fi  done  IFS="$ac_save_ifs"else  ac_cv_path_LD="$LD" # Let the user override the test with a path.fifiLD="$ac_cv_path_LD"if test -n "$LD"; then  echo "$ac_t""$LD" 1>&6else  echo "$ac_t""no" 1>&6fitest -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>&6echo "configure:1902: checking if the linker ($LD) is GNU ld" >&5if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # I'd rather use --version here, but apparently some GNU ld's only accept -v.if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  ac_cv_prog_gnu_ld=yeselse  ac_cv_prog_gnu_ld=nofifiecho "$ac_t""$ac_cv_prog_gnu_ld" 1>&6echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6echo "configure:1918: checking for BSD-compatible nm" >&5if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$NM" in/* | A-Za-z:\\*)  ac_cv_path_NM="$NM" # Let the user override the test with a path.  ;;*)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"  for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/nm; 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"      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"      else        ac_cv_path_NM="$ac_dir/nm"      fi      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm  ;;esacfiNM="$ac_cv_path_NM"echo "$ac_t""$NM" 1>&6echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1955: 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>&6fiac_save_cc=$CCac_save_cflags="$CFLAGS"CC=$CXXCFLAGS="$CXXFLAGS"# Always use our own libtool.LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'# Check for any special flags to pass to ltconfig.libtool_flags=test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"test "$silent" = yes && libtool_flags="$libtool_flags --silent"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"# 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 1998 "configure"' > conftest.$ac_ext  if { (eval echo configure:1999: \"$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.  CFLAGS="$CFLAGS -belf"  ;;esac# Actually configure libtool.  ac_aux_dir is where install-sh is found.CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } CC=$ac_save_ccCFLAGS="$ac_save_cflags"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 15DEFS=-DHAVE_CONFIG_H# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo cr

⌨️ 快捷键说明

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