📄 configure
字号:
echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }else cat > conftest.$ac_ext <<EOF#line 1724 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(long)); exit(0);}EOFif { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_sizeof_long=`cat conftestval`else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_sizeof_long=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_long" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_LONG $ac_cv_sizeof_longEOF echo $ac_n "checking "for __PRETTY_FUNCTION__ support"""... $ac_c" 1>&6echo "configure:1760: checking "for __PRETTY_FUNCTION__ support"" >&5if eval "test \"`echo '$''{'cyg_ac_cv_c_pretty_function'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_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_cross cat > conftest.$ac_ext <<EOF#line 1774 "configure"#include "confdefs.h"#include <stdio.h>int main() {puts(__PRETTY_FUNCTION__);; return 0; }EOFif { (eval echo configure:1781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* c_ok="yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* c_ok="no" firm -f conftest* ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF#line 1800 "configure"#include "confdefs.h"#include <cstdio>int main() {puts(__PRETTY_FUNCTION__);; return 0; }EOFif { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cxx_ok="yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* cxx_ok="no" firm -f conftest* ac_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_cross if test "${c_ok}" = "yes" -a "${cxx_ok}" = "yes"; then cyg_ac_cv_c_pretty_function="yes" fi fiecho "$ac_t""$cyg_ac_cv_c_pretty_function" 1>&6 if test "${cyg_ac_cv_c_pretty_function}" = "yes"; then cat >> confdefs.h <<\EOF#define CYGDBG_INFRA_DEBUG_FUNCTION_PSEUDOMACRO 1EOF fiecho $ac_n "checking for Tcl version""... $ac_c" 1>&6echo "configure:1847: checking for Tcl version" >&5# Check whether --with-tcl-version or --without-tcl-version was given.if test "${with_tcl_version+set}" = set; then withval="$with_tcl_version" cyg_ac_tcl_version=${with_tcl_version}else if test "${MSVC}" = "yes" ; then cyg_ac_tcl_version=80 else if test "${ac_cv_cygwin}" = "yes" ; then cyg_ac_tcl_version=80 else cyg_ac_tcl_version="" fi fifiecho "$ac_t""${cyg_ac_tcl_version}" 1>&6# Check whether --with-tcl or --without-tcl was given.if test "${with_tcl+set}" = set; then withval="$with_tcl" :fi# Check whether --with-tcl or --without-tcl was given.if test "${with_tcl+set}" = set; then withval="$with_tcl" :fiecho $ac_n "checking for Tcl installation""... $ac_c" 1>&6echo "configure:1885: checking for Tcl installation" >&5# Check whether --with-tcl or --without-tcl was given.if test "${with_tcl+set}" = set; then withval="$with_tcl" cyg_ac_tcl_incdir=${with_tcl}/include cyg_ac_tcl_libdir=${with_tcl}/libelse if test "${with_tcl_header}" = "no"; then cyg_ac_tcl_incdir=${prefix}/include else with_tcl=yes cyg_ac_tcl_incdir=${with_tcl_header}/include fi if test "${with_tcl_lib}" = "no"; then cyg_ac_tcl_libdir=${prefix}/lib else with_tcl=yes cyg_ac_tcl_libdir=${with_tcl_lib}/lib fifiecho "$ac_t""${cyg_ac_tcl_libdir}" 1>&6if test \! -r ${cyg_ac_tcl_incdir}/tcl.h ; then { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; }fiif test "${MSVC}" = "yes" ; then cyg_ac_tcl_libs="tcl${cyg_ac_tcl_version}.lib" if test "${MSVC}" = "yes" ; then cyg_ac_tcl_incdir=`cygpath -w ${cyg_ac_tcl_incdir} | tr \\\\\\\\ /` fi if test "${MSVC}" = "yes" ; then cyg_ac_tcl_libdir=`cygpath -w ${cyg_ac_tcl_libdir} | tr \\\\\\\\ /` fielse if test \! -r ${cyg_ac_tcl_libdir}/tclConfig.sh ; then { echo "configure: error: unable to locate Tcl config file tclConfig.sh" 1>&2; exit 1; } else . ${cyg_ac_tcl_libdir}/tclConfig.sh cyg_ac_tcl_libs="-ltcl${cyg_ac_tcl_version} ${TCL_LIBS}" fifi# Check whether --enable-tracebufsize or --disable-tracebufsize was given.if test "${enable_tracebufsize+set}" = set; then enableval="$enable_tracebufsize" if test "$enableval" = "no" -o "$enableval" = "yes"; then { echo "configure: error: "--enable-tracebufsize should be given a suitable value"" 1>&2; exit 1; } else cat >> confdefs.h <<EOF#define CYGNUM_INFRA_TRACE_VECTOR_SIZE $enablevalEOF fifitrap '' 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# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# 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 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> 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 15DEFS=-DHAVE_CONFIG_H# 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_optiondo case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; esacdoneac_given_srcdir=$srcdirac_given_INSTALL="$INSTALL"trap 'rm -fr `echo "Makefile:Makefile.in testsuite/Makefile:testsuite/Makefile.in hostinfra.h:config.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15EOFcat >> $CONFIG_STATUS <<EOF# Protect against being on the right side of a sed subst in config.status.sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF$ac_vpsub$extrasubs%@SHELL@%$SHELL%gs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@FFLAGS@%$FFLAGS%gs%@DEFS@%$DEFS%gs%@LDFLAGS@%$LDFLAGS%gs%@LIBS@%$LIBS%gs%@exec_prefix@%$exec_prefix%gs%@prefix@%$prefix%gs%@program_transform_name@%$program_transform_name%gs%@bindir@%$bindir%gs%@sbindir@%$sbindir%gs%@libexecdir@%$libexecdir%gs%@datadir@%$datadir%gs%@sysconfdir@%$sysconfdir%gs%@sharedstatedir@%$sharedstatedir%gs%@localstatedir@%$localstatedir%gs%@libdir@%$libdir%gs%@includedir@%$includedir%gs%@oldincludedir@%$oldincludedir%gs%@infodir@%$infodir%gs%@mandir@%$mandir%gs%@host@%$host%gs%@host_alias@%$host_alias%gs%@host_cpu@%$host_cpu%gs%@host_vendor@%$host_vendor%gs%@host_os@%$host_os%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@PACKAGE@%$PACKAGE%gs%@VERSION@%$VERSION%gs%@ACLOCAL@%$ACLOCAL%gs%@AUTOCONF@%$AUTOCONF%gs%@AUTOMAKE@%$AUTOMAKE%gs%@AUTOHEADER@%$AUTOHEADER%gs%@MAKEINFO@%$MAKEINFO%gs%@SET_MAKE@%$SET_MAKE%gs%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%gs%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%gs%@MAINT@%$MAINT%gs%@CC@%$CC%gs%@CXX@%$CXX%gs%@RANLIB@%$RANLIB%gs%@OBJEXT@%$OBJEXT%gs%@EXEEXT@%$EXEEXT%gs%@MSVC_TRUE@%$MSVC_TRUE%gs%@MSVC_FALSE@%$MSVC_FALSE%gs%@cyg_ac_tcl_version@%$cyg_ac_tcl_version%gs%@cyg_ac_tcl_incdir@%$cyg_ac_tcl_incdir%gs%@cyg_ac_tcl_libdir@%$cyg_ac_tcl_libdir%gs%@cyg_ac_tcl_libs@%$cyg_ac_tcl_libs%gs%@cyg_ac_tk_libs@%$cyg_ac_tk_libs%gCEOFEOFcat >> $CONFIG_STATUS <<\EOF# Split the substitutions into bite-sized pieces for seds with# small command number limits, like on Digital OSF/1 and HP-UX.ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.ac_fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -