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

📄 configure

📁 gcc的组件
💻
📖 第 1 页 / 共 5 页
字号:
  # Pass precious variables to config.status.  if test "$ac_new_set" = set; then    case $ac_new_val in    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;    *) ac_arg=$ac_var=$ac_new_val ;;    esac    case " $ac_configure_args " in      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;    esac  fidoneif $ac_cache_corrupted; then  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5echo "$as_me: error: changes in the environment can compromise the build" >&2;}  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}   { (exit 1); exit 1; }; }fiac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuac_aux_dir=for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  if test -f $ac_dir/install-sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"    break  elif test -f $ac_dir/install.sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install.sh -c"    break  elif test -f $ac_dir/shtool; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/shtool install -c"    break  fidoneif test -z "$ac_aux_dir"; then  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}   { (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.# Make sure we can run config.sub.$ac_config_sub sun4 >/dev/null 2>&1 ||  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5echo "$as_me: error: cannot run $ac_config_sub" >&2;}   { (exit 1); exit 1; }; }echo "$as_me:$LINENO: checking build system type" >&5echo $ECHO_N "checking build system type... $ECHO_C" >&6if test "${ac_cv_build+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_build_alias=$build_aliastest -z "$ac_cv_build_alias" &&  ac_cv_build_alias=`$ac_config_guess`test -z "$ac_cv_build_alias" &&  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5echo "$as_me: error: cannot guess build type; you must specify one" >&2;}   { (exit 1); exit 1; }; }ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_build" >&5echo "${ECHO_T}$ac_cv_build" >&6build=$ac_cv_buildbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` case ${build_alias} in  "") build_noncanonical=${build} ;;  *) build_noncanonical=${build_alias} ;;esac case ${host_alias} in  "") host_noncanonical=${build_noncanonical} ;;  *) host_noncanonical=${host_alias} ;;esac case ${target_alias} in  "") target_noncanonical=${host_noncanonical} ;;  *) target_noncanonical=${target_alias} ;;esac  # Prefix 'build-' so this never conflicts with target_subdir.build_subdir="build-${build_noncanonical}"# --srcdir=. covers the toplevel, while "test -d" covers the subdirectoriesif ( test $srcdir = . && test -d gcc ) \   || test -d $srcdir/../host-${host_noncanonical}; then  host_subdir="host-${host_noncanonical}"else  host_subdir=.fi# No prefix.target_subdir=${target_noncanonical}# We need the following definitions because AC_PROG_LIBTOOL relies on themPACKAGE=libobjc# Version is pulled out to make it a bit easier to change using sed.VERSION=1:0:0# This works around the fact that libtool configuration may change LD# for this particular configuration, but some shells, instead of# keeping the changes in LD private, export them just because LD is# exported.ORIGINAL_LD_FOR_MULTILIBS=$LD# -------# Options# -------# Default to --enable-multilib# Check whether --enable-multilib or --disable-multilib was given.if test "${enable_multilib+set}" = set; then  enableval="$enable_multilib"  case "${enableval}" in    yes) multilib=yes ;;    no)  multilib=no ;;    *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}   { (exit 1); exit 1; }; } ;;   esacelse  multilib=yesfi;# We use these options to decide which functions to include.# Check whether --with-target-subdir or --without-target-subdir was given.if test "${with_target_subdir+set}" = set; then  withval="$with_target_subdir"fi;# Check whether --with-cross-host or --without-cross-host was given.if test "${with_cross_host+set}" = set; then  withval="$with_cross_host"fi;echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.if test "${enable_version_specific_runtime_libs+set}" = set; then  enableval="$enable_version_specific_runtime_libs"  case "$enableval" in yes) version_specific_libs=yes ;; no)  version_specific_libs=no ;; *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}   { (exit 1); exit 1; }; };; esacelse  version_specific_libs=nofi;echo "$as_me:$LINENO: result: $version_specific_libs" >&5echo "${ECHO_T}$version_specific_libs" >&6# Check whether --enable-objc-gc or --disable-objc-gc was given.if test "${enable_objc_gc+set}" = set; then  enableval="$enable_objc_gc"  case $enable_objc_gc in  no) OBJC_BOEHM_GC='' ;;  *) OBJC_BOEHM_GC=libobjc_gc.la ;;esacelse  OBJC_BOEHM_GC=''fi;# -----------# Directories# -----------# When building with srcdir == objdir, links to the source files will# be created in directories within the target_subdir.  We have to# adjust toplevel_srcdir accordingly, so that configure finds# install-sh and other auxiliary files that live in the top-level# source directory.if test "${srcdir}" = "."; then  if test -z "${with_target_subdir}"; then    toprel=".."  else    if test "${with_target_subdir}" != "."; then      toprel="${with_multisrctop}../.."    else      toprel="${with_multisrctop}.."    fi  fielse  toprel=".."fiac_aux_dir=for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do  if test -f $ac_dir/install-sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"    break  elif test -f $ac_dir/install.sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install.sh -c"    break  elif test -f $ac_dir/shtool; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/shtool install -c"    break  fidoneif test -z "$ac_aux_dir"; then  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&5echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&2;}   { (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.toplevel_srcdir=\${srcdir}/$toprelecho "$as_me:$LINENO: checking host system type" >&5echo $ECHO_N "checking host system type... $ECHO_C" >&6if test "${ac_cv_host+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_host_alias=$host_aliastest -z "$ac_cv_host_alias" &&  ac_cv_host_alias=$ac_cv_build_aliasac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_host" >&5echo "${ECHO_T}$ac_cv_host" >&6host=$ac_cv_hosthost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:$LINENO: checking target system type" >&5echo $ECHO_N "checking target system type... $ECHO_C" >&6if test "${ac_cv_target+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_target_alias=$target_aliastest "x$ac_cv_target_alias" = "x" &&  ac_cv_target_alias=$ac_cv_host_aliasac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_target" >&5echo "${ECHO_T}$ac_cv_target" >&6target=$ac_cv_targettarget_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`# The aliases save the names the user supplied, while $host etc.# will get canonicalized.test -n "$target_alias" &&  test "$program_prefix$program_suffix$program_transform_name" = \    NONENONEs,x,x, &&  program_prefix=${target_alias}-# Export source directory.# These need to be absolute paths, yet at the same time need to# canonicalize only relative paths, because then amd will not unmount# drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.case $srcdir in  \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;  *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;esac# Calculate toolexeclibdir# Also toolexecdir, though it's only used in toolexeclibdircase ${version_specific_libs} in  yes)    # Need the gcc compiler version to know where to install libraries    # and header files if --enable-version-specific-runtime-libs option    # is selected.    toolexecdir='$(libdir)/gcc/$(target_noncanonical)'    toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'    ;;  no)    if test -n "$with_cross_host" &&       test x"$with_cross_host" != x"no"; then      # Install a library built with a cross compiler in tooldir, not libdir.      toolexecdir='$(exec_prefix)/$(target_noncanonical)'      toolexeclibdir='$(toolexecdir)/lib'    else      toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'      toolexeclibdir='$(libdir)'    fi    multi_os_directory=`$CC -print-multi-os-directory`    case $multi_os_directory in      .) ;; # Avoid trailing /.      *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;    esac    ;;esac# Figure out if we want to name the include directory and the#  library name changes differently.includedirname=includelibext=case "${host}" in  *-darwin*)    # Darwin is the only target so far that needs a different include directory.    includedirname=include-gnu-runtime    libext=-gnu    ;;esac          ac_config_headers="$ac_config_headers config.h"# --------# Programs# --------# We must force CC to /not/ be a precious variable; otherwise# the wrong, non-multilib-adjusted value will be used in multilibs.# As a side effect, we have to subst CFLAGS ourselves.ac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test -n "$ac_tool_prefix"; then  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo  IFS=$as_save_IFS  test -z "$as_dir" && as_dir=.  for ac_exec_ext in '' $ac_executable_extensions; do  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    ac_cv_prog_CC="${ac_tool_prefix}gcc"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then  echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6

⌨️ 快捷键说明

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