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

📄 configure

📁 Linux下ztelnet 的rz、sz源码
💻
📖 第 1 页 / 共 5 页
字号:
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=src/crctab.c# 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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossif (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 $srcdir $srcdir/.. $srcdir/../..; 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 $srcdir $srcdir/.. $srcdir/../.." 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.# 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# 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:566: 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="${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.      for ac_prog in ginstall installbsd 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.	    # OSF/1 installbsd also uses dspmsg, but is usable.	    :	  else	    ac_cv_path_install="$ac_dir/$ac_prog -c"	    break 2	  fi	fi      done      ;;    esac  done  IFS="$ac_save_IFS"fi  if test "${ac_cv_path_install+set}" = set; then    INSTALL="$ac_cv_path_install"  else    # As a last resort, use the slow shell script.  We don't cache a    # path for INSTALL within a source directory, because that will    # break other packages using the cache if that directory is    # removed, or if the path is relative.    INSTALL="$ac_install_sh"  fifiecho "$ac_t""$INSTALL" 1>&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6echo "configure:619: checking whether build environment is sane" >&5# Just in casesleep 1echo timestamp > conftestfile# Do `set' in a subshell so we don't clobber the current shell's# arguments.  Must try -L first in case configure is actually a# symlink; some systems play weird games with the mod time of symlinks# (eg FreeBSD returns the mod time of the symlink's containing# directory).if (   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`   if test "$*" = "X"; then      # -L didn't work.      set X `ls -t $srcdir/configure conftestfile`   fi   if test "$*" != "X $srcdir/configure conftestfile" \      && test "$*" != "X conftestfile $srcdir/configure"; then      # If neither matched, then we have a broken ls.  This can happen      # if, for instance, CONFIG_SHELL is bash and it inherits a      # broken ls alias from the environment.  This has actually      # happened.  Such a system could not be considered "sane".      { echo "configure: error: ls -t appears to fail.  Make sure there is not a brokenalias in your environment" 1>&2; exit 1; }   fi   test "$2" = conftestfile   )then   # Ok.   :else   { echo "configure: error: newly created file is older than distributed files!Check your system clock" 1>&2; exit 1; }firm -f conftest*echo "$ac_t""yes" 1>&6if test "$program_transform_name" = s,x,x,; then  program_transform_name=else  # Double any \ or $.  echo might interpret backslashes.  cat <<\EOF_SED > conftestseds,\\,\\\\,g; s,\$,$$,gEOF_SED  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"  rm -f conftestsedfitest "$program_prefix" != NONE &&  program_transform_name="s,^,${program_prefix},; $program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE &&  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"# sed with no file args requires a program.test "$program_transform_name" = "" && program_transform_name="s,x,x,"echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:676: 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}"fiPACKAGE=lrzszVERSION=0.12.20if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }ficat >> confdefs.h <<EOF#define PACKAGE "$PACKAGE"EOFcat >> confdefs.h <<EOF#define VERSION "$VERSION"EOFmissing_dir=`cd $ac_aux_dir && pwd`echo $ac_n "checking for working aclocal""... $ac_c" 1>&6echo "configure:722: checking for working aclocal" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (aclocal --version) < /dev/null > /dev/null 2>&1; then   ACLOCAL=aclocal   echo "$ac_t""found" 1>&6else   ACLOCAL="$missing_dir/missing aclocal"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working autoconf""... $ac_c" 1>&6echo "configure:735: checking for working autoconf" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (autoconf --version) < /dev/null > /dev/null 2>&1; then   AUTOCONF=autoconf   echo "$ac_t""found" 1>&6else   AUTOCONF="$missing_dir/missing autoconf"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working automake""... $ac_c" 1>&6echo "configure:748: checking for working automake" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (automake --version) < /dev/null > /dev/null 2>&1; then   AUTOMAKE=automake   echo "$ac_t""found" 1>&6else   AUTOMAKE="$missing_dir/missing automake"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working autoheader""... $ac_c" 1>&6echo "configure:761: checking for working autoheader" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (autoheader --version) < /dev/null > /dev/null 2>&1; then   AUTOHEADER=autoheader   echo "$ac_t""found" 1>&6else   AUTOHEADER="$missing_dir/missing autoheader"   echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working makeinfo""... $ac_c" 1>&6echo "configure:774: checking for working makeinfo" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf.  Sigh.if (makeinfo --version) < /dev/null > /dev/null 2>&1; then   MAKEINFO=makeinfo   echo "$ac_t""found" 1>&6else   MAKEINFO="$missing_dir/missing makeinfo"   echo "$ac_t""missing" 1>&6fiPACKAGE_VERSION="$PACKAGE-$VERSION"cat >> confdefs.h <<EOF#define PACKAGE "$PACKAGE"EOFcat >> confdefs.h <<EOF#define VERSION "$VERSION"EOFcat >> confdefs.h <<EOF#define PACKAGE_VERSION "$PACKAGE_VERSION"EOFALL_LINGUAS="de"case $VERSION in	[0-9]*.[0-9]*.[0-9]*) README_ALPHA="README-alpha";;	*) README_ALPHA=;;esac# Check whether --enable-timesync or --disable-timesync was given.if test "${enable_timesync+set}" = set; then  enableval="$enable_timesync"  if test "$enableval" = "no" ; then 		:	  else		cat >> confdefs.h <<\EOF#define ENABLE_TIMESYNC 1EOF	  fielse  cat >> confdefs.h <<\EOF#define ENABLE_TIMESYNC 1EOFfi# Check whether --enable-pubdir or --disable-pubdir was given.if test "${enable_pubdir+set}" = set; then  enableval="$enable_pubdir"  if test "$enableval" = "no" ; then 		: 	  else 	    cat >> confdefs.h <<EOF#define PUBDIR "$enableval"EOF	  fifi# Check whether --enable-mkdir or --disable-mkdir was given.if test "${enable_mkdir+set}" = set; then  enableval="$enable_mkdir"  if test "$enableval" = "no" ; then 		:	  else	  	cat >> confdefs.h <<\EOF#define ENABLE_MKDIR 1EOF	  fielse  cat >> confdefs.h <<\EOF#define ENABLE_MKDIR 1EOFfi# Check whether --enable-syslog or --disable-syslog was given.if test "${enable_syslog+set}" = set; then  enableval="$enable_syslog"  	  if test "$enableval" = "no" ; then 		:	  else	    case "$enableval" in	    *,*)			level=`echo $enableval|sed -e 's/^.*,//'`			fac=`echo $enableval|sed -e 's/,.*$//'`			cat >> confdefs.h <<EOF#define ENABLE_SYSLOG $facEOF			;;		*)			lookup_facility=LOG_UUCP			level="$enableval"			;;		esac	  	if test "$level" = "force" ; then		  cat >> confdefs.h <<\EOF#define ENABLE_SYSLOG_FORCE 1EOF	  	else 	  	  if test "$level" = "optional" ; then	  	    :	  	  else		    cat >> confdefs.h <<\EOF#define ENABLE_SYSLOG_DEFAULT 1EOF		  fi	  	fi	  fielse  		cat >> confdefs.h <<\EOF#define ENABLE_SYSLOG_DEFAULT 1EOF		lookup_facility=LOG_UUCP	  fi# 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:923: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6

⌨️ 快捷键说明

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