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

📄 configure

📁 linux中bash shell的源代码
💻
📖 第 1 页 / 共 2 页
字号:
  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="${IFS}:"  for ac_dir in $PATH; 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>&6fiac_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  fidoneif test -z "$ac_aux_dir"; then  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }fiac_config_guess=$ac_aux_dir/config.guessac_config_sub=$ac_aux_dir/config.subac_configure=$ac_aux_dir/configure # This should be Cygnus configure.# 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# 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>&6if 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="${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.      for ac_prog in ginstall installbsd 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.	    # OSF/1 installbsd also uses dspmsg, but is usable.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done      ;;    esac  done  IFS="$ac_save_ifs"  # As a last resort, use the slow shell script.  test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"fi  INSTALL="$ac_cv_path_install"fiecho "$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_DATA" && INSTALL_DATA='${INSTALL} -m 644'echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6# 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 612 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFeval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 626 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFeval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  rm -rf conftest*  CPP=/lib/cppfirm -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>&6for ac_hdr in string.h unistd.hdoac_safe=`echo "$ac_hdr" | tr './\055' '___'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 659 "configure"#include "confdefs.h"#include <$ac_hdr>EOFeval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6    ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`  cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else  echo "$ac_t""no" 1>&6fidone# If we cannot run a trivial program, we must be cross compiling.echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  ac_cv_c_cross=yeselsecat > conftest.$ac_ext <<EOF#line 696 "configure"#include "confdefs.h"main(){return(0);}EOFeval $ac_linkif test -s conftest && (./conftest; exit) 2>/dev/null; then  ac_cv_c_cross=noelse  ac_cv_c_cross=yesfifirm -fr conftest*ficross_compiling=$ac_cv_c_crossecho "$ac_t""$ac_cv_c_cross" 1>&6echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 717 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>EOFeval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  ac_cv_header_stdc=yeselse  echo "$ac_err" >&5  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*if test $ac_cv_header_stdc = yes; then  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 739 "configure"#include "confdefs.h"#include <string.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "memchr" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 757 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "free" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then  ac_cv_header_stdc=noelsecat > conftest.$ac_ext <<EOF#line 778 "configure"#include "confdefs.h"#include <ctype.h>#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))int main () { int i; for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);exit (0); }EOFeval $ac_linkif test -s conftest && (./conftest; exit) 2>/dev/null; then  :else  ac_cv_header_stdc=nofifirm -fr conftest*fifiecho "$ac_t""$ac_cv_header_stdc" 1>&6if test $ac_cv_header_stdc = yes; then  cat >> confdefs.h <<\EOF#define STDC_HEADERS 1EOFfitrap '' 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# 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 |  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \  >> 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.4"    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" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15# 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%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%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%@installdata@%$installdata%gs%@uninstalldata@%$uninstalldata%gs%@termcapfile@%$termcapfile%gs%@CC@%$CC%gs%@RANLIB@%$RANLIB%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@CPP@%$CPP%gCEOFEOFcat >> $CONFIG_STATUS <<EOFCONFIG_FILES=\${CONFIG_FILES-"Makefile"}EOFcat >> $CONFIG_STATUS <<\EOFfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  # Support "outfile[:infile]", defaulting infile="outfile.in".  case "$ac_file" in  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;  *) ac_file_in="${ac_file}.in" ;;  esac  # Adjust relative srcdir, etc. for subdirectories.  # Remove last slash and all that follows it.  Not all systems have dirname.  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    # The file is in a subdirectory.    test ! -d "$ac_dir" && mkdir "$ac_dir"    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"    # A "../" for each directory in $ac_dir_suffix.    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`  else    ac_dir_suffix= ac_dots=  fi  case "$ac_given_srcdir" in  .)  srcdir=.      if test -z "$ac_dots"; then top_srcdir=.      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;  *) # Relative path.    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"    top_srcdir="$ac_dots$ac_given_srcdir" ;;  esac  case "$ac_given_INSTALL" in  [/$]*) INSTALL="$ac_given_INSTALL" ;;  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;  esac  echo creating "$ac_file"  rm -f "$ac_file"  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."  case "$ac_file" in  *Makefile*) ac_comsub="1i\\# $configure_input" ;;  *) ac_comsub= ;;  esac  sed -e "$ac_comsubs%@configure_input@%$configure_input%gs%@srcdir@%$srcdir%gs%@top_srcdir@%$top_srcdir%gs%@INSTALL@%$INSTALL%g" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_filefi; donerm -f conftest.subsexit 0EOFchmod +x $CONFIG_STATUSrm -fr confdefs* $ac_clean_filestest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

⌨️ 快捷键说明

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