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

📄 configure

📁 linux下的E_MAIL客户端源码
💻
📖 第 1 页 / 共 5 页
字号:
else  echo 'void f(){}' > conftest.cif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  ac_cv_prog_cc_g=yeselse  ac_cv_prog_cc_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cc_g" 1>&6if test "$ac_test_CFLAGS" = set; then  CFLAGS="$ac_save_CFLAGS"elif 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=  fifiecho $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6echo "configure:944: checking for POSIXized ISC" >&5if test -d /etc/conf/kconfig.d &&  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1then  echo "$ac_t""yes" 1>&6  ISC=yes # If later tests want to check for ISC.  cat >> confdefs.h <<\EOF#define _POSIX_SOURCE 1EOF  if test "$GCC" = yes; then    CC="$CC -posix"  else    CC="$CC -Xp"  fielse  echo "$ac_t""no" 1>&6  ISC=fiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:965: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 980 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 997 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1014 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6echo $ac_n "checking for AIX""... $ac_c" 1>&6echo "configure:1045: checking for AIX" >&5cat > conftest.$ac_ext <<EOF#line 1047 "configure"#include "confdefs.h"#ifdef _AIX  yes#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "yes" >/dev/null 2>&1; then  rm -rf conftest*  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF#define _ALL_SOURCE 1EOFelse  rm -rf conftest*  echo "$ac_t""no" 1>&6firm -f conftest*ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6echo "configure:1070: checking for minix/config.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1075 "configure"#include "confdefs.h"#include <minix/config.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  MINIX=yeselse  echo "$ac_t""no" 1>&6MINIX=fiif test "$MINIX" = yes; then  cat >> confdefs.h <<\EOF#define _POSIX_SOURCE 1EOF  cat >> confdefs.h <<\EOF#define _POSIX_1_SOURCE 2EOF  cat >> confdefs.h <<\EOF#define _MINIX 1EOFfiecho $ac_n "checking for working const""... $ac_c" 1>&6echo "configure:1118: checking for working const" >&5if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1123 "configure"#include "confdefs.h"int main() {/* Ultrix mips cc rejects this.  */typedef int charset[2]; const charset x;/* SunOS 4.1.1 cc rejects this.  */char const *const *ccp;char **p;/* NEC SVR4.0.2 mips cc rejects this.  */struct point {int x, y;};static struct point const zero = {0,0};/* AIX XL C 1.02.0.0 rejects this.   It does not let you subtract one const X* pointer from another in an arm   of an if-expression whose if-part is not a constant expression */const char *g = "string";ccp = &g + (g ? g-g : 0);/* HPUX 7.0 cc rejects these. */++ccp;p = (char**) ccp;ccp = (char const *const *) p;{ /* SCO 3.2v4 cc rejects this.  */  char *t;  char const *s = 0 ? (char *) 0 : (char const *) 0;  *t++ = 0;}{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */  int x[] = {25, 17};  const int *foo = &x[0];  ++foo;}{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */  typedef const int *iptr;  iptr p = 0;  ++p;}{ /* AIX XL C 1.02.0.0 rejects this saying     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */  struct s { int j; const int *ap[3]; };  struct s *b; b->j = 5;}{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */  const int foo = 10;}; return 0; }EOFif { (eval echo configure:1172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_c_const=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_c_const=nofirm -f conftest*fiecho "$ac_t""$ac_cv_c_const" 1>&6if test $ac_cv_c_const = no; then  cat >> confdefs.h <<\EOF#define const EOFfiecho $ac_n "checking whether char is unsigned""... $ac_c" 1>&6echo "configure:1194: checking whether char is unsigned" >&5if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$GCC" = yes; then  # GCC predefines this symbol on systems where it applies.cat > conftest.$ac_ext <<EOF#line 1201 "configure"#include "confdefs.h"#ifdef __CHAR_UNSIGNED__  yes#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "yes" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_c_char_unsigned=yeselse  rm -rf conftest*  ac_cv_c_char_unsigned=nofirm -f conftest*elseif 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 1223 "configure"#include "confdefs.h"/* volatile prevents gcc2 from optimizing the test away on sparcs.  */#if !defined(__STDC__) || __STDC__ != 1#define volatile#endifmain() {  volatile char c = 255; exit(c < 0);}EOFif { (eval echo configure:1233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen   ac_cv_c_char_unsigned=yes  rm -fr conftest*else ac_cv_c_char_unsigned=no   echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -fr conftest*fififiecho "$ac_t""$ac_cv_c_char_unsigned" 1>&6if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then  cat >> confdefs.h <<\EOF#define __CHAR_UNSIGNED__ 1EOFfiecho $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1259: 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 1264 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1275: \"$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:1292: 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 1297 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1304: \"$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:1323: 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:1333: \"$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=$EXEEXTecho $ac_n "checking for object suffix""... $ac_c" 1>&6echo "configure:1354: 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:1360: \"$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; }fi

⌨️ 快捷键说明

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