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

📄 configure

📁 eCos操作系统源码
💻
📖 第 1 页 / 共 5 页
字号:
EOFif { (eval echo configure:1260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  breakelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*doneif test -n "$ac_declaration"; then  echo '#ifdef __cplusplus' >>confdefs.h  echo $ac_declaration      >>confdefs.h  echo '#endif'             >>confdefs.hfi    echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6echo "configure:1277: 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>&6fi    echo $ac_n "checking for object suffix""... $ac_c" 1>&6echo "configure:1298: 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:1304: \"$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_objext    echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1322: checking for Cygwin environment" >&5if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1327 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_cygwin=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_cygwin=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_cygwin" 1>&6CYGWIN=test "$ac_cv_cygwin" = yes && CYGWIN=yesecho $ac_n "checking for mingw32 environment""... $ac_c" 1>&6echo "configure:1355: checking for mingw32 environment" >&5if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1360 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_mingw32=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_mingw32=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_mingw32" 1>&6MINGW32=test "$ac_cv_mingw32" = yes && MINGW32=yesecho $ac_n "checking for executable suffix""... $ac_c" 1>&6echo "configure:1386: checking for executable suffix" >&5if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  ac_cv_exeext=.exeelse  rm -f conftest*  echo 'int main () { return 0; }' > conftest.$ac_ext  ac_cv_exeext=  if { (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    for file in conftest.*; do      case $file in      *.c | *.o | *.obj) ;;      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;      esac    done  else    { 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=$EXEEXT        ecos_CFLAGS=""    ecos_CXXFLAGS=""    ecos_LDADD=""    ecos_INCLUDES=""    ecos_LIBS=""                                    echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6echo "configure:1434: checking "for Visual C++"" >&5    MSVC="no";    if test "${CC}" = "cl" ; then       MSVC="yes"       CXX="cl"       MSVC_SRCDIR=${srcdir}                   if test "${MSVC}" = "yes" ; then      MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /`    fi              ecos_INCLUDES="${ecos_INCLUDES} \"-I${MSVC_SRCDIR}\""       ecos_LDADD="-link"       ecos_LIBS="advapi32.lib"    fi    if test "${MSVC}" = "yes"; then  MSVC_TRUE=  MSVC_FALSE='#'else  MSVC_TRUE='#'  MSVC_FALSE=fi    if test "${MSVC}" = "yes" ; then        echo "$ac_t""unfortunately yes" 1>&6    else        echo "$ac_t""no" 1>&6    fi                        echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6echo "configure:1474: checking "the default compiler flags"" >&5            ecosflags_enable_debug="no"    # Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then  enableval="$enable_debug"  case "${enableval}" in       yes) ecosflags_enable_debug="yes" ;;       *)   ecosflags_enable_debug="no" ;;    esacfi                    ecosflags_enable_ansi="no"    if test "${MSVC}" = "yes" ; then      # Check whether --enable-ansi or --disable-ansi was given.if test "${enable_ansi+set}" = set; then  enableval="$enable_ansi"  case "${enableval}" in         yes) ecosflags_enable_ansi="yes" ;;         *)   ecosflags_enable_ansi="no" ;;      esacfi    fi        if test "${GCC}" = "yes" ; then        ecos_CFLAGS="${ecos_CFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"        ecos_CXXFLAGS="${ecos_CXXFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual"    elif test "${MSVC}" = "yes" ; then        ecos_CFLAGS="${ecos_CFLAGS} -nologo -W3"        ecos_CXXFLAGS="${ecos_CXXFLAGS} -nologo -W3 -GR -GX"    else        { echo "configure: error: "default flags for ${CC} are not known"" 1>&2; exit 1; }    fi        if test "${ecosflags_enable_debug}" = "yes" ; then        if test "${GCC}" = "yes" ; then            ecos_CFLAGS="${ecos_CFLAGS} -g -O0"            ecos_CXXFLAGS="${ecos_CXXFLAGS} -g -O0"        elif test "${MSVC}" = "yes" ; then            ecos_CFLAGS="${ecos_CFLAGS} -MDd -Zi"            ecos_CXXFLAGS="${ecos_CXXFLAGS} -MDd -Zi"        fi    else                                        if test "${GCC}" = "yes" ; then            ecos_CFLAGS="${ecos_CFLAGS} -O0"            ecos_CXXFLAGS="${ecos_CXXFLAGS} -O0"        elif test "${MSVC}" = "yes" ; then            ecos_CFLAGS="${ecos_CFLAGS} -MD -O2"            ecos_CXXFLAGS="${ecos_CXXFLAGS} -MD -O2"        fi    fi    CFLAGS="${ac_save_CFLAGS}"    CXXFLAGS="${ac_save_CXXFLAGS}"    echo "$ac_t""done" 1>&6            package_dir=`cd ${srcdir} && /bin/pwd`    PACKAGE_VERSION=`dirname ${package_dir}`    PACKAGE_VERSION=`basename ${PACKAGE_VERSION}`                    package_dir=`dirname ${package_dir}`    package_dir=`dirname ${package_dir}`    possibles="${package_dir}/.. ${package_dir}/../.. ${package_dir}/../../.. ${package_dir}/../../../.."    possibles="${possibles} ${package_dir}/../../../../.. ${package_dir}/../../../../../.."         repository_root=""    for i in ${possibles}; do        if test -d "$i/"acsupport""; then            repository_root=$i            break        fi    done    if test "${repository_root}" = "" ; then        { echo "configure: error: Failed to identify this package's position within the eCos repository" 1>&2; exit 1; }    fi        ECOS_REPOSITORY=`cd "${repository_root}/packages/pkgconf/.." && /bin/pwd`        PACKAGE_DIR=`echo ${package_dir} | sed -e "s:${ECOS_REPOSITORY}/::"`                        PACKAGE_INSTALL="${PACKAGE_DIR}/${PACKAGE_VERSION}"                                    ecos_tk_libs=""    ecos_tk_libdir=""        echo $ac_n "checking for Tcl installation""... $ac_c" 1>&6echo "configure:1577: checking for Tcl installation" >&5    # Check whether --with-tcl or --without-tcl was given.if test "${with_tcl+set}" = set; then  withval="$with_tcl"  :fi    # Check whether --with-tcl-version or --without-tcl-version was given.if test "${with_tcl_version+set}" = set; then  withval="$with_tcl_version"  :fi                                    if test "${MSVC}" = "yes" ; then        # Check whether --with-tcl-header or --without-tcl-header was given.if test "${with_tcl_header+set}" = set; then  withval="$with_tcl_header"  :fi        # Check whether --with-tcl-lib or --without-tcl-lib was given.if test "${with_tcl_lib+set}" = set; then  withval="$with_tcl_lib"  :fi        ecos_tcl_incdir=""	ecos_tcl_libdir=""        if test "${with_tcl_version+set}" != set ; then            { echo "configure: error: You must specify a Tcl version using --with-tcl-version=<vsn>" 1>&2; exit 1; }        fi        if test "${with_tcl_header+set}" = set ; then            ecos_tcl_incdir=${with_tcl_header}        elif test "${with_tcl+set}" = set ; then            ecos_tcl_incdir="${with_tcl}/include"        else            { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-header=<path>" 1>&2; exit 1; }        fi        if test "${with_tcl_lib+set}" = set; then            ecos_tcl_libdir=${with_tcl_lib}        elif test "${with_tcl+set}" = set; then            ecos_tcl_libdir="${with_tcl}/lib"        else            { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-lib=<path>" 1>&2; exit 1; }        fi                          if test \! -r "${ecos_tcl_incdir}/tcl.h" ; then            { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; }        fi                    if test "${MSVC}" = "yes" ; then      ecos_tcl_incdir=`cygpath -w ${ecos_tcl_incdir} | tr \\\\\\\\ /`    fi                    if test "${MSVC}" = "yes" ; then      ecos_tcl_libdir=`cygpath -w ${ecos_tcl_libdir} | tr \\\\\\\\ /`    fi        ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_tcl_incdir}\""        ecos_LIBS="${ecos_LIBS} tcl${with_tcl_version}.lib"        ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_tcl_libdir}\""                        ecos_tk_libs=""    else		possibles=""	if test "${with_tcl+set}" = set ; then	    possibles="${with_tcl}/lib"            if test "${with_tcl_version+set}" = set ; then		possibles="${possibles} ${with_tcl}/lib/tcl${with_tcl_version}"	    fi        fi	possibles="${possibles} ${prefix}/lib"	if test "${with_tcl_version+set}" = set ; then	    possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"	fi	possibles="${possibles} /usr/lib"	if test "${with_tcl_version+set}" = set ; then	    possibles="${possibles} /usr/lib/tcl${with_tcl_version}"	fi	    tclconfig=""    for i in ${possibles}; do        if test -r "$i/"tclConfig.sh""; then            tclconfig=$i            break        fi    done	if test \! -r "${tclconfig}/tclConfig.sh" ; then	    { echo "configure: error: unable to locate Tcl configuration file tclConfig.sh" 1>&2; exit 1; }	else	    . ${tclconfig}/tclConfig.sh

⌨️ 快捷键说明

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