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

📄 configure

📁 ecos实时嵌入式操作系统
💻
📖 第 1 页 / 共 5 页
字号:
  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:1303: 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:1309: \"$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:1327: 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 1332 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1343: \"$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:1360: 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 1365 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1372: \"$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:1391: 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:1401: \"$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:1439: 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:1479: 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>&6echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6echo "configure:1540: checking whether byte ordering is bigendian" >&5if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_c_bigendian=unknown# See if sys/param.h defines the BYTE_ORDER macro.cat > conftest.$ac_ext <<EOF#line 1547 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/param.h>int main() {#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros#endif; return 0; }EOFif { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  # It does; now see whether it defined to BIG_ENDIAN or not.cat > conftest.$ac_ext <<EOF#line 1562 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/param.h>int main() {#if BYTE_ORDER != BIG_ENDIAN not big endian#endif; return 0; }EOFif { (eval echo configure:1573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_bigendian=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_c_bigendian=nofirm -f conftest*else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*if test $ac_cv_c_bigendian = unknown; thenif 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 1593 "configure"#include "confdefs.h"main () {  /* Are we little or big endian?  From Harbison&Steele.  */  union  {    long l;    char c[sizeof (long)];  } u;  u.l = 1;  exit (u.c[sizeof (long) - 1] == 1);}EOFif { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  ac_cv_c_bigendian=noelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_c_bigendian=yesfirm -fr conftest*fififiecho "$ac_t""$ac_cv_c_bigendian" 1>&6if test $ac_cv_c_bigendian = yes; then  cat >> confdefs.h <<\EOF#define WORDS_BIGENDIAN 1EOFfi            echo $ac_n "checking "for a 64 bit data type"""... $ac_c" 1>&6echo "configure:1635: checking "for a 64 bit data type"" >&5if eval "test \"`echo '$''{'ecos_cv_type_64bit'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else          for type in "long" "long long" "__int64"; do                        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 "$cross_compiling" = yes; then  ctype_64bit="long long"else  cat > conftest.$ac_ext <<EOF#line 1653 "configure"#include "confdefs.h"                main() {                    return 8 != sizeof($type);                }            EOFif { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  ctype_64bit=$typeelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ctype_64bit="unknown"firm -fr conftest*fi            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            if test "$cross_compiling" = yes; then  cxxtype_64bit="long long"else  cat > conftest.$ac_ext <<EOF#line 1684 "configure"#include "confdefs.h"                int main(int argc, char ** argv) {                    return 8 != sizeof($type);                }            EOFif { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  cxxtype_64bit=$typeelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  cxxtype_64bit="unknown"firm -fr conftest*

⌨️ 快捷键说明

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