📄 configure
字号:
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 if the compiler supports function prototypes""... $ac_c" 1>&6echo "configure:936: checking if the compiler supports function prototypes" >&5cat > conftest.$ac_ext <<EOF#line 938 "configure"#include "confdefs.h"int main() {extern void exit(int status);; return 0; }EOFif { (eval echo configure:945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* wi_cv_prototypes=yescat >> confdefs.h <<\EOF#define PROTOTYPES 1EOFelse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* wi_cv_prototypes=nofirm -f conftest*echo "$ac_t""$wi_cv_prototypes" 1>&6echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:962: 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}"fi# Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:991: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 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=":" 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_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>&6fiecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1019: checking whether ln -s works" >&5if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else rm -f conftestdataif ln -s X conftestdata 2>/dev/nullthen rm -f conftestdata ac_cv_prog_LN_S="ln -s"else ac_cv_prog_LN_S=lnfifiLN_S="$ac_cv_prog_LN_S"if test "$ac_cv_prog_LN_S" = "ln -s"; then echo "$ac_t""yes" 1>&6else echo "$ac_t""no" 1>&6fiif test "$wi_cv_prototypes" = no ; then echo "configure: warning: Your compiler does not support function prototyping and" 1>&2 echo "configure: warning: is not able to properly compile this package. What a pity." 1>&2 echo "configure: warning: Get gcc, or any compiler that supports function prototypes." 1>&2 exit 1fi## ----------------------------------------------------------------------# Prepare for setup# ----------------------------------------------------------------------#orb_to_use=more_incs="`echo $with_includes | sed 's/:/ /g'`"more_libs="`echo $with_libs | sed 's/:/ /g'`"base_incs="`echo $CPLUS_INCLUDE_PATH | sed 's/:/ /g'` /local/include /usr/local/include /usr/include"base_libs="`echo $LIBPATH $LIBRARY_PATH $LD_LIBRARY_PATH $SHLIB_PATH | sed 's/:/ /g'` /local/lib /usr/local/lib /usr/lib"base_bins="`echo $PATH | sed 's/:/\/.. /g'` /local/bin /usr/local/bin /usr/bin"base_dirs="$prefix `echo $PATH | sed 's/:/\/.. /g'`"## ----------------------------------------------------------------------# Check Tcl setup# ----------------------------------------------------------------------#if test "x$have_tcl" != "xno" ; then echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6echo "configure:1069: checking for tclConfig.sh" >&5 if test "x" = "x" ; then ff_name=`echo tclConfig.sh | sed 's/[-.*/ ]/_/g'` else ff_name="" fi eval $ff_name= eval ${ff_name}_dir= ff_file= ff_file_dir= for ff_dir in $have_tcl $have_tk $more_libs $base_libs $base_dirs ; do if test -f $ff_dir/tclConfig.sh ; then ff_file_dir=$ff_dir ff_file=$ff_dir/tclConfig.sh break fi for ff_subdir in lib ; do if test -f $ff_dir/$ff_subdir/tclConfig.sh ; then ff_file_dir=$ff_dir/$ff_subdir ff_file=$ff_dir/$ff_subdir/tclConfig.sh break fi done if test "x$ff_file" != "x" ; then break fi done eval ${ff_name}_dir="$ff_file_dir" eval $ff_name="$ff_file" if test "x$tclConfig_sh" = "x" ; then echo "$ac_t""not found" 1>&6 echo "configure: warning: Tcl parts disabled" 1>&2 echo "configure: warning: use --enable-tcl to locate tclConfig.sh" 1>&2 have_tcl=no else echo "$ac_t""$tclConfig_sh" 1>&6 fifiif test "x$have_tcl" != "xno" ; then echo $ac_n "checking contents of tcl config""... $ac_c" 1>&6echo "configure:1112: checking contents of tcl config" >&5 . $tclConfig_sh echo "$ac_t""done" 1>&6 echo $ac_n "checking tcl version""... $ac_c" 1>&6echo "configure:1117: checking tcl version" >&5 echo "$ac_t""${TCL_VERSION}${TCL_PATCH_LEVEL}" 1>&6 if test "$TCL_MAJOR_VERSION" -lt 8 ; then echo "configure: warning: Oops, I need at least Tcl 8.0, sorry. Tcl parts disabled." 1>&2 echo "configure: warning: use --enable-tcl to locate tclConfig.sh" 1>&2 have_tcl=no fifiif test "x$have_tcl" != "xno" ; then echo $ac_n "checking for tcl.h""... $ac_c" 1>&6echo "configure:1129: checking for tcl.h" >&5 if test "x" = "x" ; then ff_name=`echo tcl.h | sed 's/[-.*/ ]/_/g'` else ff_name="" fi eval $ff_name= eval ${ff_name}_dir= ff_file= ff_file_dir= for ff_dir in $TCL_PREFIX $TCL_EXEC_PREFIX $TCL_SRC_DIR $have_tcl $have_tk $more_incs $base_incs $base_dirs ; do if test -f $ff_dir/tcl.h ; then ff_file_dir=$ff_dir ff_file=$ff_dir/tcl.h break fi for ff_subdir in include ; do if test -f $ff_dir/$ff_subdir/tcl.h ; then ff_file_dir=$ff_dir/$ff_subdir ff_file=$ff_dir/$ff_subdir/tcl.h break fi done if test "x$ff_file" != "x" ; then break fi done eval ${ff_name}_dir="$ff_file_dir" eval $ff_name="$ff_file" if test "x$tcl_h_dir" = "x" ; then echo "$ac_t""not found" 1>&6 echo "configure: warning: Tcl parts disabled" 1>&2 echo "configure: warning: use --enable-tcl to locate tcl.h" 1>&2 have_tcl=no else echo "$ac_t""found in $tcl_h_dir" 1>&6 fifiif test "x$have_tcl" != "xno" ; then tcllibfile=`eval echo $TCL_LIB_FILE` tcllibpath= for item in $TCL_LIB_SPEC $TCL_BUILD_LIB_SPEC ; do case $item in -L*) tcllibpath="$tcllibpath `echo $item | sed 's/^-L//'`" ;; esac done echo $ac_n "checking for $tcllibfile""... $ac_c" 1>&6echo "configure:1183: checking for $tcllibfile" >&5 if test "xtcl_lib" = "x" ; then ff_name=`echo $tcllibfile | sed 's/[-.*/ ]/_/g'` else ff_name="tcl_lib" fi eval $ff_name= eval ${ff_name}_dir= ff_file= ff_file_dir= for ff_dir in $tcllibpath $TCL_PREFIX $TCL_EXEC_PREFIX $TCL_SRC_DIR $have_tcl $have_tk $more_libs $base_libs $base_dirs ; do if test -f $ff_dir/$tcllibfile ; then ff_file_dir=$ff_dir ff_file=$ff_dir/$tcllibfile break fi for ff_subdir in lib unix ; do if test -f $ff_dir/$ff_subdir/$tcllibfile ; then ff_file_dir=$ff_dir/$ff_subdir ff_file=$ff_dir/$ff_subdir/$tcllibfile break fi done if test "x$ff_file" != "x" ; then break fi done eval ${ff_name}_dir="$ff_file_dir" eval $ff_name="$ff_file" if test "x$tcl_lib_dir" = "x" ; then echo "$ac_t""not found" 1>&6 echo "configure: warning: Tcl parts disabled" 1>&2 echo "configure: warning: use --enable-tcl to locate $tcllibfile" 1>&2 have_tcl="no" else echo "$ac_t""found in $tcl_lib_dir" 1>&6 fi case $TCL_DEFS in *TCL_THREADS*) CFLAGS="-D_REENTRANT $CFLAGS" ;; esacfi## Tcl setup complete#if test "x$have_tcl" != "xno" ; then tcllibflag=`eval echo $TCL_LIB_FLAG` TCL_CPPFLAGS="-I$tcl_h_dir $TCL_CPPFLAGS" TCL_LDFLAGS="-L$tcl_lib_dir" TCL_LIBS="$tcllibflag $TCL_LIBS" cat >> confdefs.h <<\EOF#define HAVE_TCL 1EOF cat >> confdefs.h <<\EOF#define TMAIN_THREE 1EOFfi## ----------------------------------------------------------------------# Check Tk setup# ----------------------------------------------------------------------#if test "x$have_tcl" = "xno" ; then have_tk=nofiif test "x$have_tk" != "xno" ; then echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6echo "configure:1265: checking for tkConfig.sh" >&5 if test "x" = "x" ; then ff_name=`echo tkConfig.sh | sed 's/[-.*/ ]/_/g'` else ff_name="" fi eval $ff_name= eval ${ff_name}_dir= ff_file= ff_file_dir= for ff_dir in $have_tcl $have_tk $more_libs $base_libs $base_dirs ; do if test -f $ff_dir/tkConfig.sh ; then ff_file_dir=$ff_dir ff_file=$ff_dir/tkConfig.sh break fi for ff_subdir in lib ; do if test -f $ff_dir/$ff_subdir/tkConfig.sh ; then ff_file_dir=$ff_dir/$ff_subdir ff_file=$ff_dir/$ff_subdir/tkConfig.sh break fi done if test "x$ff_file" != "x" ; then break fi done eval ${ff_name}_dir="$ff_file_dir" eval $ff_name="$ff_file" if test "x$tkConfig_sh" = "x" ; then echo "$ac_t""not found" 1>&6 echo "configure: warning: Tk parts disabled" 1>&2 echo "configure: warning: use --enable-tk to locate tkConfig.sh" 1>&2 have_tk=no else echo "$ac_t""$tkConfig_sh" 1>&6 fifiif test "x$have_tk" != "xno" ; then echo $ac_n "checking contents of tk config""... $ac_c" 1>&6echo "configure:1308: checking contents of tk config" >&5 . $tkConfig_sh echo "$ac_t""done" 1>&6 echo $ac_n "checking tk version""... $ac_c" 1>&6echo "configure:1313: checking tk version" >&5 echo "$ac_t""${TK_VERSION}${TK_PATCH_LEVEL}" 1>&6 if test "$TK_MAJOR_VERSION" -lt 8 ; then echo "configure: warning: Oops, I need at least Tk 8.0, sorry. Tk parts disabled." 1>&2 echo "configure: warning: use --enable-tk to locate tkConfig.sh" 1>&2 have_tk=no fifiif test "x$have_tk" != "xno" ; then echo $ac_n "checking for tk.h""... $ac_c" 1>&6echo "configure:1325: checking for tk.h" >&5 if test "x" = "x" ; then ff_name=`echo tk.h | sed 's/[-.*/ ]/_/g'` else ff_name="" fi eval $ff_name= eval ${ff_name}_dir= ff_file= ff_file_dir= for ff_dir in $TK_PREFIX $TK_EXEC_PREFIX $TK_SRC_DIR $have_tk $have_tcl $tcl_h_dir $more_incs $base_incs $base_dirs ; do if test -f $ff_dir/tk.h ; then ff_file_dir=$ff_dir ff_file=$ff_dir/tk.h break fi for ff_subdir in include ; do if test -f $ff_dir/$ff_subdir/tk.h ; then ff_file_dir=$ff_dir/$ff_subdir ff_file=$ff_dir/$ff_subdir/tk.h break fi done if test "x$ff_file" != "x" ; then break fi done eval ${ff_name}_dir="$ff_file_dir" eval $ff_name="$ff_file" if test "x$tk_h_dir" = "x" ; then echo "$ac_t""not found" 1>&6 echo "configure: warning: Tk parts disabled" 1>&2 echo "configure: warning: use --enable-tk to locate tk.h" 1>&2 have_tk=no else echo "$ac_t""found in $tk_h_dir" 1>&6 fifiif test "x$have_tk" != "xno" ; then tklibfile=`eval echo $TK_LIB_FILE` tcllibpath= for item in $TK_LIB_SPEC $TK_BUILD_LIB_SPEC ; do case $item in -L*) tklibpath="$tklibpath `echo $item | sed 's/^-L//'`" ;; esac done echo $ac_n "checking for $tklibfile""... $ac_c" 1>&6echo "configure:1378: checking for $tklibfile" >&5 if test "xtk_lib" = "x" ; then ff_name=`echo $tklibfile | sed 's/[-.*/ ]/_/g'` else ff_name="tk_lib" fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -