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

📄 configure

📁 这个是LINUX下的GDB调度工具的源码
💻
📖 第 1 页 / 共 5 页
字号:
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \  | --sharedst | --shareds | --shared | --share | --shar \  | --sha | --sh)    ac_prev=sharedstatedir ;;  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \  | --sha=* | --sh=*)    sharedstatedir="$ac_optarg" ;;  -site | --site | --sit)    ac_prev=site ;;  -site=* | --site=* | --sit=*)    site="$ac_optarg" ;;  -site-file | --site-file | --site-fil | --site-fi | --site-f)    ac_prev=sitefile ;;  -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)    sitefile="$ac_optarg" ;;  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    ac_prev=srcdir ;;  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    srcdir="$ac_optarg" ;;  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \  | --syscon | --sysco | --sysc | --sys | --sy)    ac_prev=sysconfdir ;;  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    sysconfdir="$ac_optarg" ;;  -target | --target | --targe | --targ | --tar | --ta | --t)    ac_prev=target ;;  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    target="$ac_optarg" ;;  -v | -verbose | --verbose | --verbos | --verbo | --verb)    verbose=yes ;;  -version | --version | --versio | --versi | --vers)    echo "configure generated by autoconf version 2.13"    exit 0 ;;  -with-* | --with-*)    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`    # Reject names that are not valid shell variable names.    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }    fi    ac_package=`echo $ac_package| sed 's/-/_/g'`    case "$ac_option" in      *=*) ;;      *) ac_optarg=yes ;;    esac    eval "with_${ac_package}='$ac_optarg'" ;;  -without-* | --without-*)    ac_package=`echo $ac_option|sed -e 's/-*without-//'`    # Reject names that are not valid shell variable names.    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }    fi    ac_package=`echo $ac_package| sed 's/-/_/g'`    eval "with_${ac_package}=no" ;;  --x)    # Obsolete; use --with-x.    with_x=yes ;;  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \  | --x-incl | --x-inc | --x-in | --x-i)    ac_prev=x_includes ;;  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    x_includes="$ac_optarg" ;;  -x-libraries | --x-libraries | --x-librarie | --x-librari \  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    ac_prev=x_libraries ;;  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    x_libraries="$ac_optarg" ;;  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    ;;  *)    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      echo "configure: warning: $ac_option: invalid host type" 1>&2    fi    if test "x$nonopt" != xNONE; then      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }    fi    nonopt="$ac_option"    ;;  esacdoneif test -n "$ac_prev"; then  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }fitrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15# File descriptor usage:# 0 standard input# 1 file creation# 2 errors and warnings# 3 some systems may open it to /dev/tty# 4 used on the Kubota Titan# 6 checking for... messages and results# 5 compiler messages saved in config.logif test "$silent" = yes; then  exec 6>/dev/nullelse  exec 6>&1fiexec 5>./config.logecho "\This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake." 1>&5# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell metacharacters.ac_configure_args=for ac_argdo  case "$ac_arg" in  -no-create | --no-create | --no-creat | --no-crea | --no-cre \  | --no-cr | --no-c) ;;  -no-recursion | --no-recursion | --no-recursio | --no-recursi \  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  ac_configure_args="$ac_configure_args '$ac_arg'" ;;  *) ac_configure_args="$ac_configure_args $ac_arg" ;;  esacdone# NLS nuisances.# Only set these to C if already set.  These must not be set unconditionally# because not all systems understand e.g. LANG=C (notably SCO).# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!# Non-C LC_CTYPE values break the ctype check.if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fiif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fiif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fiif test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# A filename unique to this package, relative to the directory that# configure is in, which we can look for to find out if srcdir is correct.ac_unique_file=Makefile.in# Find the source files, if location was not specified.if test -z "$srcdir"; then  ac_srcdir_defaulted=yes  # Try the directory containing this script, then its parent.  ac_prog=$0  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.  srcdir=$ac_confdir  if test ! -r $srcdir/$ac_unique_file; then    srcdir=..  fielse  ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then  if test "$ac_srcdir_defaulted" = yes; then    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }  else    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }  fifisrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`# Prefer explicitly selected file to automatically selected ones.if test -z "$sitefile"; then  if test -z "$CONFIG_SITE"; then    if test "x$prefix" != xNONE; then      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"    else      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"    fi  fielse  CONFIG_SITE="$sitefile"fifor ac_site_file in $CONFIG_SITE; do  if test -r "$ac_site_file"; then    echo "loading site script $ac_site_file"    . "$ac_site_file"  fidoneif test -r "$cache_file"; then  echo "loading cache $cache_file"  . $cache_fileelse  echo "creating cache $cache_file"  > $cache_filefiac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossac_exeext=ac_objext=oif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:695: 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 710 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:716: \"$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 727 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:733: \"$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 744 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:750: \"$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>&6echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:775: checking whether ${MAKE-make} sets \${MAKE}" >&5set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftestmake <<\EOFall:	@echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then  eval ac_cv_prog_make_${ac_make}_set=yeselse  eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftestmakefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  echo "$ac_t""yes" 1>&6  SET_MAKE=else  echo "$ac_t""no" 1>&6  SET_MAKE="MAKE=${MAKE-make}"fiecho $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6echo "configure:802: checking for POSIXized ISC" >&5if test -d /etc/conf/kconfig.d &&  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1then  echo "$ac_t""yes" 1>&6  ISC=yes # If later tests want to check for ISC.  cat >> confdefs.h <<\EOF#define _POSIX_SOURCE 1EOF  if test "$GCC" = yes; then    CC="$CC -posix"  else    CC="$CC -Xp"  fielse  echo "$ac_t""no" 1>&6  ISC=fiecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6echo "configure:823: checking for ANSI C header files" >&5if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 828 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:836: \"$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  rm -rf conftest*  ac_cv_header_stdc=yeselse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&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 853 "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 871 "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  :else  cat > conftest.$ac_ext <<EOF#line 892 "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); }EOFif { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  :else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_header_stdc=nofirm -fr conftest*fififi

⌨️ 快捷键说明

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