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

📄 configure

📁 linux 下的源代码分析阅读器 red hat公司新版
💻
📖 第 1 页 / 共 5 页
字号:
else          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        if test x"${ac_cv_c_tclconfig}" = x ; then        for i in $dirlist; do            if test -f $srcdir/$i/unix/tclConfig.sh ; then                ac_cv_c_tclconfig=`(cd $srcdir/$i/unix; pwd)`	        break            fi        done    fi        if test x"${ac_cv_c_tclconfig}" = x ; then                for i in $dirlist; do            if test -n "`ls -dr $i/tcl* 2>/dev/null`" ; then	        tclconfpath=$i	        break	    fi        done                        for i in `ls -dr $tclconfpath/tcl* 2>/dev/null ` ; do            if test -f $i/unix/tclConfig.sh ; then                ac_cv_c_tclconfig=`(cd $i/unix; pwd)`                break            fi            if test -f $i/win/tclConfig.sh ; then                ac_cv_c_tclconfig=`(cd $i/win; pwd)`                break            fi        done    fi            if test x"${ac_cv_c_tclconfig}" = x ; then        	ccpath=`which ${CC}  | sed -e 's:/bin/.*::'`/lib        if test -f $ccpath/tclConfig.sh; then	    ac_cv_c_tclconfig=$ccpath        fi    fi    fi	    if test x"${ac_cv_c_tclconfig}" = x ; then        TCLCONFIG=""        echo "configure: warning: Can't find Tcl configuration definitions" 1>&2    else        no_tcl=""        TCLCONFIG=${ac_cv_c_tclconfig}/tclConfig.sh        echo "$ac_t""${TCLCONFIG}" 1>&6     fifi    . $TCLCONFIG                                                dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."if test x"${no_tk}" = x ; then      no_tk=true    # Check whether --with-tkconfig or --without-tkconfig was given.if test "${with_tkconfig+set}" = set; then  withval="$with_tkconfig"  with_tkconfig=${withval}fi    echo $ac_n "checking for Tk configuration script""... $ac_c" 1>&6echo "configure:1396: checking for Tk configuration script" >&5    if eval "test \"`echo '$''{'ac_cv_c_tkconfig'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else          if test x"${with_tkconfig}" != x ; then        if test -f "${with_tkconfig}/tkConfig.sh" ; then            ac_cv_c_tkconfig=`(cd ${with_tkconfig}; pwd)`        else            { echo "configure: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" 1>&2; exit 1; }        fi    fi        if test x"${ac_cv_c_tkconfig}" = x ; then        for i in $dirlist; do            if test -f $srcdir/$i/unix/tkConfig.sh ; then                ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; pwd)`	        break            fi        done    fi        if test x"${ac_cv_c_tkconfig}" = x ; then                for i in $dirlist; do            if test -n "`ls -dr $i/tk* 2>/dev/null`" ; then	        tkconfpath=$i	        break	    fi        done                        for i in `ls -dr $tkconfpath/tk* 2>/dev/null ` ; do            if test -f $i/unix/tkConfig.sh ; then                ac_cv_c_tkconfig=`(cd $i/unix; pwd)`                break            fi            if test -f $i/win/tkConfig.sh ; then                ac_cv_c_tkconfig=`(cd $i/win; pwd)`                break            fi        done    fi            if test x"${ac_cv_c_tkconfig}" = x ; then        	ccpath=`which ${CC}  | sed -e 's:/bin/.*::'`/lib        if test -f $ccpath/tkConfig.sh; then	    ac_cv_c_tkconfig=$ccpath        fi    fi    fi	    if test x"${ac_cv_c_tkconfig}" = x ; then        TKCONFIG=""        echo "configure: warning: Can't find Tk configuration definitions" 1>&2    else        no_tk=""        TKCONFIG=${ac_cv_c_tkconfig}/tkConfig.sh        echo "$ac_t""${TKCONFIG}" 1>&6     fifi    if test -f "$TKCONFIG" ; then      . $TKCONFIG    fi                                        dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."no_tcl=trueecho $ac_n "checking for Tcl headers in the source tree""... $ac_c" 1>&6echo "configure:1480: checking for Tcl headers in the source tree" >&5# Check whether --with-tclinclude or --without-tclinclude was given.if test "${with_tclinclude+set}" = set; then  withval="$with_tclinclude"  with_tclinclude=${withval}fiif eval "test \"`echo '$''{'ac_cv_c_tclh'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test x"${with_tclinclude}" != x ; then  if test -f ${with_tclinclude}/tcl.h ; then    ac_cv_c_tclh=`(cd ${with_tclinclude}; pwd)`  elif test -f ${with_tclinclude}/generic/tcl.h ; then    ac_cv_c_tclh=`(cd ${with_tclinclude}/generic; pwd)`  else    { echo "configure: error: ${with_tclinclude} directory doesn't contain headers" 1>&2; exit 1; }  fifiif test x"${ac_cv_c_tclconfig}" != x ; then  for i in $dirlist; do    if test -f $ac_cv_c_tclconfig/$i/generic/tcl.h ; then      ac_cv_c_tclh=`(cd $ac_cv_c_tclconfig/$i/generic; pwd)`      break    fi  donefiif test x"${ac_cv_c_tclh}" = x ; then        for i in $dirlist; do        if test -n "`ls -dr $srcdir/$i/tcl* 2>/dev/null`" ; then	    tclpath=$srcdir/$i	    break	fi    done            for i in `ls -dr $tclpath/tcl* 2>/dev/null ` ; do        if test -f $i/generic/tcl.h ; then          ac_cv_c_tclh=`(cd $i/generic; pwd)`          break        fi    donefiif test x"${ac_cv_c_tclh}" = x ; then        ccpath=`which ${CC}  | sed -e 's:/bin/.*::'`/include    if test -f $ccpath/tcl.h; then        ac_cv_c_tclh=$ccpath    fifiif test x"${ac_cv_c_tclh}" = x ; then   echo "$ac_t""none" 1>&6   ac_safe=`echo "tcl.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for tcl.h""... $ac_c" 1>&6echo "configure:1537: checking for tcl.h" >&5if 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 1542 "configure"#include "confdefs.h"#include <tcl.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1547: \"$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*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&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_cv_c_tclh=installedelse  echo "$ac_t""no" 1>&6ac_cv_c_tclh=""fielse   echo "$ac_t""${ac_cv_c_tclh}" 1>&6fifi  TCLHDIR=""if test x"${ac_cv_c_tclh}" = x ; then    { echo "configure: error: Can't find any Tcl headers" 1>&2; exit 1; }fiif test x"${ac_cv_c_tclh}" != x ; then    no_tcl=""    if test x"${ac_cv_c_tclh}" != x"installed" ; then	if test x"${CC}" = xcl ; then	    tmp="`cygpath --windows ${ac_cv_c_tclh}`"	    ac_cv_c_tclh="`echo $tmp | sed -e s#\\\\\\\\#/#g`"	fi        echo "$ac_t""${ac_cv_c_tclh}" 1>&6        TCLHDIR="-I${ac_cv_c_tclh}"    fifi# FIXME: consider only doing this if --with-x given.## Ok, lets find the tk source trees so we can use the headers# If the directory (presumably symlink) named "tk" exists, use that one# in preference to any others.  Same logic is used when choosing library# and again with Tcl. The search order is the best place to look first, then in# decreasing significance. The loop breaks if the trigger file is found.# Note the gross little conversion here of srcdir by cd'ing to the found# directory. This converts the path from a relative to an absolute, so# recursive cache variables for the path will work right. We check all# the possible paths in one loop rather than many seperate loops to speed# things up.# the alternative search directory is involked by --with-tkinclude#dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."no_tk=trueecho $ac_n "checking for Tk headers in the source tree""... $ac_c" 1>&6echo "configure:1611: checking for Tk headers in the source tree" >&5# Check whether --with-tkinclude or --without-tkinclude was given.if test "${with_tkinclude+set}" = set; then  withval="$with_tkinclude"  with_tkinclude=${withval}fiif eval "test \"`echo '$''{'ac_cv_c_tkh'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test x"${with_tkinclude}" != x ; then  if test -f ${with_tkinclude}/tk.h ; then    ac_cv_c_tkh=`(cd ${with_tkinclude}; pwd)`  elif test -f ${with_tkinclude}/generic/tk.h ; then    ac_cv_c_tkh=`(cd ${with_tkinclude}/generic; pwd)`  else    { echo "configure: error: ${with_tkinclude} directory doesn't contain headers" 1>&2; exit 1; }  fifiif test x"${ac_cv_c_tkconfig}" != x ; then  for i in $dirlist; do    if test -f $ac_cv_c_tkconfig/$i/generic/tk.h ; then      ac_cv_c_tkh=`(cd $ac_cv_c_tkconfig/$i/generic; pwd)`      break    fi  donefiif test x"${ac_cv_c_tkh}" = x ; then        for i in $dirlist; do        if test -n "`ls -dr $srcdir/$i/tk* 2>/dev/null`" ; then	    tkpath=$srcdir/$i	    break	fi    done            for i in `ls -dr $tkpath/tk* 2>/dev/null ` ; do        if test -f $i/generic/tk.h ; then          ac_cv_c_tkh=`(cd $i/generic; pwd)`          break        fi    donefiif test x"${ac_cv_c_tkh}" = x ; then    echo "$ac_t""none" 1>&6            ccpath=`which ${CC}  | sed -e 's:/bin/.*::'`/include    if test -f $ccpath/tk.h; then	ac_cv_c_tkh=$ccpath    fielse   echo "$ac_t""${ac_cv_c_tkh}" 1>&6fifi  TKHDIR=""if test x"${ac_cv_c_tkh}" = x ; then    { echo "configure: error: Can't find any Tk headers" 1>&2; exit 1; }fiif test x"${ac_cv_c_tkh}" != x ; then    no_tk=""    if test x"${ac_cv_c_tkh}" != x"installed" ; then	if test x"${CC}" = xcl ; then	    tmp="`cygpath --windows ${ac_cv_c_tkh}`"	    ac_cv_c_tkh="`echo $tmp | sed -e s#\\\\\\\\#/#g`"	fi        echo "$ac_t""found in ${ac_cv_c_tkh}" 1>&6        TKHDIR="-I${ac_cv_c_tkh}"    fifi#--------------------------------------------------------------------#	Find out the top level source directory of the Tix package.#--------------------------------------------------------------------TIX_SRC_DIR=`cd ${srcdir}/../..; pwd`#--------------------------------------------------------------------#	See if we should compile SAM#--------------------------------------------------------------------# Check whether --enable-sam or --disable-sam was given.if test "${enable_sam+set}" = set; then  enableval="$enable_sam"  ok=$enablevalelse  ok=nofiif test "$ok" = "yes"; then    TIX_BUILD_SAM="yes"    TIX_SAM_TARGETS='$(SAM_TARGETS)'else    TIX_BUILD_SAM="no"fi	    TIX_SAM_INSTALL=_install_sam_lib_IS_ITCL=0ITCL_BUILD_LIB_SPEC=""ITK_BUILD_LIB_SPEC=""TIX_EXE_FILE=tixwishTCL_SAMEXE_FILE=satclshTK_SAMEXE_FILE=sawishTIX_SAMEXE_FILE=satixwish#--------------------------------------------------------------------#	Read in configuration information generated by Tcl for shared#	libraries, and arrange for it to be substituted into our#	Makefile.#--------------------------------------------------------------------CC=$TCL_CCSHLIB_CFLAGS=$TCL_SHLIB_CFLAGSSHLIB_LD=$TCL_SHLIB_LDSHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBSSHLIB_SUFFIX=$TCL_SHLIB_SUFFIXSHLIB_VERSION=$TCL_SHLIB_VERSIONDL_LIBS=$TCL_DL_LIBSLD_FLAGS=$TCL_LD_FLAGS

⌨️ 快捷键说明

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