📄 configure
字号:
{ echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } fi rm -f conftest* test x"${ac_cv_exeext}" = x && ac_cv_exeext=nofifiEXEEXT=""test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}echo "$ac_t""${ac_cv_exeext}" 1>&6ac_exeext=$EXEEXTecho $ac_n "checking for object suffix""... $ac_c" 1>&6echo "configure:1267: checking for object suffix" >&5if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else rm -f conftest*echo 'int i = 1;' > conftest.$ac_extif { (eval echo configure:1273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; esac doneelse { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }firm -f conftest*fiecho "$ac_t""$ac_cv_objext" 1>&6OBJEXT=$ac_cv_objextac_objext=$ac_cv_objextfor ac_prog in gawk mawk nawk awkdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1295: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" break fi done IFS="$ac_save_ifs"fifiAWK="$ac_cv_prog_AWK"if test -n "$AWK"; then echo "$ac_t""$AWK" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$AWK" && breakdone# 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:1327: 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>&6fi# A developer might want to regenerate files with flex and# bison, the flexgen and bisongen targets are used to do this.# We don't want to include these targets in a normal build# since we need to be able to build on systems that do not# have flex and bison installed.LEX="flex"LEXLIB="-lfl"YACC="bison -y"dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."if test x"${no_tcl}" = x ; then no_tcl=true # Check whether --with-tclconfig or --without-tclconfig was given.if test "${with_tclconfig+set}" = set; then withval="$with_tclconfig" with_tclconfig=${withval}fi echo $ac_n "checking for Tcl configuration script""... $ac_c" 1>&6echo "configure:1379: checking for Tcl configuration script" >&5 if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test x"${with_tclconfig}" != x ; then if test -f "${with_tclconfig}/tclConfig.sh" ; then ac_cv_c_tclconfig=`(cd ${with_tclconfig}; ${PWDCMD-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; ${PWDCMD-pwd})` break fi if test -f $srcdir/$i/win/tclConfig.sh ; then ac_cv_c_tclconfig=`(cd $srcdir/$i/win; ${PWDCMD-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; ${PWDCMD-pwd})` break fi if test -f $i/win/tclConfig.sh ; then ac_cv_c_tclconfig=`(cd $i/win; ${PWDCMD-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 eval TCL_LIB_FILE=${TCL_LIB_FILE} eval TCL_LIB_FULL_PATH=${TCL_LIB_FULL_PATH} eval TCL_BUILD_LIB_SPEC=\"${TCL_BUILD_LIB_SPEC}\" eval TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\" if test -z "$CC_FOR_BUILD"; then if test "$cross_compiling" = yes; then CC_FOR_BUILD=gcc else CC_FOR_BUILD='$(CC)' fifiif test x$cross_compiling = xyes; then CROSS_COMPILING_TRUE= CROSS_COMPILING_FALSE='#'else CROSS_COMPILING_TRUE='#' CROSS_COMPILING_FALSE=fiDB_LIBDIR='$(top_builddir)/../../../../db/PORT'DB_INCDIR='$(top_srcdir)/../../../../db/include'for ac_hdr in unistd.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1507: checking for $ac_hdr" >&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 1512 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1517: \"$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_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else echo "$ac_t""no" 1>&6fidone# In the cygwin32 environment, we need some additional flags and# libraries.echo $ac_n "checking for cygwin32""... $ac_c" 1>&6echo "configure:1547: checking for cygwin32" >&5if eval "test \"`echo '$''{'ide_cv_os_cygwin32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1552 "configure"#include "confdefs.h"#ifdef __CYGWIN32__lose#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "lose" >/dev/null 2>&1; then rm -rf conftest* ide_cv_os_cygwin32=yeselse rm -rf conftest* ide_cv_os_cygwin32=nofirm -f conftest*fiecho "$ac_t""$ide_cv_os_cygwin32" 1>&6echo $ac_n "checking for Microsoft Visual C++""... $ac_c" 1>&6echo "configure:1574: checking for Microsoft Visual C++" >&5if eval "test \"`echo '$''{'sn_cv_os_msvc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1579 "configure"#include "confdefs.h"#ifdef _MSC_VERcoool#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "coool" >/dev/null 2>&1; then rm -rf conftest* sn_cv_os_msvc=yeselse rm -rf conftest* sn_cv_os_msvc=nofirm -f conftest*fiecho "$ac_t""$sn_cv_os_msvc" 1>&6echo $ac_n "checking for Mingw32""... $ac_c" 1>&6echo "configure:1601: checking for Mingw32" >&5if eval "test \"`echo '$''{'sn_cv_os_mingw32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1606 "configure"#include "confdefs.h"#ifdef __MINGW32__coool#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "coool" >/dev/null 2>&1; then rm -rf conftest* sn_cv_os_mingw32=yeselse rm -rf conftest* sn_cv_os_mingw32=nofirm -f conftest*fiecho "$ac_t""$sn_cv_os_mingw32" 1>&6if test x$ide_cv_os_cygwin32 = xyes; then WINFLAGS="-D_WINDOWS=1 -DWIN32" WIN32LIBS="-lcomdlg32 -ladvapi32 -lshell32 -luser32 -lgdi32" WIN32LDAPP="-Wl,--subsystem,windows" SNCONFIGDIR="win" ac_win_build="yes"elif test x$sn_cv_os_msvc = xyes; then WINFLAGS="-D_WINDOWS=1 -DWIN32 -D__MSVC__ -DWINNT" WIN32LIBS="comdlg32.lib advapi32.lib shell32.lib user32.lib gdi32.lib" WIN32LDAPP="-subsystem:windows -entry:WinMainCRTStartup" SNCONFIGDIR="win" ac_win_build="yes"elif test x$sn_cv_os_mingw32 = xyes; then WINFLAGS="-D_WINDOWS=1 -DWIN32 -DWINNT" WIN32LIBS="-lcomdlg32 -ladvapi32 -lshell32 -luser32 -lgdi32" WIN32LDAPP="-Wl,--subsystem,windows" SNCONFIGDIR="win" ac_win_build="yes"else WINFLAGS= WIN32LIBS= WIN32LDAPP= SNCONFIGDIR="unix" ac_win_build="no"fiif test x$ac_win_build = xyes; then WINDOWS_TRUE= WINDOWS_FALSE='#'else WINDOWS_TRUE='#' WINDOWS_FALSE=fiif test x$sn_cv_os_msvc = xyes; then MSVC_TRUE= MSVC_FALSE='#'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -