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

📄 configure

📁 flex 词法分析工具 类似于lex 此版本为较早前的版本
💻
📖 第 1 页 / 共 3 页
字号:
EOFfiecho $ac_n "checking for alloca""... $ac_c" 1>&4if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&4else  cat > conftest.$ac_ext <<EOF#line 1101 "configure"#include "confdefs.h"#ifdef __GNUC__# define alloca __builtin_alloca#else# if HAVE_ALLOCA_H#  include <alloca.h># else#  ifdef _AIX #pragma alloca#  else#   ifndef alloca /* predefined by HP cc +Olibcalls */char *alloca ();#   endif#  endif# endif#endifint main() { return 0; }int t() {char *p = (char *) alloca(1);; return 0; }EOFif eval $ac_link; then  rm -rf conftest*  ac_cv_func_alloca=yeselse  rm -rf conftest*  ac_cv_func_alloca=nofirm -f conftest*fiecho "$ac_t""$ac_cv_func_alloca" 1>&4if test $ac_cv_func_alloca = yes; then  cat >> confdefs.h <<\EOF#define HAVE_ALLOCA 1EOFfiif test $ac_cv_func_alloca = no; then  # The SVR3 libPW and SVR4 libucb both contain incompatible functions  # that cause trouble.  Some versions do not even contain alloca or  # contain a buggy version.  If you still want to use their alloca,  # use ar to extract alloca.o from them instead of compiling alloca.c.  ALLOCA=alloca.o  cat >> confdefs.h <<\EOF#define C_ALLOCA 1EOFecho $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&4else  cat > conftest.$ac_ext <<EOF#line 1159 "configure"#include "confdefs.h"#if defined(CRAY) && ! defined(CRAY2)webecray#elsewenotbecray#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "webecray" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_os_cray=yeselse  rm -rf conftest*  ac_cv_os_cray=nofirm -f conftest*fiecho "$ac_t""$ac_cv_os_cray" 1>&4if test $ac_cv_os_cray = yes; thenecho $ac_n "checking for _getb67""... $ac_c" 1>&4if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&4else  cat > conftest.$ac_ext <<EOF#line 1186 "configure"#include "confdefs.h"#include <ctype.h> /* Arbitrary system header to define __stub macros. *//* Override any gcc2 internal prototype to avoid an error.  */char _getb67(); int main() { return 0; }int t() {/* 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__getb67) || defined (__stub____getb67)choke me#else_getb67();#endif; return 0; }EOFif eval $ac_link; then  rm -rf conftest*  eval "ac_cv_func__getb67=yes"else  rm -rf conftest*  eval "ac_cv_func__getb67=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then  echo "$ac_t""yes" 1>&4  cat >> confdefs.h <<\EOF#define CRAY_STACKSEG_END _getb67EOFelse  echo "$ac_t""no" 1>&4echo $ac_n "checking for GETB67""... $ac_c" 1>&4if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&4else  cat > conftest.$ac_ext <<EOF#line 1229 "configure"#include "confdefs.h"#include <ctype.h> /* Arbitrary system header to define __stub macros. *//* Override any gcc2 internal prototype to avoid an error.  */char GETB67(); int main() { return 0; }int t() {/* 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_GETB67) || defined (__stub___GETB67)choke me#elseGETB67();#endif; return 0; }EOFif eval $ac_link; then  rm -rf conftest*  eval "ac_cv_func_GETB67=yes"else  rm -rf conftest*  eval "ac_cv_func_GETB67=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then  echo "$ac_t""yes" 1>&4  cat >> confdefs.h <<\EOF#define CRAY_STACKSEG_END GETB67EOFelse  echo "$ac_t""no" 1>&4echo $ac_n "checking for getb67""... $ac_c" 1>&4if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&4else  cat > conftest.$ac_ext <<EOF#line 1272 "configure"#include "confdefs.h"#include <ctype.h> /* Arbitrary system header to define __stub macros. *//* Override any gcc2 internal prototype to avoid an error.  */char getb67(); int main() { return 0; }int t() {/* 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_getb67) || defined (__stub___getb67)choke me#elsegetb67();#endif; return 0; }EOFif eval $ac_link; then  rm -rf conftest*  eval "ac_cv_func_getb67=yes"else  rm -rf conftest*  eval "ac_cv_func_getb67=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then  echo "$ac_t""yes" 1>&4  cat >> confdefs.h <<\EOF#define CRAY_STACKSEG_END getb67EOFelse  echo "$ac_t""no" 1>&4fifififiecho $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&4else  if test "$cross_compiling" = yes; then  ac_cv_c_stack_direction=0elsecat > conftest.$ac_ext <<EOF#line 1326 "configure"#include "confdefs.h"find_stack_direction (){  static char *addr = 0;  auto char dummy;  if (addr == 0)    {      addr = &dummy;      return find_stack_direction ();    }  else    return (&dummy > addr) ? 1 : -1;}main (){  exit (find_stack_direction() < 0);}EOFeval $ac_linkif test -s conftest && (./conftest; exit) 2>/dev/null; then  ac_cv_c_stack_direction=1else  ac_cv_c_stack_direction=-1fifirm -fr conftest*fiecho "$ac_t""$ac_cv_c_stack_direction" 1>&4cat >> confdefs.h <<EOF#define STACK_DIRECTION $ac_cv_c_stack_directionEOFfi  ;;esactrap '' 1 2 15if test -w $cache_file; thenecho "updating cache $cache_file"cat > $cache_file <<\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# Ultrix sh set writes to stderr and can't be redirected directly.(set) 2>&1 |  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \  >> $cache_fileelseecho "not updating unwritable cache $cache_file"fitrap 'rm -fr conftest* confdefs* 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.1"    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 Makefile config.h:conf.in conftest*; exit 1' 1 2 15# 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%@LN_S@%$LN_S%gs%@YACC@%$YACC%gs%@CC@%$CC%gs%@RANLIB@%$RANLIB%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@SET_MAKE@%$SET_MAKE%gs%@CPP@%$CPP%gs%@ALLOCA@%$ALLOCA%gCEOFEOFcat >> $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]", 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 relative srcdir, etc. for subdirectories.  # Remove last slash and all that follows it.  Not all systems have dirname.  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    # The file is in a subdirectory.    test ! -d "$ac_dir" && mkdir "$ac_dir"    ac_dir_suffix="/$ac_dir"    # A "../" for each directory in $ac_dir_suffix.    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`  else    ac_dir_suffix= ac_dots=  fi  case "$ac_given_srcdir" in  .)  srcdir=.      if test -z "$ac_dots"; then top_srcdir=.      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;  *) # Relative path.    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"    top_srcdir="$ac_dots$ac_given_srcdir" ;;  esac  case "$ac_given_INSTALL" in  [/$]*) INSTALL="$ac_given_INSTALL" ;;  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;  esac  echo creating "$ac_file"  rm -f "$ac_file"  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."  case "$ac_file" in  *Makefile*) ac_comsub="1i\\# $configure_input" ;;  *) ac_comsub= ;;  esac  sed -e "$ac_comsubs%@configure_input@%$configure_input%gs%@srcdir@%$srcdir%gs%@top_srcdir@%$top_srcdir%gs%@INSTALL@%$INSTALL%g" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_filefi; donerm -f conftest.subs# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where# NAME is the cpp macro being defined and VALUE is the value it is being given.## ac_d sets the value in "#define NAME VALUE" lines.ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'ac_dC='\3'ac_dD='%g'# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'ac_uB='\([ 	]\)%\1#\2define\3'ac_uC=' 'ac_uD='\4%g'# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'ac_eB='$%\1#\2define\3'ac_eC=' 'ac_eD='%g'CONFIG_HEADERS=${CONFIG_HEADERS-"config.h:conf.in"}for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then  # Support "outfile[: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  echo creating $ac_file  rm -f conftest.frag conftest.in conftest.out  cp $ac_given_srcdir/$ac_file_in conftest.inEOF# Transform confdefs.h into a sed script conftest.vals that substitutes# the proper values into config.h.in to produce config.h.  And first:# Protect against being on the right side of a sed subst in config.status. # Protect against being in an unquoted here document in config.status.rm -f conftest.valscat > conftest.hdr <<\EOFs/[\\&%]/\\&/gs%[\\$`]%\\&%gs%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gps%ac_d%ac_u%gps%ac_u%ac_e%gpEOFsed -n -f conftest.hdr confdefs.h > conftest.valsrm -f conftest.hdr# This sed command replaces #undef with comments.  This is necessary, for# example, in the case of _POSIX_SOURCE, which is predefined and required# on some systems where configure will not decide to define it.cat >> conftest.vals <<\EOFs%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%EOF# Break up conftest.vals because some shells have a limit on# the size of here documents, and old seds have small limits too.# Maximum number of lines to put in a single here document.ac_max_here_lines=12rm -f conftest.tailwhile :do  ac_lines=`grep -c . conftest.vals`  # grep -c gives empty output for an empty file on some AIX systems.  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi  # Write a limited-size here document to conftest.frag.  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS  echo 'CEOF  sed -f conftest.frag conftest.in > conftest.out  rm -f conftest.in  mv conftest.out conftest.in' >> $CONFIG_STATUS  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail  rm -f conftest.vals  mv conftest.tail conftest.valsdonerm -f conftest.valscat >> $CONFIG_STATUS <<\EOF  rm -f conftest.frag conftest.h  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h  cat conftest.in >> conftest.h  rm -f conftest.in  if cmp -s $ac_file conftest.h 2>/dev/null; then    echo "$ac_file is unchanged"    rm -f conftest.h  else    rm -f $ac_file    mv conftest.h $ac_file  fifi; donetest -z "$CONFIG_HEADERS" || echo timestamp > stamp-hexit 0EOFchmod +x $CONFIG_STATUSrm -fr confdefs* $ac_clean_filestest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS

⌨️ 快捷键说明

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