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

📄 configure

📁 Linux下的tcl语言调试器
💻
📖 第 1 页 / 共 5 页
字号:
    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=tcldbg.h# 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 "$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"  fififor 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=fiDBG_MAJOR_VERSION=2DBG_MINOR_VERSION=0DBG_MICRO_VERSION=0DBG_VERSION=$DBG_MAJOR_VERSION.$DBG_MINOR_VERSIONDBG_VERSION_FULL=$DBG_VERSION.$DBG_MICRO_VERSION# Tcl's handling of shared_lib_suffix requires this symbol existVERSION=$DBG_MAJOR_VERSION.$DBG_MINOR_VERSION## Ok, lets find the tcl configuration# First, look for one uninstalled.  # the alternative search directory is invoked by --with-tcl#if test x"${no_tcl}" = x ; then  # we reset no_tcl in case something fails here  no_tcl=true  # Check whether --with-tcl or --without-tcl was given.if test "${with_tcl+set}" = set; then  withval="$with_tcl"  with_tclconfig=${withval}fi  echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6echo "configure:563: checking for Tcl configuration" >&5  if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # First check to see if --with-tcl was specified.  if test x"${with_tclconfig}" != x ; then    if test -f "${with_tclconfig}/tclConfig.sh" ; then      ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`    else      { echo "configure: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" 1>&2; exit 1; }    fi  fi  # then check for a private Tcl installation  if test x"${ac_cv_c_tclconfig}" = x ; then    for i in \		../tcl \		`ls -dr ../tcl[9].[0-9].[0-9] ../tcl[9].[0-9] 2>/dev/null` \		`ls -dr ../tcl[8].[2-9].[0-9] ../tcl[8].[2-9] 2>/dev/null` \		../../tcl \		`ls -dr ../../tcl[9].[0-9].[0-9] ../../tcl[9].[0-9] 2>/dev/null` \		`ls -dr ../../tcl[8].[2-9].[0-9] ../../tcl[8].[2-9] 2>/dev/null` \		../../../tcl \		`ls -dr ../../../tcl[9].[0-9].[0-9] ../../../tcl[9].[0-9] 2>/dev/null` \		`ls -dr ../../../tcl[8].[2-9].[0-9] ../../../tcl[8].[2-9] 2>/dev/null` ; do      if test -f "$i/unix/tclConfig.sh" ; then        ac_cv_c_tclconfig=`(cd $i/unix; pwd)`	break      fi    done  fi  # check in a few common install locations  if test x"${ac_cv_c_tclconfig}" = x ; then    for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do      if test -f "$i/tclConfig.sh" ; then        ac_cv_c_tclconfig=`(cd $i; pwd)`	break      fi    done  fi  # check in a few other private locations  if test x"${ac_cv_c_tclconfig}" = x ; then    for i in \		${srcdir}/../tcl \		`ls -dr ${srcdir}/../tcl[9].[0-9].[0-9] ${srcdir}/../tcl[9].[0-9] 2>/dev/null` \		`ls -dr ${srcdir}/../tcl[8].[2-9].[0-9] ${srcdir}/../tcl[8].[2-9] 2>/dev/null` ; do      if test -f "$i/unix/tclConfig.sh" ; then        ac_cv_c_tclconfig=`(cd $i/unix; pwd)`	break      fi    done  fi  fi  if test x"${ac_cv_c_tclconfig}" = x ; then    TCLCONFIG="# no Tcl configs found"    echo "configure: warning: Can't find Tcl configuration definitions" 1>&2  else    no_tcl=    TCLCONFIG=${ac_cv_c_tclconfig}/tclConfig.sh    echo "$ac_t""found $TCLCONFIG" 1>&6  fifi    . $TCLCONFIG                    # Tcl defines TCL_SHLIB_SUFFIX but TCL_SHARED_LIB_SUFFIX then looks for it# as just SHLIB_SUFFIX.  How bizarre.    SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX        # if Tcl's build directory has been removed, TCL_LIB_SPEC should# be used instead of TCL_BUILD_LIB_SPECSAVELIBS=$LIBS# eval used to expand out TCL_DBGXeval "LIBS=\"$TCL_BUILD_LIB_SPEC $TCL_LIBS\""echo $ac_n "checking Tcl build library""... $ac_c" 1>&6echo "configure:656: checking Tcl build library" >&5echo "$ac_t""$LIBS" 1>&6echo $ac_n "checking for Tcl_CreateCommand""... $ac_c" 1>&6echo "configure:660: checking for Tcl_CreateCommand" >&5if eval "test \"`echo '$''{'ac_cv_func_Tcl_CreateCommand'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 665 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char Tcl_CreateCommand(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char Tcl_CreateCommand();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_Tcl_CreateCommand) || defined (__stub___Tcl_CreateCommand)choke me#elseTcl_CreateCommand();#endif; return 0; }EOFif { (eval echo configure:688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_Tcl_CreateCommand=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_Tcl_CreateCommand=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'Tcl_CreateCommand`\" = yes"; then  echo "$ac_t""yes" 1>&6  	echo $ac_n "checking if Tcl library build specification is valid""... $ac_c" 1>&6echo "configure:704: checking if Tcl library build specification is valid" >&5	echo "$ac_t""yes" 1>&6else  echo "$ac_t""no" 1>&6	TCL_BUILD_LIB_SPEC=$TCL_LIB_SPEC	# Can't pull the following CHECKING call out since it will be	# broken up by the CHECK_FUNC just above.	echo $ac_n "checking if Tcl library build specification is valid""... $ac_c" 1>&6echo "configure:714: checking if Tcl library build specification is valid" >&5	echo "$ac_t""no" 1>&6fiLIBS=$SAVELIBS            CC=$TCL_CC# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:731: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # 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_CC="gcc"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$CC"; then  # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:761: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_prog_rejected=no  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then        ac_prog_rejected=yes	continue      fi      ac_cv_prog_CC="cc"      break    fi  done  IFS="$ac_save_ifs"if test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# -gt 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    set dummy "$ac_dir/$ac_word" "$@"    shift    ac_cv_prog_CC="$@"  fififi

⌨️ 快捷键说明

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