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

📄 configure.in

📁 android-w.song.android.widget
💻 IN
📖 第 1 页 / 共 3 页
字号:
dnldnl Configure script for bash-4.2dnldnl report bugs to chet@po.cwru.edudnldnl Process this file with autoconf to produce a configure script.# Copyright (C) 1987-2011 Free Software Foundation, Inc.##   This program is free software: you can redistribute it and/or modify#   it under the terms of the GNU General Public License as published by#   the Free Software Foundation, either version 3 of the License, or#   (at your option) any later version.##   This program is distributed in the hope that it will be useful,#   but WITHOUT ANY WARRANTY; without even the implied warranty of#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the#   GNU General Public License for more details.##   You should have received a copy of the GNU General Public License#   along with this program.  If not, see <http://www.gnu.org/licenses/>.AC_REVISION([for Bash 4.2, version 4.037])dnldefine(bashvers, 4.2)define(relstatus, release)AC_INIT([bash], bashvers-relstatus, [bug-bash@gnu.org])dnl make sure we are using a recent autoconf versionAC_PREREQ(2.50)AC_CONFIG_SRCDIR(shell.h)dnl where to find install.sh, config.sub, and config.guessAC_CONFIG_AUX_DIR(./support)AC_CONFIG_HEADERS(config.h)dnl checks for version infoBASHVERS=bashversRELSTATUS=relstatusdnl defaults for debug settingscase "$RELSTATUS" inalp*|bet*|dev*|rc*|maint*)	DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;;*)	DEBUG= MALLOC_DEBUG= ;;esacdnl canonicalize the host and os so we can do some tricky things beforednl parsing optionsAC_CANONICAL_HOSTdnl configure defaultsopt_bash_malloc=yesopt_purify=noopt_purecov=noopt_afs=noopt_curses=noopt_with_installed_readline=no#htmldir=dnl some systems should be configured without the bash malloc by defaultdnl and some need a special compiler or loaderdnl look in the NOTES file for morecase "${host_cpu}-${host_os}" inalpha*-*)	opt_bash_malloc=no ;;	# alpha running osf/1 or linux*[[Cc]]ray*-*)	opt_bash_malloc=no ;;	# Crays*-osf1*)	opt_bash_malloc=no ;;	# other osf/1 machinessparc-svr4*)	opt_bash_malloc=no ;;	# sparc SVR4, SVR4.2sparc-netbsd*)	opt_bash_malloc=no ;;	# needs 8-byte alignmentmips-irix6*)	opt_bash_malloc=no ;;	# needs 8-byte alignmentm68k-sysv)	opt_bash_malloc=no ;;	# fixes file descriptor leak in closedirsparc-linux*)	opt_bash_malloc=no ;;	# sparc running linux; requires ELF#*-freebsd*-gnu)	opt_bash_malloc=no ;;	# there's some undetermined problem here#*-freebsd*)	opt_bash_malloc=no ;;	# they claim it's better; I disagree*-openbsd*)	opt_bash_malloc=no ;;	# they claim it needs eight-bit alignment*-aix*)		opt_bash_malloc=no ;;	# AIX machines*-nextstep*)	opt_bash_malloc=no ;;	# NeXT machines running NeXTstep*-macos*)	opt_bash_malloc=no ;;	# Apple MacOS X*-rhapsody*)	opt_bash_malloc=no ;;	# Apple Rhapsody (MacOS X)*-darwin*)	opt_bash_malloc=no ;;	# Apple Darwin (MacOS X)*-dgux*)	opt_bash_malloc=no ;;	# DG/UX machines*-qnx*)		opt_bash_malloc=no ;;	# QNX 4.2, QNX 6.x*-machten4)	opt_bash_malloc=no ;;	# MachTen 4.x*-bsdi2.1|*-bsdi3.?)	opt_bash_malloc=no ; : ${CC:=shlicc2} ;; # for loadable builtins*-beos*)	opt_bash_malloc=no ;;	# they say it's suitable*-cygwin*)	opt_bash_malloc=no ;;	# Cygnus's CYGWIN environment*-opennt*|*-interix*)	opt_bash_malloc=no ;;	# Interix, now owned by Microsoftesac# memory scrambling on free()case "${host_os}" insco3.2v5*|sco3.2v4*)	opt_memscramble=no ;;*)			opt_memscramble=yes ;;esacdnldnl macros for the bash debuggerdnldnl AM_PATH_LISPDIRAC_ARG_VAR(DEBUGGER_START_FILE, [location of bash debugger initialization file])dnl arguments to configurednl packagesAC_ARG_WITH(afs, AC_HELP_STRING([--with-afs], [if you are running AFS]), opt_afs=$withval)AC_ARG_WITH(bash-malloc, AC_HELP_STRING([--with-bash-malloc], [use the Bash version of malloc]), opt_bash_malloc=$withval)AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap library]), opt_curses=$withval)AC_ARG_WITH(gnu-malloc, AC_HELP_STRING([--with-gnu-malloc], [synonym for --with-bash-malloc]), opt_bash_malloc=$withval)AC_ARG_WITH(installed-readline, AC_HELP_STRING([--with-installed-readline], [use a version of the readline library that is already installed]), opt_with_installed_readline=$withval)AC_ARG_WITH(purecov, AC_HELP_STRING([--with-purecov], [configure to postprocess with pure coverage]), opt_purecov=$withval)AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to postprocess with purify]), opt_purify=$withval)if test "$opt_bash_malloc" = yes; then	MALLOC_TARGET=malloc	MALLOC_SRC=malloc.c	MALLOC_LIB='-lmalloc'	MALLOC_LIBRARY='$(ALLOC_LIBDIR)/libmalloc.a'	MALLOC_LDFLAGS='-L$(ALLOC_LIBDIR)'	MALLOC_DEP='$(MALLOC_LIBRARY)'	AC_DEFINE(USING_BASH_MALLOC)else	MALLOC_LIB=	MALLOC_LIBRARY=	MALLOC_LDFLAGS=	MALLOC_DEP=	fiif test "$opt_purify" = yes; then	PURIFY="purify "	AC_DEFINE(DISABLE_MALLOC_WRAPPERS)else	PURIFY=fiif test "$opt_purecov" = yes; then	PURIFY="${PURIFY}purecov"fiif test "$opt_afs" = yes; then	AC_DEFINE(AFS)fiif test "$opt_curses" = yes; then	prefer_curses=yesfiif test -z "${DEBUGGER_START_FILE}"; then	DEBUGGER_START_FILE='${datadir}/bashdb/bashdb-main.inc'fidnl optional shell features in config.h.inopt_minimal_config=noopt_job_control=yesopt_alias=yesopt_readline=yesopt_history=yesopt_bang_history=yesopt_dirstack=yesopt_restricted=yesopt_process_subst=yesopt_prompt_decoding=yesopt_select=yesopt_help=yesopt_array_variables=yesopt_dparen_arith=yesopt_extended_glob=yesopt_brace_expansion=yesopt_disabled_builtins=noopt_command_timing=yesopt_xpg_echo=noopt_strict_posix=noopt_cond_command=yesopt_cond_regexp=yesopt_coproc=yesopt_arith_for_command=yesopt_net_redirs=yesopt_progcomp=yesopt_separate_help=noopt_multibyte=yesopt_debugger=yesopt_single_longdoc_strings=yesopt_casemod_attrs=yesopt_casemod_expansions=yesopt_extglob_default=nodnl options that affect how bash is compiled and linkedopt_static_link=noopt_profiling=nodnl argument parsing for optional featuresAC_ARG_ENABLE(minimal-config, AC_HELP_STRING([--enable-minimal-config], [a minimal sh-like configuration]), opt_minimal_config=$enableval)dnl a minimal configuration turns everything off, but features can bednl added individuallyif test $opt_minimal_config = yes; then	opt_job_control=no opt_alias=no opt_readline=no	opt_history=no opt_bang_history=no opt_dirstack=no	opt_restricted=no opt_process_subst=no opt_prompt_decoding=no	opt_select=no opt_help=no opt_array_variables=no opt_dparen_arith=no	opt_brace_expansion=no opt_disabled_builtins=no opt_command_timing=no	opt_extended_glob=no opt_cond_command=no opt_arith_for_command=no	opt_net_redirs=no opt_progcomp=no opt_separate_help=no	opt_multibyte=yes opt_cond_regexp=no opt_coproc=no	opt_casemod_attrs=no opt_casemod_expansions=no opt_extglob_default=nofiAC_ARG_ENABLE(alias, AC_HELP_STRING([--enable-alias], [enable shell aliases]), opt_alias=$enableval)AC_ARG_ENABLE(arith-for-command, AC_HELP_STRING([--enable-arith-for-command], [enable arithmetic for command]), opt_arith_for_command=$enableval)AC_ARG_ENABLE(array-variables, AC_HELP_STRING([--enable-array-variables], [include shell array variables]), opt_array_variables=$enableval)AC_ARG_ENABLE(bang-history, AC_HELP_STRING([--enable-bang-history], [turn on csh-style history substitution]), opt_bang_history=$enableval)AC_ARG_ENABLE(brace-expansion, AC_HELP_STRING([--enable-brace-expansion], [include brace expansion]), opt_brace_expansion=$enableval)AC_ARG_ENABLE(casemod-attributes, AC_HELP_STRING([--enable-casemod-attributes], [include case-modifying variable attributes]), opt_casemod_attrs=$enableval)AC_ARG_ENABLE(casemod-expansions, AC_HELP_STRING([--enable-casemod-expansions], [include case-modifying word expansions]), opt_casemod_expansions=$enableval)AC_ARG_ENABLE(command-timing, AC_HELP_STRING([--enable-command-timing], [enable the time reserved word and command timing]), opt_command_timing=$enableval)AC_ARG_ENABLE(cond-command, AC_HELP_STRING([--enable-cond-command], [enable the conditional command]), opt_cond_command=$enableval)AC_ARG_ENABLE(cond-regexp, AC_HELP_STRING([--enable-cond-regexp], [enable extended regular expression matching in conditional commands]), opt_cond_regexp=$enableval)AC_ARG_ENABLE(coprocesses, AC_HELP_STRING([--enable-coprocesses], [enable coprocess support and the coproc reserved word]), opt_coproc=$enableval)AC_ARG_ENABLE(debugger, AC_HELP_STRING([--enable-debugger], [enable support for bash debugger]), opt_debugger=$enableval)AC_ARG_ENABLE(directory-stack, AC_HELP_STRING([--enable-directory-stack], [enable builtins pushd/popd/dirs]), opt_dirstack=$enableval)AC_ARG_ENABLE(disabled-builtins, AC_HELP_STRING([--enable-disabled-builtins], [allow disabled builtins to still be invoked]), opt_disabled_builtins=$enableval)AC_ARG_ENABLE(dparen-arithmetic, AC_HELP_STRING([--enable-dparen-arithmetic], [include ((...)) command]), opt_dparen_arith=$enableval)AC_ARG_ENABLE(extended-glob, AC_HELP_STRING([--enable-extended-glob], [include ksh-style extended pattern matching]), opt_extended_glob=$enableval)AC_ARG_ENABLE(extended-glob-default, AC_HELP_STRING([--enable-extended-glob-default], [force extended pattern matching to be enabled by default]), opt_extglob_default=$enableval)AC_ARG_ENABLE(help-builtin, AC_HELP_STRING([--enable-help-builtin], [include the help builtin]), opt_help=$enableval)AC_ARG_ENABLE(history, AC_HELP_STRING([--enable-history], [turn on command history]), opt_history=$enableval)AC_ARG_ENABLE(job-control, AC_HELP_STRING([--enable-job-control], [enable job control features]), opt_job_control=$enableval)AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable multibyte characters if OS supports them]), opt_multibyte=$enableval)AC_ARG_ENABLE(net-redirections, AC_HELP_STRING([--enable-net-redirections], [enable /dev/tcp/host/port redirection]), opt_net_redirs=$enableval)AC_ARG_ENABLE(process-substitution, AC_HELP_STRING([--enable-process-substitution], [enable process substitution]), opt_process_subst=$enableval)AC_ARG_ENABLE(progcomp, AC_HELP_STRING([--enable-progcomp], [enable programmable completion and the complete builtin]), opt_progcomp=$enableval)AC_ARG_ENABLE(prompt-string-decoding, AC_HELP_STRING([--enable-prompt-string-decoding], [turn on escape character decoding in prompts]), opt_prompt_decoding=$enableval)AC_ARG_ENABLE(readline, AC_HELP_STRING([--enable-readline], [turn on command line editing]), opt_readline=$enableval)AC_ARG_ENABLE(restricted, AC_HELP_STRING([--enable-restricted], [enable a restricted shell]), opt_restricted=$enableval)AC_ARG_ENABLE(select, AC_HELP_STRING([--enable-select], [include select command]), opt_select=$enableval)AC_ARG_ENABLE(separate-helpfiles, AC_HELP_STRING([--enable-separate-helpfiles], [use external files for help builtin documentation]), opt_separate_help=$enableval)AC_ARG_ENABLE(single-help-strings, AC_HELP_STRING([--enable-single-help-strings], [store help documentation as a single string to ease translation]), opt_single_longdoc_strings=$enableval)AC_ARG_ENABLE(strict-posix-default, AC_HELP_STRING([--enable-strict-posix-default], [configure bash to be posix-conformant by default]), opt_strict_posix=$enableval)AC_ARG_ENABLE(usg-echo-default, AC_HELP_STRING([--enable-usg-echo-default], [a synonym for --enable-xpg-echo-default]), opt_xpg_echo=$enableval)AC_ARG_ENABLE(xpg-echo-default, AC_HELP_STRING([--enable-xpg-echo-default], [make the echo builtin expand escape sequences by default]), opt_xpg_echo=$enableval)dnl options that alter how bash is compiled and linkedAC_ARG_ENABLE(mem-scramble, AC_HELP_STRING([--enable-mem-scramble], [scramble memory on calls to malloc and free]), opt_memscramble=$enableval)AC_ARG_ENABLE(profiling, AC_HELP_STRING([--enable-profiling], [allow profiling with gprof]), opt_profiling=$enableval)AC_ARG_ENABLE(static-link, AC_HELP_STRING([--enable-static-link], [link bash statically, for use as a root shell]), opt_static_link=$enableval)dnl opt_job_control is handled later, after BASH_JOB_CONTROL_MISSING runsdnl opt_readline and opt_history are handled later, because AC_PROG_CC needsdnl to be run before we can check the version of an already-installed readlinednl libraryif test $opt_alias = yes; thenAC_DEFINE(ALIAS)fiif test $opt_dirstack = yes; thenAC_DEFINE(PUSHD_AND_POPD)fiif test $opt_restricted = yes; thenAC_DEFINE(RESTRICTED_SHELL)fiif test $opt_process_subst = yes; thenAC_DEFINE(PROCESS_SUBSTITUTION)fiif test $opt_prompt_decoding = yes; thenAC_DEFINE(PROMPT_STRING_DECODE)fiif test $opt_select = yes; thenAC_DEFINE(SELECT_COMMAND)fiif test $opt_help = yes; thenAC_DEFINE(HELP_BUILTIN)fiif test $opt_array_variables = yes; thenAC_DEFINE(ARRAY_VARS)fiif test $opt_dparen_arith = yes; thenAC_DEFINE(DPAREN_ARITHMETIC)fiif test $opt_brace_expansion = yes; thenAC_DEFINE(BRACE_EXPANSION)fiif test $opt_disabled_builtins = yes; thenAC_DEFINE(DISABLED_BUILTINS)fiif test $opt_command_timing = yes; thenAC_DEFINE(COMMAND_TIMING)fiif test $opt_xpg_echo = yes ; thenAC_DEFINE(DEFAULT_ECHO_TO_XPG)fiif test $opt_strict_posix = yes; thenAC_DEFINE(STRICT_POSIX)fiif test $opt_extended_glob = yes ; thenAC_DEFINE(EXTENDED_GLOB)fiif test $opt_extglob_default = yes; thenAC_DEFINE(EXTGLOB_DEFAULT, 1)elseAC_DEFINE(EXTGLOB_DEFAULT, 0)fiif test $opt_cond_command = yes ; thenAC_DEFINE(COND_COMMAND)fiif test $opt_cond_regexp = yes ; thenAC_DEFINE(COND_REGEXP)fiif test $opt_coproc = yes; thenAC_DEFINE(COPROCESS_SUPPORT)fiif test $opt_arith_for_command = yes; thenAC_DEFINE(ARITH_FOR_COMMAND)fiif test $opt_net_redirs = yes; thenAC_DEFINE(NETWORK_REDIRECTIONS)fiif test $opt_progcomp = yes; thenAC_DEFINE(PROGRAMMABLE_COMPLETION)fiif test $opt_multibyte = no; thenAC_DEFINE(NO_MULTIBYTE_SUPPORT)fiif test $opt_debugger = yes; thenAC_DEFINE(DEBUGGER)fiif test $opt_casemod_attrs = yes; thenAC_DEFINE(CASEMOD_ATTRS)fiif test $opt_casemod_expansions = yes; thenAC_DEFINE(CASEMOD_EXPANSIONS)fiif test $opt_memscramble = yes; thenAC_DEFINE(MEMSCRAMBLE)fiif test "$opt_minimal_config" = yes; then	TESTSCRIPT=run-minimalelse	TESTSCRIPT=run-allfiHELPDIR= HELPDIRDEFINE= HELPINSTALL=if test "$opt_separate_help" != no; then	if test "$opt_separate_help" = "yes" ; then		HELPDIR='${datadir}/bash'	else		HELPDIR=$opt_separate_help	fi	HELPDIRDEFINE='-H ${HELPDIR}'	HELPINSTALL='install-help'fiHELPSTRINGS=if test "$opt_single_longdoc_strings" != "yes"; then	HELPSTRINGS='-S'fidnl now substitute in the values generated by argumentsAC_SUBST(TESTSCRIPT)AC_SUBST(PURIFY)AC_SUBST(MALLOC_TARGET)AC_SUBST(MALLOC_SRC)AC_SUBST(MALLOC_LIB)AC_SUBST(MALLOC_LIBRARY)AC_SUBST(MALLOC_LDFLAGS)AC_SUBST(MALLOC_DEP)AC_SUBST(htmldir)AC_SUBST(HELPDIR)AC_SUBST(HELPDIRDEFINE)AC_SUBST(HELPINSTALL)AC_SUBST(HELPSTRINGS)echo ""echo "Beginning configuration for bash-$BASHVERS-$RELSTATUS for ${host_cpu}-${host_vendor}-${host_os}"echo ""dnl compilation checksdnl AC_PROG_CC sets $cross_compiling to `yes' if cross-compiling for adnl different environmentAC_PROG_CC

⌨️ 快捷键说明

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