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

📄 configure

📁 LFS.This is a kind of file system.
💻
📖 第 1 页 / 共 5 页
字号:
rm -f conftest*fiecho "$ac_t""$ac_cv_prog_cxx_g" 1>&6if test "$ac_test_CXXFLAGS" = set; then  CXXFLAGS="$ac_save_CXXFLAGS"elif test $ac_cv_prog_cxx_g = yes; then  if test "$GXX" = yes; then    CXXFLAGS="-g -O2"  else    CXXFLAGS="-g"  fielse  if test "$GXX" = yes; then    CXXFLAGS="-O2"  else    CXXFLAGS=  fifitest -z "${CXXWFLAGS+set}" -a "${WFLAGS+set}" && CXXWFLAGS="$WFLAGS"test -z "${CXXDEBUG+set}" -a "${DEBUG+set}" && CXXDEBUG="$DEBUG"test "${DEBUG+set}" || DEBUG="$CFLAGS"export DEBUGtest "${CXXDEBUG+set}" || CXXDEBUG="$CXXFLAGS"export CXXDEBUGcase $host_os in    openbsd*)	sfs_gnu_WFLAGS="-ansi -Wall -Wsign-compare -Wchar-subscripts -Werror"	sfs_gnu_CXXWFLAGS="$sfs_gnu_WFLAGS"	;;    linux*|freebsd*)	sfs_gnu_WFLAGS="-Wall -Werror"	sfs_gnu_CXXWFLAGS="$sfs_gnu_WFLAGS"	;;    *)	sfs_gnu_WFLAGS="-Wall"	sfs_gnu_CXXWFLAGS="$sfs_gnu_WFLAGS"	;;esacexpr "$DEBUG" : '.*-O' > /dev/null \    || sfs_gnu_WFLAGS="$sfs_gnu_WFLAGS -Wno-unused"expr "$CXXDEBUG" : '.*-O' > /dev/null \    || sfs_gnu_CXXWFLAGS="$sfs_gnu_CXXWFLAGS -Wno-unused"NW='-w'test "$GCC" = yes -a -z "${WFLAGS+set}" && WFLAGS="$sfs_gnu_WFLAGS"test "$GXX" = yes -a -z "${CXXWFLAGS+set}" && CXXWFLAGS="$sfs_gnu_CXXWFLAGS"CXXNOERR=test "$GXX" = yes && CXXNOERR='-Wno-error'# Temporarily set CFLAGS to ansi so tests for things like __inline go correctlyif expr "$DEBUG $WFLAGS $ECFLAGS" : '.*-ansi' > /dev/null; then	CFLAGS="$CFLAGS -ansi"	ac_cpp="$ac_cpp -ansi"fiexpr "$CXXDEBUG $CXXWFLAGS $ECXXFLAGS" : '.*-ansi' > /dev/null \    && CXXFLAGS="$CXXFLAGS -ansi"echo $ac_n "checking for inline""... $ac_c" 1>&6echo "configure:1317: checking for inline" >&5if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_c_inline=nofor ac_kw in inline __inline__ __inline; do  cat > conftest.$ac_ext <<EOF#line 1324 "configure"#include "confdefs.h"int main() {} $ac_kw foo() {; return 0; }EOFif { (eval echo configure:1331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_inline=$ac_kw; breakelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*donefiecho "$ac_t""$ac_cv_c_inline" 1>&6case "$ac_cv_c_inline" in  inline | yes) ;;  no) cat >> confdefs.h <<\EOF#define inline EOF ;;  *)  cat >> confdefs.h <<EOF#define inline $ac_cv_c_inlineEOF ;;esac# Find a good install program.  We prefer a C program (faster),# so one script is as good as another.  But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:1368: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"  for ac_dir in $PATH; do    # Account for people who put trailing slashes in PATH elements.    case "$ac_dir/" in    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    *)      # OSF1 and SCO ODT 3.0 have their own names for install.      # Don't use installbsd from OSF since it installs stuff as root      # by default.      for ac_prog in ginstall scoinst install; do        if test -f $ac_dir/$ac_prog; then	  if test $ac_prog = install &&            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then	    # AIX install.  It has an incompatible calling convention.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done      ;;    esac  done  IFS="$ac_save_IFS"fi  if test "${ac_cv_path_install+set}" = set; then    INSTALL="$ac_cv_path_install"  else    # As a last resort, use the slow shell script.  We don't cache a    # path for INSTALL within a source directory, because that will    # break other packages using the cache if that directory is    # removed, or if the path is relative.    INSTALL="$ac_install_sh"  fifiecho "$ac_t""$INSTALL" 1>&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1421: 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# Extract the first word of "df", so it can be a program name with args.set dummy df; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1445: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_PATH_DF'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$PATH_DF" in  /*)  ac_cv_path_PATH_DF="$PATH_DF" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_PATH_DF="$PATH_DF" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="/usr/ucb:/usr/bsd:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/etc:/usr/libexec:/usr/ucb:/usr/bsd:/usr/5bin:$PATH:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_PATH_DF="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiPATH_DF="$ac_cv_path_PATH_DF"if test -n "$PATH_DF"; then  echo "$ac_t""$PATH_DF" 1>&6else  echo "$ac_t""no" 1>&6fiif test "$PATH_DF"; then    cat >> confdefs.h <<EOF#define PATH_DF "$PATH_DF"EOFfi# Check whether --enable-shared or --disable-shared was given.if test "${enable_shared+set}" = set; then  enableval="$enable_shared"  p=${PACKAGE-default}case "$enableval" inyes) enable_shared=yes ;;no) enable_shared=no ;;*)  enable_shared=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_shared=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_shared=nofi# Check whether --enable-static or --disable-static was given.if test "${enable_static+set}" = set; then  enableval="$enable_static"  p=${PACKAGE-default}case "$enableval" inyes) enable_static=yes ;;no) enable_static=no ;;*)  enable_static=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_static=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_static=yesfi# Check whether --enable-fast-install or --disable-fast-install was given.if test "${enable_fast_install+set}" = set; then  enableval="$enable_fast_install"  p=${PACKAGE-default}case "$enableval" inyes) enable_fast_install=yes ;;no) enable_fast_install=no ;;*)  enable_fast_install=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_fast_install=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_fast_install=yesfiecho $ac_n "checking build system type""... $ac_c" 1>&6echo "configure:1554: checking build system type" >&5build_alias=$buildcase "$build_alias" inNONE)  case $nonopt in  NONE) build_alias=$host_alias ;;  *) build_alias=$nonopt ;;  esac ;;esacbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$build" 1>&6# 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:1574: 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:1613: 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]:[\\/]*)      re_direlt='/[^/][^/]*/\.\./'      # Canonicalize the path of ld      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`      done      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:1637: checking for GNU ld" >&5else  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6echo "configure:1640: 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}${PATH_SEPARATOR-:}"  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; 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.fifi

⌨️ 快捷键说明

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