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

📄 configure

📁 一个UNIX/LINUX下的基于内容的过滤服务器源代码
💻
📖 第 1 页 / 共 5 页
字号:
#!/bin/sh# Guess values for system-dependent variables and create Makefiles.# Generated automatically using autoconf version 2.13# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.## This configure script is free software; the Free Software Foundation# gives unlimited permission to copy, distribute and modify it.# Defaults:ac_help=ac_default_prefix=/usr/sbin/# Any additions from configure.in:# Initialize some variables set by options.# The variables have the same names as the options, with# dashes changed to underlines.build=NONEcache_file=./config.cacheexec_prefix=NONEhost=NONEno_create=nonopt=NONEno_recursion=prefix=NONEprogram_prefix=NONEprogram_suffix=NONEprogram_transform_name=s,x,x,silent=site=srcdir=target=NONEverbose=x_includes=NONEx_libraries=NONEbindir='/usr/sbin/'prefixdir=''installprefixdir=''sysconfdir='/etc/dansguardian/'sysvdir='/etc/rc.d/init.d/'cgidir='/var/www/cgi-bin/'runas_usr='nobody'runas_grp='nobody'mandir='/usr/man/'logdir='/var/log/dansguardian/'piddir='/var/run/'logrotatedir='/etc/logrotate.d/'gccver=`gcc -dumpversion | sed '1,$s/.[0-9]*$//'`case `uname -s` in	SunOS*)		extendedecho='/bin/echo'	;;	OpenBSD*)		extendedecho='echo -e'	;;	FreeBSD*)		extendedecho='echo -e'	;;	NetBSD*)		extendedecho='echo -e'	;;	Darwin*)		extendedecho='echo -e'	;;	Linux*)		extendedecho='echo -e'	;;        HP-UX*)                extendedecho='/bin/echo'        ;;esac# Initialize some other variables.subdirs=MFLAGS= MAKEFLAGS=SHELL=${CONFIG_SHELL-/bin/sh}# Maximum number of lines to put in a shell here document.ac_max_here_lines=12ac_prev=for ac_optiondo  # If the previous option needs an argument, assign it.  if test -n "$ac_prev"; then    eval "$ac_prev=\$ac_option"    ac_prev=    continue  fi  case "$ac_option" in  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  *) ac_optarg= ;;  esac  # Accept the important Cygnus configure options, so we can diagnose typos.  case "$ac_option" in  -bindir | --bindir | --bindi | --bind | --bin | --bi)    ac_prev=bindir ;;  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    bindir="$ac_optarg" ;;  -help | --help | --hel | --he)    # Omit some internal or obsolete options to make the list less imposing.    # This message is too long to be a string in the A/UX 3.1 sh.    cat << EOFUsage: configure [options]Options: [defaults in brackets after descriptions]Configuration:  --help                  print this message  --version               print the version of autoconf that created configureDirectory and file names:  --prefix=DIR            prefix root path DEFAULT [$prefixdir] (no trailing /)  --installprefix=DIR     prefix used for the 'make install'                          DEFAULT [$installprefixdir] (no trailing /)  --bindir=DIR            user executables in DIR [$ac_default_prefix]  --sysconfdir=DIR        config files and data in DIR [$sysconfdir]  --sysvdir=DIR           startup script in DIR [$sysvdir]  --cgidir=DIR            cgi-bin directory in DIR [$cgidir]  --mandir=DIR            man documentation in DIR [$mandir]  --logdir=DIR            log files in DIR [$logdir]  --runas_usr=USER        run as user DEFAULT [$runas_usr]  --runas_grp=GROUP       run as group DEFAULT [$runas_grp]  --piddir=DIR            pid file in DIR [$piddir] (ignores prefix)  --logrotatedir=DIR      logrotate.d scripts go in DIR [$logrotatedir]  --gccver=N              version 2 or 3 [$gccver]Do not forget the heading *and* trailing / except for prefix and installprefixwhich only need a heading /The installprefix is used when you want to copy the install files somewhereother than their normal installation locations.  This would most often be usedfor package generation.EOF    if test -n "$ac_help"; then      echo "--enable and --with options recognized:$ac_help"    fi    exit 0 ;;  -runas_usr | --runas_usr)    ac_prev=runas_usr ;;  -runas_usr=* | --runas_usr=*)    runas_usr="$ac_optarg" ;;  -runas_grp | --runas_grp)    ac_prev=runas_grp ;;  -runas_grp=* | --runas_grp=*)    runas_grp="$ac_optarg" ;;  -gccver | --gccver )    ac_prev=gccver ;;  -gccver=* | --gccver=*)    gccver="$ac_optarg" ;;  -logrotatedir | --logrotatedir | --logrotatedi | --logrotated | --logrotate \  | --logrotat | --logrota | --logrot | --logro | --logr)    ac_prev=logrotatedir ;;  -logrotatedir=* | --logrotatedir=* | --logrotatedi=* | --logrotated=* \  | --logrotate=* | --logrotat=* | --logrota=* | --logrot=* | --logro=* \  | --logr=*)    logrotatedir="$ac_optarg" ;;  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    ac_prev=mandir ;;  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    mandir="$ac_optarg" ;;  -piddir | --piddir | --piddi | --pidd | --pid )    ac_prev=piddir ;;  -piddir=* | --piddir=* | --piddi=* | --pidd=* | --pid=* )    piddir="$ac_optarg" ;;  -logdir | --logdir | --logdi | --logd | --log )    ac_prev=logdir ;;  -logdir=* | --logdir=* | --logdi=* | --logd=* | --log=* )    logdir="$ac_optarg" ;;  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)    ac_prev=sbindir ;;  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \  | --sbi=* | --sb=*)    sbindir="$ac_optarg" ;;  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \  | --syscon | --sysco | --sysc)    ac_prev=sysconfdir ;;  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \  | --syscon=* | --sysco=* | --sysc=*)    sysconfdir="$ac_optarg" ;;  -installprefix | --installprefix)    ac_prev=installprefixdir ;;  -installprefix=* | --installprefix=*)    installprefixdir="$ac_optarg" ;;  -prefix | --prefix)    ac_prev=prefixdir ;;  -prefix=* | --prefix=*)    prefixdir="$ac_optarg" ;;  -sysvdir | --sysvdir | --sysvdi | --sysvd | --sysv)    ac_prev=sysvdir ;;  -sysvdir=* | --sysvdir=* | --sysvdi=* | --sysvd=* | --sysv=*)    sysvdir="$ac_optarg" ;;  -cgidir | --cgidir | --cgidi | --cgid | --cgi)    ac_prev=cgidir ;;  -cgidir=* | --cgidir=* | --cgidi=* | --cgid=* | --cgi=*)    cgidir="$ac_optarg" ;;  -v | -verbose | --verbose | --verbos | --verbo | --verb)    verbose=yes ;;  -version | --version | --versio | --versi | --vers)    echo "configure generated by autoconf version 2.13"    exit 0 ;;  -with-* | --with-*)    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`    # Reject names that are not valid shell variable names.    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }    fi    ac_package=`echo $ac_package| sed 's/-/_/g'`    case "$ac_option" in      *=*) ;;      *) ac_optarg=yes ;;    esac    eval "with_${ac_package}='$ac_optarg'" ;;  -without-* | --without-*)    ac_package=`echo $ac_option|sed -e 's/-*without-//'`    # Reject names that are not valid shell variable names.    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }    fi    ac_package=`echo $ac_package| sed 's/-/_/g'`    eval "with_${ac_package}=no" ;;  --x)    # Obsolete; use --with-x.    with_x=yes ;;  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    ;;  *)    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      echo "configure: warning: $ac_option: invalid host type" 1>&2    fi    if test "x$nonopt" != xNONE; then      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }    fi    nonopt="$ac_option"    ;;  esacdoneif test -n "$ac_prev"; then  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }fitrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15# File descriptor usage:# 0 standard input# 1 file creation# 2 errors and warnings# 3 some systems may open it to /dev/tty# 4 used on the Kubota Titan# 6 checking for... messages and results# 5 compiler messages saved in config.logif test "$silent" = yes; then  exec 6>/dev/nullelse  exec 6>&1fiexec 5>./config.logecho "\This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake." 1>&5# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell metacharacters.ac_configure_args=for ac_argdo  case "$ac_arg" in  -no-create | --no-create | --no-creat | --no-crea | --no-cre \  | --no-cr | --no-c) ;;  -no-recursion | --no-recursion | --no-recursio | --no-recursi \  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  ac_configure_args="$ac_configure_args '$ac_arg'" ;;  *) ac_configure_args="$ac_configure_args $ac_arg" ;;  esacdone# NLS nuisances.# Only set these to C if already set.  These must not be set unconditionally# because not all systems understand e.g. LANG=C (notably SCO).# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!# Non-C LC_CTYPE values break the ctype check.if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fiif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fiif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fiif test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# A filename unique to this package, relative to the directory that# configure is in, which we can look for to find out if srcdir is correct.ac_unique_file=dansguardian.cpp# Find the source files, if location was not specified.if test -z "$srcdir"; then  ac_srcdir_defaulted=yes  # Try the directory containing this script, then its parent.  ac_prog=$0  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.  srcdir=$ac_confdir  if test ! -r $srcdir/$ac_unique_file; then    srcdir=..  fielse  ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then  if test "$ac_srcdir_defaulted" = yes; then    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }  else    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }  fifisrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then  if test "x$prefix" != xNONE; then    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"  else    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  fififor ac_site_file in $CONFIG_SITE; do  if test -r "$ac_site_file"; then    echo "loading site script $ac_site_file"    . "$ac_site_file"  fidoneif test -r "$cache_file"; then  echo "loading cache $cache_file"  . $cache_fileelse  echo "creating cache $cache_file"  > $cache_filefiac_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_crossac_exeext=ac_objext=oif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fiac_aux_dir=for ac_dir in autoconf $srcdir/autoconf; 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  fidoneif test -z "$ac_aux_dir"; then  { echo "configure: error: can not find install-sh or install.sh in autoconf $srcdir/autoconf" 1>&2; exit 1; }fiac_config_guess=$ac_aux_dir/config.guessac_config_sub=$ac_aux_dir/config.subac_configure=$ac_aux_dir/configure # This should be Cygnus configure.PACKAGE=DansguardianVERSION=2if test -z "$MAKE"; then	MAKE=make	echo WARNING: No make command specified, assuming `which $MAKE`	echo WARNING: To specify a different make, use MAKE="<command>" $0fi# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:581: 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="gcc"      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>&6fiif test -z "$CC"; then  # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:611: 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_prog_rejected=no  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then        ac_prog_rejected=yes	continue      fi      ac_cv_prog_CC="cc"

⌨️ 快捷键说明

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