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

📄 configure

📁 一个UNIX/LINUX下的基于内容的过滤服务器源代码
💻
📖 第 1 页 / 共 5 页
字号:
      break    fi  done  IFS="$ac_save_ifs"if test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# -gt 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    set dummy "$ac_dir/$ac_word" "$@"    shift    ac_cv_prog_CC="$@"  fifififiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi  if test -z "$CC"; then    case "`uname -s`" in    *win32* | *WIN32*)      # Extract the first word of "cl", so it can be a program name with args.set dummy cl; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:662: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # 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_CC="cl"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi ;;    esac  fi  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:694: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5ac_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_crosscat > conftest.$ac_ext << EOF#line 705 "configure"#include "confdefs.h"main(){return(0);}EOFif { (eval echo configure:710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  ac_cv_prog_cc_works=yes  # If we can't run a trivial program, we are probably using a cross compiler.  if (./conftest; exit) 2>/dev/null; then    ac_cv_prog_cc_cross=no  else    ac_cv_prog_cc_cross=yes  fielse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_prog_cc_works=nofirm -fr conftest*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_crossecho "$ac_t""$ac_cv_prog_cc_works" 1>&6if test $ac_cv_prog_cc_works = no; then  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:736: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6cross_compiling=$ac_cv_prog_cc_crossecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6echo "configure:741: checking whether we are using GNU C" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gcc=yeselse  ac_cv_prog_gcc=nofifiecho "$ac_t""$ac_cv_prog_gcc" 1>&6if test $ac_cv_prog_gcc = yes; then  GCC=yeselse  GCC=fiac_test_CFLAGS="${CFLAGS+set}"ac_save_CFLAGS="$CFLAGS"CFLAGS=echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6echo "configure:769: checking whether ${CC-cc} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  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=  fifiif test "x$CFLAGS" = "x"; then	if test "x$GCC" = "xyes"; then	  CFLAGS="-g -O2 -Wunused -Wall -ggdb -Wshadow -Wmissing-declarations"	else	  CFLAGS="-g"	fifiecho $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6echo "configure:810: 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 whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:831: checking whether ${MAKE-make} sets \${MAKE}" >&5set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftestmake <<\EOFall:	@echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then  eval ac_cv_prog_make_${ac_make}_set=yeselse  eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftestmakefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  echo "$ac_t""yes" 1>&6  SET_MAKE=else  echo "$ac_t""no" 1>&6  SET_MAKE="MAKE=${MAKE-make}"fi# Extract the first word of "rm", so it can be a program name with args.set dummy rm; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:860: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$RM" in  /*)  ac_cv_path_RM="$RM" # Let the user override the test with a path.  ;;  ?:/*)  ac_cv_path_RM="$RM" # Let the user override the test with a dos path.  ;;  *)  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_path_RM="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiRM="$ac_cv_path_RM"if test -n "$RM"; then  echo "$ac_t""$RM" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "cp", so it can be a program name with args.set dummy cp; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:895: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$CP" in  /*)  ac_cv_path_CP="$CP" # Let the user override the test with a path.  ;;  ?:/*)  ac_cv_path_CP="$CP" # Let the user override the test with a dos path.  ;;  *)  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_path_CP="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiCP="$ac_cv_path_CP"if test -n "$CP"; then  echo "$ac_t""$CP" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "mv", so it can be a program name with args.set dummy mv; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:930: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MV" in  /*)  ac_cv_path_MV="$MV" # Let the user override the test with a path.  ;;  ?:/*)  ac_cv_path_MV="$MV" # Let the user override the test with a dos path.  ;;  *)  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_path_MV="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMV="$ac_cv_path_MV"if test -n "$MV"; then  echo "$ac_t""$MV" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "sed", so it can be a program name with args.set dummy sed; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:965: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$SED" in  /*)  ac_cv_path_SED="$SED" # Let the user override the test with a path.  ;;  ?:/*)  ac_cv_path_SED="$SED" # Let the user override the test with a dos path.  ;;  *)  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_path_SED="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiSED="$ac_cv_path_SED"if test -n "$SED"; then  echo "$ac_t""$SED" 1>&6else  echo "$ac_t""no" 1>&6fi# Extract the first word of "ar", so it can be a program name with args.set dummy ar; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1000: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$AR" in  /*)  ac_cv_path_AR="$AR" # Let the user override the test with a path.  ;;  ?:/*)  ac_cv_path_AR="$AR" # Let the user override the test with a dos path.  ;;  *)  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_path_AR="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiAR="$ac_cv_path_AR"if test -n "$AR"; then  echo "$ac_t""$AR" 1>&6else  echo "$ac_t""no" 1>&6fifor ac_prog in 'bison -y' byaccdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1037: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$YACC"; then  ac_cv_prog_YACC="$YACC" # 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_YACC="$ac_prog"      break    fi  done  IFS="$ac_save_ifs"fifiYACC="$ac_cv_prog_YACC"if test -n "$YACC"; then  echo "$ac_t""$YACC" 1>&6else  echo "$ac_t""no" 1>&6fitest -n "$YACC" && breakdonetest -n "$YACC" || YACC="yacc"# Find a good install program.  We prefer a C program (faster),# so one script is as good as another.  But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:1079: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"  for ac_dir in $PATH; do    # Account for people who put trailing slashes in PATH elements.    case "$ac_dir/" in    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;    *)      # OSF1 and SCO ODT 3.0 have their own names for install.      # Don't use installbsd from OSF since it installs stuff as root      # by default.      for ac_prog in ginstall scoinst install; do        if test -f $ac_dir/$ac_prog; then	  if test $ac_prog = install &&            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then	    # AIX install.  It has an incompatible calling convention.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done

⌨️ 快捷键说明

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