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

📄 configure

📁 UUDeview是一个编码解码器
💻
📖 第 1 页 / 共 5 页
字号:
  echo "$ac_t""no" 1>&6fi	if test "x$MAILER" != "x" ; then		cat >> confdefs.h <<\EOF#define MAILER_NEEDS_SUBJECT 1EOF	# elm wants -s "subject"	else	# Extract the first word of "mail", so it can be a program name with args.set dummy mail; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1858: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MAILER'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MAILER" in  /*)  ac_cv_path_MAILER="$MAILER" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MAILER="$MAILER" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH:/sbin:/usr/lib:/usr/sbin:/usr/etc"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MAILER="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMAILER="$ac_cv_path_MAILER"if test -n "$MAILER"; then  echo "$ac_t""$MAILER" 1>&6else  echo "$ac_t""no" 1>&6fi	if test "x$MAILER" = "x" ; then		echo "configure: warning: I haven't found a suitable mail program. You will not be" 1>&2		echo "configure: warning: able to mail files directly from uuenview." 1>&2	fi	fi	fi	fi	;;*)	echo $ac_n "checking for suitable mailer""... $ac_c" 1>&6echo "configure:1900: checking for suitable mailer" >&5	echo "$ac_t""$have_sendmail" 1>&6	if test ! -x $have_sendmail ; then		echo "configure: warning: Cannot execute $have_sendmail" 1>&2		echo "configure: warning: Make sure this prog exists when running uuenview" 1>&2	fi	MAILER="$have_sendmail"	;;esacif test "x$MAILER" != "x" ; then	cat >> confdefs.h <<EOF#define PROG_MAILER "$MAILER"EOFfi## Look for inews. If it is there, there's no need to make our own#case "x$have_inews" inxno*)	INEWS=""	have_minews=no	newsserver="not_configured"	domainname="not_configured"	;;x|xyes*)	# Extract the first word of "inews", so it can be a program name with args.set dummy inews; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1932: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_INEWS'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$INEWS" in  /*)  ac_cv_path_INEWS="$INEWS" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_INEWS="$INEWS" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH:/usr/bin:/usr/news:/usr/news/bin:/usr/local/bin:/usr/local/news:/usr/local/news/bin:/usr/share/news:/usr/share/news/bin"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_INEWS="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiINEWS="$ac_cv_path_INEWS"if test -n "$INEWS"; then  echo "$ac_t""$INEWS" 1>&6else  echo "$ac_t""no" 1>&6fi	if test "x$INEWS" != "x" ; then		cat >> confdefs.h <<\EOF#define HAVE_NEWS 1EOF		cat >> confdefs.h <<EOF#define PROG_INEWS "$INEWS -h"EOF		have_minews=no		newsserver="not_needed"		domainname="not_needed"	else	if test "$have_minews" = "yes" ; then		cat >> confdefs.h <<\EOF#define HAVE_NEWS 1EOF		#		# we must cheat here to find the final location of minews. 		# ./configure defines the final values too late. This mimics		# what autoconf 2.7 does.		#		eval "our_prefix=$prefix"		eval "our_exec_prefix=$exec_prefix"		eval "our_bindir=$bindir"		if test "x$our_prefix" = "xNONE" ; then			eval "our_prefix=$ac_default_prefix"		fi		if test "x$our_exec_prefix" = "xNONE" ; then			eval "our_exec_prefix=$our_prefix"		fi		if test "x$our_bindir" = "xNONE/bin" ; then			eval "our_bindir=$our_exec_prefix/bin"		fi		cat >> confdefs.h <<EOF#define PROG_INEWS "${our_bindir}/minews -h"EOF	else		echo "configure: warning: Couldn't find inews and you didn't want minews." 1>&2		echo "configure: warning: You won't be able to post files directly from uuenview" 1>&2		have_minews=no		newsserver="not_configured"		domainname="not_configured"	fi	fi	;;*)	echo $ac_n "checking for suitable inews""... $ac_c" 1>&6echo "configure:2019: checking for suitable inews" >&5	echo "$ac_t""$have_inews" 1>&6	if test ! -x $have_inews ; then		echo "configure: warning: Cannot execute $have_inews" 1>&2		echo "configure: warning: Make sure this prog exists when running uuenvew" 1>&2	fi	cat >> confdefs.h <<\EOF#define HAVE_NEWS 1EOF	cat >> confdefs.h <<EOF#define PROG_INEWS "$have_inews -h"EOF	have_minews=no	newsserver="not_needed"	domainname="not_needed"	;;esac## check for NNTPSERVER or NNTP_SERVER#if test "$have_minews" = "yes" ; thenecho $ac_n "checking for news server""... $ac_c" 1>&6echo "configure:2045: checking for news server" >&5if test "x$newsserver" = "x" ; thenif test "x$NNTPSERVER" != "x" ; then	newsserver=$NNTPSERVERelseif test "x$NNTP_SRVER" != "x" ; then	newsserver=$NNTP_SERVERfififiif test "x$newsserver" = "x" ; then	echo "$ac_t""not found" 1>&6	cat >> confdefs.h <<\EOF#define NEED_NNTPSERVER 1EOFelse	echo "$ac_t""$newsserver" 1>&6	cat >> confdefs.h <<EOF#define NNTPSERVER "$newsserver"EOFfifi## If we compile and use minews, we want to know our domain name#if test "$have_minews" = "yes" ; then# Extract the first word of "hostname", so it can be a program name with args.set dummy hostname; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:2078: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_HOSTNAME'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$HOSTNAME" in  /*)  ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH:/sbin:/usr/sbin"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_HOSTNAME="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiHOSTNAME="$ac_cv_path_HOSTNAME"if test -n "$HOSTNAME"; then  echo "$ac_t""$HOSTNAME" 1>&6else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking domain name""... $ac_c" 1>&6echo "configure:2111: checking domain name" >&5## try /etc/resolv.conf#if test "x$domainname" = "x" ; thenif test -f /etc/resolv.conf ; then	#	# note: Parameter for tr is <space><tab>	#	domainname=`grep '^domain' /etc/resolv.conf | tr -d ' 	' | sed 's/domain//'`fifi## on some systems, hostname returns the FQN#if test "x$domainname" = "x" ; thenif test "x$HOSTNAME" != "x" ; then	if test "x`$HOSTNAME | grep "\\."`" != "x" ; then		domainname=`$HOSTNAME | sed 's/[a-zA-Z0-9]*\.//'`	fififiif test "x$domainname" = "x" ; then	echo "$ac_t""unknown" 1>&6	echo "configure: warning: Couldn't figure out your domain name. Configuring bogus" 1>&2	echo "configure: warning: domain. If you intend to post directly from uuenview," 1>&2	echo "configure: warning: rerun configure and use --enable-domain=your-domainname" 1>&2	echo "configure: warning: with your real domain name." 1>&2	domainname="i.dont.know.where.i.am"else	echo "$ac_t""$domainname" 1>&6ficat >> confdefs.h <<EOF#define DOMAINNAME "$domainname"EOFfi## Check the directory separator. Because this is probably a Unix-like# system, just set it statically to "/". On other systems, change it# in config.h#echo $ac_n "checking directory separator""... $ac_c" 1>&6echo "configure:2163: checking directory separator" >&5dirseparator="/"echo "$ac_t""$dirseparator" 1>&6cat >> confdefs.h <<EOF#define DIRSEPARATOR "$dirseparator"EOF## Checks for header files and library functions#echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6echo "configure:2176: 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 2181 "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:2189: \"$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 2206 "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 2224 "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 2245 "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:2256: \"$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 1EOFfiecho $ac_n "checking for size_t""... $ac_c" 1>&6echo "configure:2280: checking for size_t" >&5if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2285 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_size_t=yeselse  rm -rf conftest*  ac_cv_type_size_t=nofirm -f conftest*fiecho "$

⌨️ 快捷键说明

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