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

📄 configure

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻
📖 第 1 页 / 共 5 页
字号:
 else  echo "$ac_t""no" 1>&6LIBOBJS="$LIBOBJS ${ac_func}.o"fidoneecho $ac_n "checking whether closedir returns void""... $ac_c" 1>&6echo "configure:1771: checking whether closedir returns void" >&5if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  ac_cv_func_closedir_void=yeselse  cat > conftest.$ac_ext <<EOF#line 1779 "configure"#include "confdefs.h"#include <sys/types.h>#include <$ac_header_dirent>int closedir(); main() { exit(closedir(opendir(".")) != 0); }EOFif { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/nullthen  ac_cv_func_closedir_void=noelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_func_closedir_void=yesfirm -fr conftest*fifiecho "$ac_t""$ac_cv_func_closedir_void" 1>&6if test $ac_cv_func_closedir_void = yes; then  cat >> confdefs.h <<\EOF#define CLOSEDIR_VOID 1EOFfiecho $ac_n "checking for vprintf""... $ac_c" 1>&6echo "configure:1808: checking for vprintf" >&5if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1813 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char vprintf(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char vprintf();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_vprintf) || defined (__stub___vprintf)choke me#elsevprintf();#endif; return 0; }EOFif { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  rm -rf conftest*  eval "ac_cv_func_vprintf=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_vprintf=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define HAVE_VPRINTF 1EOFelse  echo "$ac_t""no" 1>&6fiif test "$ac_cv_func_vprintf" != yes; thenecho $ac_n "checking for _doprnt""... $ac_c" 1>&6echo "configure:1860: checking for _doprnt" >&5if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1865 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char _doprnt(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char _doprnt();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub__doprnt) || defined (__stub____doprnt)choke me#else_doprnt();#endif; return 0; }EOFif { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  rm -rf conftest*  eval "ac_cv_func__doprnt=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func__doprnt=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define HAVE_DOPRNT 1EOFelse  echo "$ac_t""no" 1>&6fifiecho $ac_n "checking for long file names""... $ac_c" 1>&6echo "configure:1914: checking for long file names" >&5if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_cv_sys_long_file_names=yes# Test for long file names in all the places we know might matter:#      .		the current directory, where building will happen#      $prefix/lib	where we will be installing things#      $exec_prefix/lib	likewise# eval it to expand exec_prefix.#      $TMPDIR		if set, where it might want to write temporary files# if $TMPDIR is not set:#      /tmp		where it might want to write temporary files#      /var/tmp		likewise#      /usr/tmp		likewiseif test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then  ac_tmpdirs="$TMPDIR"else  ac_tmpdirs='/tmp /var/tmp /usr/tmp'fifor ac_dir in  . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do  test -d $ac_dir || continue  test -w $ac_dir || continue # It is less confusing to not echo anything here.  (echo 1 > $ac_dir/conftest9012345) 2>/dev/null  (echo 2 > $ac_dir/conftest9012346) 2>/dev/null  val=`cat $ac_dir/conftest9012345 2>/dev/null`  if test ! -f $ac_dir/conftest9012345 || test "$val" != 1; then    ac_cv_sys_long_file_names=no    rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null    break  fi  rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/nulldonefiecho "$ac_t""$ac_cv_sys_long_file_names" 1>&6if test $ac_cv_sys_long_file_names = yes; then  cat >> confdefs.h <<\EOF#define HAVE_LONG_FILE_NAMES 1EOFfiecho $ac_n "checking for d_ino member in directory struct""... $ac_c" 1>&6echo "configure:1959: checking for d_ino member in directory struct" >&5if eval "test \"`echo '$''{'patch_cv_sys_d_ino_in_dirent'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1964 "configure"#include "confdefs.h"#include <sys/types.h>#if HAVE_DIRENT_H# include <dirent.h>#else# define dirent direct# if HAVE_SYS_NDIR_H#  include <sys/ndir.h># endif# ifdef HAVE_SYS_DIR_H#  include <sys/dir.h># endif# ifdef HAVE_NDIR_H#  include <ndir.h># endif#endifint main() {struct dirent dp; dp.d_ino = 0;; return 0; }EOFif { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  rm -rf conftest*  patch_cv_sys_d_ino_in_dirent=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  patch_cv_sys_d_ino_in_dirent=nofirm -f conftest*fiecho "$ac_t""$patch_cv_sys_d_ino_in_dirent" 1>&6if test $patch_cv_sys_d_ino_in_dirent = yes; then  cat >> confdefs.h <<\EOF#define D_INO_IN_DIRENT 1EOFfitrap '' 1 2 15cat > confcache <<\EOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs.  It is not useful on other systems.# If it contains results you don't want to keep, you may remove or edit it.## By default, configure uses ./config.cache as the cache file,# creating it if it does not exist already.  You can give configure# the --cache-file=FILE option to use a different cache file; that is# what configure does when it calls configure scripts in# subdirectories, so they share the cache.# Giving --cache-file=/dev/null disables caching, for debugging configure.# config.status only pays attention to the cache file if you give it the# --recheck option to rerun configure.#EOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.(set) 2>&1 |  case `(ac_space=' '; set | grep ac_space) 2>&1` in  *ac_space=\ *)    # `set' does not quote correctly, so add quotes (double-quote substitution    # turns \\\\ into \\, and sed turns \\ into \).    sed -n \      -e "s/'/'\\\\''/g" \      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"    ;;  *)    # `set' quotes correctly as required by POSIX, so do not add quotes.    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'    ;;  esac >> confcacheif cmp -s $cache_file confcache; then  :else  if test -w $cache_file; then    echo "updating cache $cache_file"    cat confcache > $cache_file  else    echo "not updating unwritable cache $cache_file"  fifirm -f confcachetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15test "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'fitrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15DEFS=-DHAVE_CONFIG_H# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo creating $CONFIG_STATUSrm -f $CONFIG_STATUScat > $CONFIG_STATUS <<EOF#! /bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $ac_configure_args## Compiler output produced by configure, useful for debugging# configure, is in ./config.log if it exists.ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"for ac_optiondo  case "\$ac_option" in  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)    echo "$CONFIG_STATUS generated by autoconf version 2.12"    exit 0 ;;  -help | --help | --hel | --he | --h)    echo "\$ac_cs_usage"; exit 0 ;;  *) echo "\$ac_cs_usage"; exit 1 ;;  esacdoneac_given_srcdir=$srcdirac_given_INSTALL="$INSTALL"trap 'rm -fr `echo "Makefile config.h:config.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15EOFcat >> $CONFIG_STATUS <<EOF# Protect against being on the right side of a sed subst in config.status.sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF$ac_vpsub$extrasubs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@DEFS@%$DEFS%gs%@LDFLAGS@%$LDFLAGS%gs%@LIBS@%$LIBS%gs%@exec_prefix@%$exec_prefix%gs%@prefix@%$prefix%gs%@program_transform_name@%$program_transform_name%gs%@bindir@%$bindir%gs%@sbindir@%$sbindir%gs%@libexecdir@%$libexecdir%gs%@datadir@%$datadir%gs%@sysconfdir@%$sysconfdir%gs%@sharedstatedir@%$sharedstatedir%gs%@localstatedir@%$localstatedir%gs%@libdir@%$libdir%gs%@includedir@%$includedir%gs%@oldincludedir@%$oldincludedir%gs%@infodir@%$infodir%gs%@mandir@%$mandir%gs%@PACKAGE@%$PACKAGE%gs%@VERSION@%$VERSION%gs%@CC@%$CC%gs%@CPP@%$CPP%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@SET_MAKE@%$SET_MAKE%gs%@ed_PROGRAM@%$ed_PROGRAM%gs%@LIBOBJS@%$LIBOBJS%gCEOFEOFcat >> $CONFIG_STATUS <<\EOF# Split the substitutions into bite-sized pieces for seds with# small command number limits, like on Digital OSF/1 and HP-UX.ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.ac_file=1 # Number of current file.ac_beg=1 # First line for current file.ac_end=$ac_max_sed_cmds # Line after last line for current file.ac_more_lines=:ac_sed_cmds=""while $ac_more_lines; do  if test $ac_beg -gt 1; then    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file  else    sed "${ac_end}q" conftest.subs > conftest.s$ac_file  fi  if test ! -s conftest.s$ac_file; then    ac_more_lines=false    rm -f conftest.s$ac_file  else    if test -z "$ac_sed_cmds"; then      ac_sed_cmds="sed -f conftest.s$ac_file"    else      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"    fi    ac_file=`expr $ac_file + 1`    ac_beg=$ac_end    ac_end=`expr $ac_end + $ac_max_sed_cmds`  fidoneif test -z "$ac_sed_cmds"; then  ac_sed_cmds=catfiEOFcat >> $CONFIG_STATUS <<EOFCONFIG_FILES=\${CONFIG_FILES-"Makefile"}EOFcat >> $CONFIG_STATUS <<\EOFfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".  case "$ac_file" in  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;  *) ac_file_in="${ac_file}.in" ;;  esac  # Adjust a r

⌨️ 快捷键说明

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