📄 configure
字号:
#include <sys/cdefs.h>#ifdef __RENAME yes#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then :else rm -rf conftest* CPPFLAGS="$CPPFLAGS '-D__RENAME(x)='"firm -f conftest*cat > conftest.$ac_ext <<EOF#line 1803 "configure"#include "confdefs.h"#include <sys/cdefs.h>#ifdef _DIAGASSERT yes#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then :else rm -rf conftest* CPPFLAGS="$CPPFLAGS '-D_DIAGASSERT(x)='"firm -f conftest*# Check whether --enable-readline or --disable-readline was given.if test "${enable_readline+set}" = set; then enableval="$enable_readline" if test "x$enable_readline" != "xyes" ; then enable_readline="no"fielse enable_readline="yes"fi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" if test "x$enable_debug" != "xyes" ; then enable_debug="no"fielse enable_debug="no"fiif test "x$enable_debug" = "xyes" ; then CPPFLAGS="$CPPFLAGS -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG" CPPFLAGS="$CPPFLAGS -DDEBUG_REFRESH -DDEBUG_PASTE"else CFLAGS="$CFLAGS -O"fiACSRCS="common.c emacs.c vi.c"BCSRCS="chared.c el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c"CCSRCS="$CCSRCS history.c tokenizer.c"AGCSRCS="fcns.c help.c"BGCSRCS="editline.c"HDRS="chared.h el.h hist.h key.h map.h parse.h prompt.h refresh.h search.h sig.h sys.h term.h tokenizer.h tty.h"IHDRS="histedit.h"IHDR_LINKS=AGHDRS="common.h emacs.h vi.h"BGHDRS="fcns.h help.h"HDR_DIRS="include"MAN3="editline.3"MAN5="editrc.5"MAN3_LINKS=for i in el_init.3 el_end.3 el_reset.3 el_gets.3 el_getc.3 el_push.3 \ el_parse.3 el_set.3 el_get.3 el_source.3 el_resize.3 el_line.3 \ el_insertstr.3 el_deletestr.3 history_init.3 history_end.3 \ history.3 ; do MAN3_LINKS="$MAN3_LINKS editline.3 $i"doneMAN_DIRS="man/man3 man/man5"LIB_DIRS="lib"LIB_MAJOR="2"LIB_MINOR="6"LIB_A="libedit.a"LIB_A_LINKS=if test "x$ABI" = "xelf" ; then LIB_S="libedit.so.$LIB_MAJOR" LIB_S_LINK="libedit.so" LIB_S_LINKS="$LIB_S $LIB_S_LINK" S_LDFLAGS="-shared"elif test "x$ABI" = "xaout" ; then LIB_S="libedit.so.$LIB_MAJOR.$LIB_MINOR" LIB_S_LINKS= S_LDFLAGS="-shared"elif test "x$ABI" = "xmacho" ; then S_LDFLAGS="-shared" LIB_S="libedit.$LIB_MAJOR.dylib" LIB_S_LINK="libedit.dylib" LIB_S_LINKS="$LIB_S $LIB_S_LINK" if test "x$prefix" = "xNONE" ; then S_LDFLAGS="-undefined suppress -flat_namespace -dynamiclib -compatibility_version $LIB_MAJOR -current_version $LIB_MAJOR -install_name /usr/local/lib/$LIB_S" else S_LDFLAGS="-undefined suppress -flat_namespace -dynamiclib -compatibility_version $LIB_MAJOR -current_version $LIB_MAJOR -install_name $prefix/lib/$LIB_S" fifiTEST="TEST/test"TCSRCS="TEST/test.c"if test "x$enable_readline" = "xyes" ; then CCSRCS="$CCSRCS readline.c" IHDRS="$IHDRS readline/readline.h" IHDR_LINKS="readline.h readline/history.h" HDR_DIRS="$HDR_DIRS include/readline" LIB_A_LINKS="$LIB_A_LINKS libedit.a libreadline.a" if test "x$ABI" = "xelf" ; then LIB_S_LINKS="$LIB_S_LINKS $LIB_S_LINK libreadline.so" elif test "x$ABI" = "xaout" ; then LIB_S_LINKS="$LIB_S_LINKS $LIB_S libreadline.so.$LIB_MAJOR.$LIB_MINOR" elif test "x$ABI" = "xmacho" ; then LIB_S_LINKS="$LIB_S_LINKS $LIB_S_LINK libreadline.dylib" fifitrap '' 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.13" 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 makelist config.h" | 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%@SHELL@%$SHELL%gs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@FFLAGS@%$FFLAGS%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%@CC@%$CC%gs%@A_CFLAGS@%$A_CFLAGS%gs%@S_CFLAGS@%$S_CFLAGS%gs%@CPP@%$CPP%gs%@AWK@%$AWK%gs%@host@%$host%gs%@host_alias@%$host_alias%gs%@host_cpu@%$host_cpu%gs%@host_vendor@%$host_vendor%gs%@host_os@%$host_os%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@RANLIB@%$RANLIB%gs%@AR@%$AR%gs%@ACSRCS@%$ACSRCS%gs%@BCSRCS@%$BCSRCS%gs%@CCSRCS@%$CCSRCS%gs%@AGCSRCS@%$AGCSRCS%gs%@BGCSRCS@%$BGCSRCS%gs%@HDRS@%$HDRS%gs%@IHDRS@%$IHDRS%gs%@IHDR_LINKS@%$IHDR_LINKS%gs%@AGHDRS@%$AGHDRS%gs%@BGHDRS@%$BGHDRS%gs%@HDR_DIRS@%$HDR_DIRS%gs%@MAN3@%$MAN3%gs%@MAN5@%$MAN5%gs%@MAN3_LINKS@%$MAN3_LINKS%gs%@MAN_DIRS@%$MAN_DIRS%gs%@LIB_DIRS@%$LIB_DIRS%gs%@LIB_VER@%$LIB_VER%gs%@LIB_A@%$LIB_A%gs%@LIB_A_LINKS@%$LIB_A_LINKS%gs%@LIB_S@%$LIB_S%gs%@LIB_S_LINKS@%$LIB_S_LINKS%gs%@S_LDFLAGS@%$S_LDFLAGS%gs%@TEST@%$TEST%gs%@TCSRCS@%$TCSRCS%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 makelist"}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 relative srcdir, top_srcdir, and INSTALL 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="/`echo $ac_dir|sed 's%^\./%%'`" # 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 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsubs%@configure_input@%$configure_input%gs%@srcdir@%$srcdir%gs%@top_srcdir@%$top_srcdir%gs%@INSTALL@%$INSTALL%g" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_filefi; donerm -f conftest.s*# 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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -