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

📄 configure

📁 移植到WLIT项目的redboot源代码
💻
📖 第 1 页 / 共 5 页
字号:
if { (eval echo configure:1289: \"$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:1307: 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 1312 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1323: \"$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:1340: 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 1345 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1352: \"$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:1371: 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:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    for file in conftest.*; do      case $file in      *.c | *.o | *.obj | *.ilk | *.pdb) ;;      *) 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            echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6echo "configure:1406: checking "for Visual C++"" >&5    MSVC="no";    if test "${CC}" = "cl" ; then       MSVC="yes"    fi    if test "${CXX}" = "cl" ; then       MSVC="yes"    fi    if test "${MSVC}" = "yes"; then  MSVC_TRUE=  MSVC_FALSE='#'else  MSVC_TRUE='#'  MSVC_FALSE=fi    echo "$ac_t""${MSVC}" 1>&6                echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6echo "configure:1431: checking "the default compiler flags"" >&5                        cygflags_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) cygflags_enable_debug="yes" ;;       *)   cygflags_enable_debug="no" ;;    esacfi            cygflags_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) cygflags_enable_ansi="yes" ;;         *)   cygflags_enable_ansi="no" ;;      esacfi    fi    if test "${GCC}" = "yes" ; then        CC="$CC -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"        CXX="$CXX -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual"    elif test "${MSVC}" = "yes" ; then        CC="$CC -nologo -W3"        CXX="$CXX -nologo -W3 -GR -GX"        if test "${cygflags_enable_debug}" = "yes" ; then            CC="$CC -MDd -Zi"            CXX="$CXX -MDd -Zi"        else            CC="$CC -MD -O2"            CXX="$CXX -MD -O2"        fi    else        { echo "configure: error: "default flags for ${CC} are not known"" 1>&2; exit 1; }    fi    echo "$ac_t""done" 1>&6echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6echo "configure:1477: 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 1484 "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:1495: \"$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 1499 "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:1510: \"$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 1530 "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:1543: \"$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:1572: checking "for a 64 bit data type"" >&5if eval "test \"`echo '$''{'cyg_ac_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 1590 "configure"#include "confdefs.h"                main() {                    return 8 != sizeof($type);                }	    EOFif { (eval echo configure:1598: \"$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 1621 "configure"#include "confdefs.h"#ifdef __cplusplusextern "C" void exit(int);#endif                int main(int argc, char ** argv) {                    return 8 != sizeof($type);                }	    EOFif { (eval echo configure:1632: \"$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*fi	    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 "${ctype_64bit}" = "${type}" -a "${cxxtype_64bit}" = "${type}"; then                cyg_ac_cv_type_64bit="${type}"                break            fi        done    fiecho "$ac_t""$cyg_ac_cv_type_64bit" 1>&6    if test "${cyg_ac_cv_type_64bit}" = ""; then        { echo "configure: error: Unable to figure out how to do 64 bit arithmetic" 1>&2; exit 1; }    else        if test "${cyg_ac_cv_type_64bit}" != "long long"; then            cat >> confdefs.h <<EOF#define cyg_halint64 ${cyg_ac_cv_type_64bit}EOF            cat >> confdefs.h <<EOF#define cyg_halcount64 ${cyg_ac_cv_type_64bit}EOF        fi    fiecho $ac_n "checking size of int *""... $ac_c" 1>&6echo "configure:1677: checking size of int *" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then  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 1685 "configure"#include "confdefs.h"#include <stdio.h>main(){  FILE *f=fopen("conftestval", "w");  if (!f) exit(1);  fprintf(f, "%d\n", sizeof(int *));  exit(0);}EOFif { (eval echo configure:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  ac_cv_sizeof_int_p=`cat conftestval`else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_sizeof_int_p=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_int_p" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_INT_P $ac_cv_sizeof_int_pEOFecho $ac_n "checking size of long""... $ac_c" 1>&6echo "configure:1716: checking size of long" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then

⌨️ 快捷键说明

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