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

📄 configure

📁 PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and
💻
📖 第 1 页 / 共 5 页
字号:
ac_objext=$OBJEXTecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6if test "${ac_cv_c_compiler_gnu+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){#ifndef __GNUC__       choke me#endif  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_compiler_gnu=yeselse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_compiler_gnu=nofirm -f conftest.$ac_objext conftest.$ac_extac_cv_c_compiler_gnu=$ac_compiler_gnufiecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6GCC=`test $ac_compiler_gnu = yes && echo yes`ac_test_CFLAGS=${CFLAGS+set}ac_save_CFLAGS=$CFLAGSCFLAGS="-g"echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6if test "${ac_cv_prog_cc_g+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  ac_cv_prog_cc_g=yeselse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_prog_cc_g=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5echo "${ECHO_T}$ac_cv_prog_cc_g" >&6if test "$ac_test_CFLAGS" = set; then  CFLAGS=$ac_save_CFLAGSelif test $ac_cv_prog_cc_g = yes; then  if test "$GCC" = yes; then    CFLAGS="-g -O2"  else    CFLAGS="-g"  fielse  if test "$GCC" = yes; then    CFLAGS="-O2"  else    CFLAGS=  fifi# Some people use a C++ compiler to compile C.  Since we use `exit',# in C++ we need to declare it.  In case someone uses the same compiler# for both compiling C and C++ we need to have the C++ compiler decide# the declaration of exit, since it's the most demanding environment.cat >conftest.$ac_ext <<_ACEOF#ifndef __cplusplus  choke me#endif_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  for ac_declaration in \   ''\   '#include <stdlib.h>' \   'extern "C" void std::exit (int) throw (); using std::exit;' \   '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 <<_ACEOF#line $LINENO "configure"#include "confdefs.h"#include <stdlib.h>$ac_declaration#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  :else  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5continuefirm -f conftest.$ac_objext conftest.$ac_ext  cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"$ac_declaration#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){exit (42);  ;  return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  (eval $ac_compile) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); } &&         { ac_try='test -s conftest.$ac_objext'  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  (eval $ac_try) 2>&5  ac_status=$?  echo "$as_me:$LINENO: \$? = $ac_status" >&5  (exit $ac_status); }; }; then  breakelse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extdonerm -f conftest*if test -n "$ac_declaration"; then  echo '#ifdef __cplusplus' >>confdefs.h  echo $ac_declaration      >>confdefs.h  echo '#endif'             >>confdefs.hfielse  echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuac_aux_dir=for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  if test -f $ac_dir/install-sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"    break  elif test -f $ac_dir/install.sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install.sh -c"    break  elif test -f $ac_dir/shtool; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/shtool install -c"    break  fidoneif test -z "$ac_aux_dir"; then  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}   { (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.# Make sure we can run config.sub.$ac_config_sub sun4 >/dev/null 2>&1 ||  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5echo "$as_me: error: cannot run $ac_config_sub" >&2;}   { (exit 1); exit 1; }; }echo "$as_me:$LINENO: checking build system type" >&5echo $ECHO_N "checking build system type... $ECHO_C" >&6if test "${ac_cv_build+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_build_alias=$build_aliastest -z "$ac_cv_build_alias" &&  ac_cv_build_alias=`$ac_config_guess`test -z "$ac_cv_build_alias" &&  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5echo "$as_me: error: cannot guess build type; you must specify one" >&2;}   { (exit 1); exit 1; }; }ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_build" >&5echo "${ECHO_T}$ac_cv_build" >&6build=$ac_cv_buildbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:$LINENO: checking host system type" >&5echo $ECHO_N "checking host system type... $ECHO_C" >&6if test "${ac_cv_host+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_host_alias=$host_aliastest -z "$ac_cv_host_alias" &&  ac_cv_host_alias=$ac_cv_build_aliasac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_host" >&5echo "${ECHO_T}$ac_cv_host" >&6host=$ac_cv_hosthost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:$LINENO: checking target system type" >&5echo $ECHO_N "checking target system type... $ECHO_C" >&6if test "${ac_cv_target+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_cv_target_alias=$target_aliastest "x$ac_cv_target_alias" = "x" &&  ac_cv_target_alias=$ac_cv_host_aliasac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}   { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_target" >&5echo "${ECHO_T}$ac_cv_target" >&6target=$ac_cv_targettarget_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`# The aliases save the names the user supplied, while $host etc.# will get canonicalized.test -n "$target_alias" &&  test "$program_prefix$program_suffix$program_transform_name" = \    NONENONEs,x,x, &&  program_prefix=${target_alias}-case $target_cpu in  i?86) echo "$as_me:$LINENO: result: + Enabling MMX code" >&5echo "${ECHO_T}+ Enabling MMX code" >&6        cat >>confdefs.h <<\_ACEOF#define ENABLE_MMX 1_ACEOF        echo "$as_me:$LINENO: result: + Enabling unaligned memory access" >&5echo "${ECHO_T}+ Enabling unaligned memory access" >&6	cat >>confdefs.h <<\_ACEOF#define UNALIGNED_MEMORYACCESS 1_ACEOF        OBJLIST="$OBJLIST \$(MMXOBJS)" ;;  *)  echo "$as_me:$LINENO: result: - MMX code disabled" >&5echo "${ECHO_T}- MMX code disabled" >&6      echo "$as_me:$LINENO: result: - Unaligned memory access code disabled" >&5echo "${ECHO_T}- Unaligned memory access code disabled" >&6 ;;esaccase $target_os in  *linux*) cat >>confdefs.h <<\_ACEOF#define LINUX 1_ACEOF           OBJLIST="$OBJLIST \$(LINUXOBJS)"           echo "$as_me:$LINENO: result: + Enabling Linux specific code" >&5echo "${ECHO_T}+ Enabling Linux specific code" >&6 ;;  *) echo "$as_me:$LINENO: result: - Disabling Linux specific code" >&5echo "${ECHO_T}- Disabling Linux specific code" >&6 ;;esac# Check whether --with-nanox or --without-nanox was given.if test "${with_nanox+set}" = set; then  withval="$with_nanox"	CFLAGS="$CFLAGS -I$with_nanox/include"	CXXFLAGS="$CXXFLAGS -I$with_nanox/include"	LDFLAGS="$LDFLAGS -L$with_nanox/lib"	LIBS="$LIBS -lnano-X -lstdc++ -lm"	PLATFORMOBJS="output/out_nanox.o"elseecho "$as_me:$LINENO: checking for XCreateWindow in -lX11" >&5echo $ECHO_N "checking for XCreateWindow in -lX11... $ECHO_C" >&6if test "${ac_cv_lib_X11_XCreateWindow+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  ac_check_lib_save_LIBS=$LIBSLIBS="-lX11  $LIBS"cat >conftest.$ac_ext <<_ACEOF#line $LINENO "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still apply.  */char XCreateWindow ();#ifdef F77_DUMMY_MAIN#  ifdef __cplusplus     extern "C"#  endif   int F77_DUMMY_MAIN() { return 1; }#endifintmain (){XCreateWindow ();  ;  return 0;}_ACEOFrm -f conftest.$ac_objext conftest

⌨️ 快捷键说明

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