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

📄 configure

📁 rtpmon-1.0a7.tar.gz for UNIX like
💻
📖 第 1 页 / 共 5 页
字号:
else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  libtk="-ltk42"else  echo "$ac_t""no" 1>&6libtk="no"fi        if test "$libtk" = "no" ; then            echo $ac_n "checking for -ltk41""... $ac_c" 1>&6ac_lib_var=`echo tk41'_'Tk_Init | tr './+\055' '__p_'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-ltk41  $LIBS"cat > conftest.$ac_ext <<EOF#line 1811 "configure"#include "confdefs.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 Tk_Init();int main() { return 0; }int t() {Tk_Init(); return 0; }EOFif { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  libtk="-ltk41"else  echo "$ac_t""no" 1>&6libtk="no"fi        fi    else        echo $ac_n "checking for -ltk4.2""... $ac_c" 1>&6ac_lib_var=`echo tk4.2'_'Tk_init | tr './+\055' '__p_'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-ltk4.2  $LIBS"cat > conftest.$ac_ext <<EOF#line 1852 "configure"#include "confdefs.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 Tk_init();int main() { return 0; }int t() {Tk_init(); return 0; }EOFif { (eval echo configure:1864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  libtk="-ltk4.2"else  echo "$ac_t""no" 1>&6libtk="no"fi        if test "$libtk" = "no" ; then            echo $ac_n "checking for -ltk4.1""... $ac_c" 1>&6ac_lib_var=`echo tk4.1'_'Tk_Init | tr './+\055' '__p_'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-ltk4.1  $LIBS"cat > conftest.$ac_ext <<EOF#line 1892 "configure"#include "confdefs.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 Tk_Init();int main() { return 0; }int t() {Tk_Init(); return 0; }EOFif { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  libtk="-ltk4.1"else  echo "$ac_t""no" 1>&6libtk="no"fi        fi    fi    if test "$libtk" = "no" ; then        echo $ac_n "checking for -ltk""... $ac_c" 1>&6ac_lib_var=`echo tk'_'Tk_Init | tr './+\055' '__p_'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-ltk  $LIBS"cat > conftest.$ac_ext <<EOF#line 1935 "configure"#include "confdefs.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 Tk_Init();int main() { return 0; }int t() {Tk_Init(); return 0; }EOFif { (eval echo configure:1947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  libtk="-ltk"else  echo "$ac_t""no" 1>&6libtk="no"fi    fifiif test "$found_tk_h" = "no" ; then    echo $ac_n "checking for tk.h""... $ac_c" 1>&6    places="$dir/include \            ../tk4.1/generic \            /usr/src/tk4.1/generic \            /usr/local/src/tk4.1/generic \            /usr/src/local/tk4.1/generic \            /usr/include \            /usr/local/include \            /usr/contrib/include \            $prefix/include \            $x_includes"    for place in $places; do        if test -r $place/tk.h ; then            echo "$ac_t""$place" 1>&6            INC="$INC -I$place"            found_tk_h="yes"            break        fi    done    if test "$found_tk_h" = "no" ; then        echo "$ac_t""nope" 1>&6        { echo "configure: error: Can't find tk.h.  Try the --with-tk option." 1>&2; exit 1; }    fifiif test "$libtk" = "no" ; then    echo $ac_n "checking for libtk""... $ac_c" 1>&6    places="$dir/lib \            ../tk4.1/unix \            /usr/src/tk4.1/unix \            /usr/local/src/tk4.1/unix \            /usr/src/local/tk4.1/unix \            /usr/lib \            /usr/local/lib \            /usr/contrib/lib \            $prefix/lib \            $x_libraries"        for place in $places; do        if test "$solaris" = 1 ; then            if test -r $place/libtk4.1.so ; then                echo "$ac_t""$place/libtk4.1.so" 1>&6                LDFLAGS="$LDFLAGS -R$place -L$place"                libtk="-ltk4.1"            elif test -r $place/libtk.so ; then                echo "$ac_t""$place/libtk.so" 1>&6                LDFLAGS="$LDFLAGS -R$place -L$place"                libtk="-ltk"            fi        fi        if test "$sunos" = 1 -a -r $place/libtk41.a ; then            echo "$ac_t""$place/libtk41.a" 1>&6            LDFLAGS="$LDFLAGS -L$place"            libtk="-ltk41"        fi        if test "$libtk" = "no" ; then            if test -r $place/libtk4.2.a ; then                echo "$ac_t""$place/libtk4.2.a" 1>&6                LDFLAGS="$LDFLAGS -L$place"                libtk="-ltk4.2"            elif test -r $place/libtk4.1.a ; then                echo "$ac_t""$place/libtk4.1.a" 1>&6                LDFLAGS="$LDFLAGS -L$place"                libtk="-ltk4.1"            elif test -r $place/libtk.a ; then                echo "$ac_t""$place/libtk.a" 1>&6                LDFLAGS="$LDFLAGS -L$place"                libtk="-ltk"            fi        fi        if test "$libtk" != "no" ; then            break        fi    done    if test "$libtk" = "-ltk" ; then        echo "configure: warning: Tk library may be too old (need version 4.1 or later)" 1>&2    fi    if test "$libtk" = "no" ; then        echo "$ac_t""nope" 1>&6        { echo "configure: error: Can't find libtk.  Try the --with-tk option." 1>&2; exit 1; }    fififound_tk_tcl="no"echo $ac_n "checking for Tk runtime libraries""... $ac_c" 1>&6places="$dir/lib/tk4.2 \        $dir/share/lib/tk4.2 \        ../tk4.2/library \        /usr/src/tk4.2/library \        /usr/local/src/tk4.2/library \        /usr/src/local/tk4.2/library \        /usr/lib/tk4.2 \        /usr/share/lib/tk4.2 \        /usr/local/lib/tk4.2 \        /usr/local/share/lib/tk4.2 \        /usr/contrib/lib/tk4.2 \        /usr/contrib/share/lib/tk4.2 \        $prefix/lib/tk4.2 \        $prefix/share/lib/tk4.2 \        $x_libraries/tk4.2 \	$dir/lib/tk4.1 \        $dir/share/lib/tk4.1 \        ../tk4.1/library \        /usr/src/tk4.1/library \        /usr/local/src/tk4.1/library \        /usr/src/local/tk4.1/library \        /usr/lib/tk4.1 \        /usr/share/lib/tk4.1 \        /usr/local/lib/tk4.1 \        /usr/local/share/lib/tk4.1 \        /usr/contrib/lib/tk4.1 \        /usr/contrib/share/lib/tk4.1 \        $prefix/lib/tk4.1 \        $prefix/share/lib/tk4.1 \        $x_libraries/tk4.1"for place in $places; do    if test -r $place/tk.tcl ; then        echo "$ac_t""$place" 1>&6        TK_LIB=$place        found_tk_tcl="yes"        break    fidoneif test "$found_tk_tcl" = "no" ; then    echo "$ac_t""nope" 1>&6    { echo "configure: error: Can't find tk.tcl.  Try the --with-tk option." 1>&2; exit 1; }fiLIBS="$LIBS $libtk $libtcl $X11_LIB -lm"#----------------------------------------#  Any extra libs#----------------------------------------case "$target" in  *-*-hpux9*)    LIBS="$LIBS -ldld"    ;;  sparc-sun-solaris*)    LIBS="$LIBS -lnsl -lsocket -ldl"    ;;  *-sgi-irix*)    V_SHELL="SHELL = /bin/sh"    ;;  *-ibm-aix4*)    if "`basename $CXX`" = "xlC" ; then        LIBS="$LIBS -lld"        cat >> confdefs.h <<\EOF#define _AIX41 1EOF    fi    ;;  # need to add othersesactrap '' 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_optiond

⌨️ 快捷键说明

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