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

📄 configure

📁 Linux下的基于X11的图形开发环境。
💻
📖 第 1 页 / 共 5 页
字号:
  CC="$ac_save_CC $ac_arg"  cat > conftest.$ac_ext <<EOF#line 1258 "configure"#include "confdefs.h"#include <stdarg.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */struct buf { int x; };FILE * (*rcsopen) (struct buf *, struct stat *, int);static char *e (p, i)     char **p;     int i;{  return p[i];}static char *f (char * (*g) (char **, int), char **p, ...){  char *s;  va_list v;  va_start (v,p);  s = g (p, va_arg (v,int));  va_end (v);  return s;}int test (int i, double x);struct s1 {int (*f) (int a);};struct s2 {int (*f) (double a);};int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);int argc;char **argv;int main() {return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];; return 0; }EOFif { (eval echo configure:1295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  am_cv_prog_cc_stdc="$ac_arg"; breakelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*doneCC="$ac_save_CC"fiif test -z "$am_cv_prog_cc_stdc"; then  echo "$ac_t""none needed" 1>&6else  echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6ficase "x$am_cv_prog_cc_stdc" in  x|xno) ;;  *) CC="$CC $am_cv_prog_cc_stdc" ;;esacecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1319: 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 1334 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1340: \"$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 1351 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1357: \"$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 1368 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1374: \"$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 function prototypes""... $ac_c" 1>&6echo "configure:1401: checking for function prototypes" >&5if test "$am_cv_prog_cc_stdc" != no; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define PROTOTYPES 1EOF  U= ANSI2KNR=else  echo "$ac_t""no" 1>&6  U=_ ANSI2KNR=./ansi2knr  # Ensure some checks needed by ansi2knr itself.  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6echo "configure:1414: checking for ANSI C header files" >&5if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1419 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1427: \"$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*  ac_cv_header_stdc=yeselse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*if test $ac_cv_header_stdc = yes; then  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1444 "configure"#include "confdefs.h"#include <string.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "memchr" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1462 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "free" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then  :else  cat > conftest.$ac_ext <<EOF#line 1483 "configure"#include "confdefs.h"#include <ctype.h>#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))int main () { int i; for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);exit (0); }EOFif { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  :else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_header_stdc=nofirm -fr conftest*fififiecho "$ac_t""$ac_cv_header_stdc" 1>&6if test $ac_cv_header_stdc = yes; then  cat >> confdefs.h <<\EOF#define STDC_HEADERS 1EOFfi  for ac_hdr in string.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1521: checking for $ac_hdr" >&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 1526 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1531: \"$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    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`  cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else  echo "$ac_t""no" 1>&6fidonefiif test "x$U" != "x"; then  { echo "configure: error: Compiler not ANSI compliant" 1>&2; exit 1; }fi# Find the correct PATH separator.  Usually this is `:', but# DJGPP uses `;' like DOS.if test "X${PATH_SEPARATOR+set}" != Xset; then  UNAME=${UNAME-`uname 2>/dev/null`}  case X$UNAME in    *-DOS) lt_cv_sys_path_separator=';' ;;    *)     lt_cv_sys_path_separator=':' ;;  esac  PATH_SEPARATOR=$lt_cv_sys_path_separatorfiecho $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1574: 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 1579 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1590: \"$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:1607: 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 1612 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1619: \"$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=yes# Check whether --enable-shared or --disable-shared was given.if test "${enable_shared+set}" = set; then  enableval="$enable_shared"  p=${PACKAGE-default}case $enableval inyes) enable_shared=yes ;;no) enable_shared=no ;;*)  enable_shared=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_shared=yes    fi  done  IFS="$ac_save_ifs"  ;;esacelse  enable_shared=yesfi# Check whether --enable-static or --disable-static was given.if test "${enable_static+set}" = set; then  enableval="$enable_static"  p=${PACKAGE-default}case $enableval inyes) enable_static=yes ;;no) enable_static=no ;;*)  enable_static=no  # Look at the argument we got.  We use all the common list separators.  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  for pkg in $enableval; do    if test "X$pkg" = "X$p"; then      enable_static=yes    fi  done

⌨️ 快捷键说明

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