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

📄 configure

📁 ecos实时嵌入式操作系统
💻
📖 第 1 页 / 共 5 页
字号:
   'extern "C" void std::exit (int); using std::exit;' \   'extern "C" void exit (int) throw ();' \   'extern "C" void exit (int);' \   'void exit (int);'do  cat > conftest.$ac_ext <<EOF#line 1262 "configure"#include "confdefs.h"#include <stdlib.h>$ac_declarationint main() {exit (42);; return 0; }EOFif { (eval echo configure:1270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  :else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  continuefirm -f conftest*  cat > conftest.$ac_ext <<EOF#line 1280 "configure"#include "confdefs.h"$ac_declarationint main() {exit (42);; return 0; }EOFif { (eval echo configure:1287: \"$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# 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:1306: 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 for object suffix""... $ac_c" 1>&6echo "configure:1334: 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:1340: \"$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_objextecho $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1358: 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 1363 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1374: \"$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:1391: 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 1396 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1403: \"$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:1422: 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:1432: \"$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:1470: 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:1510: 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        if test "${ecosflags_enable_debug}" = "yes" ; then        ecosinfra_asserts="yes"        ecosinfra_preconditions="yes"        ecosinfra_postconditions="yes"        ecosinfra_invariants="yes"        ecosinfra_loopinvariants="yes"        ecosinfra_tracing="yes"        ecosinfra_fntracing="yes"    else        ecosinfra_asserts="no"        ecosinfra_preconditions="no"        ecosinfra_postconditions="no"        ecosinfra_invariants="no"        ecosinfra_loopinvariants="no"        ecosinfra_tracing="no"        ecosinfra_fntracing="no"    fi    # Check whether --enable-asserts or --disable-asserts was given.if test "${enable_asserts+set}" = set; then  enableval="$enable_asserts"  case "${enableval}" in            yes) ecosinfra_asserts="yes" ;;            no)  ecosinfra_asserts="no"  ;;            *)   { echo "configure: error: bad value ${enableval} for disable-asserts option" 1>&2; exit 1; } ;;        esacfi    if test "${ecosinfra_asserts}" = "yes"; then        cat >> confdefs.h <<\EOF#define CYGDBG_USE_ASSERTS 1EOF    fi    # Check whether --enable-preconditions or --disable-preconditions was given.if test "${enable_preconditions+set}" = set; then  enableval="$enable_preconditions"  case "${enableval}" in            yes) ecosinfra_preconditions="yes" ;;            no)  ecosinfra_preconditions="no"  ;;            *)   { echo "configure: error: bad value ${enableval} for disable-preconditions option" 1>&2; exit 1; } ;;        esacfi    if test "${ecosinfra_preconditions}" = "yes"; then        cat >> confdefs.h <<\EOF#define CYGDBG_INFRA_DEBUG_PRECONDITIONS 1EOF    fi    # Check whether --enable-postconditions or --disable-postconditions was given.if test "${enable_postconditions+set}" = set; then  enableval="$enable_postconditions"  case "${enableval}" in            yes) ecosinfra_postconditions="yes" ;;            no)  ecosinfra_postconditions="no"  ;;            *)   { echo "configure: error: bad value ${enableval} for disable-postconditions option" 1>&2; exit 1; } ;;        esacfi    if test "${ecosinfra_postconditions}" = "yes"; then        cat >> confdefs.h <<\EOF#define CYGDBG_INFRA_DEBUG_POSTCONDITIONS 1EOF    fi    # Check whether --enable-invariants or --disable-invariants was given.if test "${enable_invariants+set}" = set; then  enableval="$enable_invariants"  case "${enableval}" in            yes) ecosinfra_invariants="yes" ;;            no)  ecosinfra_invariants="no"  ;;            *)   { echo "configure: error: bad value ${enableval} for disable-invariants option" 1>&2; exit 1; } ;;        esacfi    if test "${ecosinfra_invariants}" = "yes"; then        cat >> confdefs.h <<\EOF#define CYGDBG_INFRA_DEBUG_INVARIANTS 1EOF    fi    # Check whether --enable-loopinvariants or --disable-loopinvariants was given.if test "${enable_loopinvariants+set}" = set; then  enableval="$enable_loopinvariants"  case "${enableval}" in            yes) ecosinfra_loopinvariants="yes" ;;            no)  ecosinfra_loopinvariants="no"  ;;            *)   { echo "configure: error: bad value ${enableval} for disable-loopinvariants option" 1>&2; exit 1; } ;;        esacfi    if test "${ecosinfra_loopinvariants}" = "yes"; then        cat >> confdefs.h <<\EOF#define CYGDBG_INFRA_DEBUG_LOOP_INVARIANTS 1EOF

⌨️ 快捷键说明

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