📄 configure
字号:
if test "${ac_cv_path_EXPR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else case $EXPR in [\\/]* | ?:[\\/]*) ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedone ;;esacfiEXPR=$ac_cv_path_EXPRif test -n "$EXPR"; then echo "$as_me:$LINENO: result: $EXPR" >&5echo "${ECHO_T}$EXPR" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi## ---- #### M4. #### ---- ### We use a path for GNU m4 so even if users have another m4 first in# their path, the installer can configure with a path that has GNU m4# first and get that path embedded in the installed autoconf and# autoheader scripts.for ac_prog in gm4 gnum4 m4do # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_M4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else case $M4 in [\\/]* | ?:[\\/]*) ac_cv_path_M4="$M4" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedone ;;esacfiM4=$ac_cv_path_M4if test -n "$M4"; then echo "$as_me:$LINENO: result: $M4" >&5echo "${ECHO_T}$M4" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$M4" && breakdonetest -n "$M4" || M4="m4"echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6if test "${ac_cv_prog_gnu_m4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_prog_gnu_m4=noif test x"$M4" != x; then case `$M4 --help < /dev/null 2>&1` in *reload-state*) ac_cv_prog_gnu_m4=yes ;; esacfifiecho "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6if test x"$ac_cv_prog_gnu_m4" != xyes; then { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5echo "$as_me: error: GNU M4 1.4 is required" >&2;} { (exit 1); exit 1; }; }fi## ----------- #### Man pages. #### ----------- ## ac_config_files="$ac_config_files man/Makefile"HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}## ------ #### Perl. #### ------ ### We use a path for perl so the #! line in autoscan will work.# Extract the first word of "perl", so it can be a program name with args.set dummy perl; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_path_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL="$PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedone test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" ;;esacfiPERL=$ac_cv_path_PERLif test -n "$PERL"; then echo "$as_me:$LINENO: result: $PERL" >&5echo "${ECHO_T}$PERL" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fiif test "$PERL" = no; then { { echo "$as_me:$LINENO: error: perl is not found" >&5echo "$as_me: error: perl is not found" >&2;} { (exit 1); exit 1; }; }fi$PERL -e 'require 5.005_03;' || { { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5echo "$as_me: error: Perl 5.005_03 or better is required" >&2;} { (exit 1); exit 1; }; }}## ------- #### Emacs. #### ------- ## ac_config_files="$ac_config_files lib/emacs/Makefile"TEST_EMACS=$EMACStest x"$TEST_EMACS" = xt && TEST_EMACS=for ac_prog in emacs xemacsdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_TEST_EMACS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$TEST_EMACS"; then ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_TEST_EMACS="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiTEST_EMACS=$ac_cv_prog_TEST_EMACSif test -n "$TEST_EMACS"; then echo "$as_me:$LINENO: result: $TEST_EMACS" >&5echo "${ECHO_T}$TEST_EMACS" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$TEST_EMACS" && breakdonetest -n "$TEST_EMACS" || TEST_EMACS="no"# autoconf-mode.el and autotest-mode.el do not work with older version of# Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:# "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"# We detect this problem here.if test "$TEST_EMACS" != no; then echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6if test "${ac_cv_prog_emacs_ok+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # Note: The quoted "EOF" is intentional. It protects the ` in the text. cat >conftest.el << "EOF" (defvar broken) (defun broken-mode () (setq broken-defaults `(broken nil)))EOF if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then ac_cv_prog_emacs_ok=yeselse ac_cv_prog_emacs_ok=nofi rm -f conftest.el conftest.elcfiecho "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6 if test $ac_cv_prog_emacs_ok = no; then TEST_EMACS=nofifiEMACS=$TEST_EMACSfor ac_prog in emacs xemacsdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_EMACS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$EMACS"; then ac_cv_prog_EMACS="$EMACS" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_EMACS="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiEMACS=$ac_cv_prog_EMACSif test -n "$EMACS"; then echo "$as_me:$LINENO: result: $EMACS" >&5echo "${ECHO_T}$EMACS" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$EMACS" && breakdonetest -n "$EMACS" || EMACS="no"# Check whether --with-lispdir or --without-lispdir was given.if test "${with_lispdir+set}" = set; then withval="$with_lispdir" lispdir="$withval" echo "$as_me:$LINENO: checking where .elc files should go" >&5echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $lispdir" >&5echo "${ECHO_T}$lispdir" >&6else # If set to t, that means we are running in a shell under Emacs. # If you have an Emacs named "t", then use the full path. test x"$EMACS" = xt && EMACS= echo "$as_me:$LINENO: checking where .elc files should go" >&5echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6if test "${am_cv_lispdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test $EMACS != "no"; then if test x${lispdir+set} != xset; then # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly # Some emacsen will start up in interactive mode, requiring C-x C-c to exit, # which is non-obvious for non-emacs users. # Redirecting /dev/null should help a bit; pity we can't detect "broken" # emacsen earlier and avoid running this altogether. { (echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } am_cv_lispdir=`sed -n \ -e 's,/$,,' \ -e '/.*\/lib\/x\?emacs\/site-lisp$/{s,.*/lib/\(x\?emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \ -e '/.*\/share\/x\?emacs\/site-lisp$/{s,.*/share/\(x\?emacs/site-lisp\),${datadir}/\1,;p;q;}' \ conftest.out` rm conftest.out fi fi test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'fiecho "$as_me:$LINENO: result: $am_cv_lispdir" >&5echo "${ECHO_T}$am_cv_lispdir" >&6 lispdir="$am_cv_lispdir"fi;## ------------ #### Conclusion. #### ------------ ## ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"cat >confcache <<\_ACEOF# 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, see configure's option --config-cache.# It is not useful on other systems. If it contains results you don't# want to keep, you may remove or edit it.## config.status only pays attention to the cache file if you give it# the --recheck option to rerun configure.## `ac_cv_env_foo' variables (set or unset) will be overridden when# loading this file, other *unset* `ac_cv_foo' will be assigned the# following values._ACEOF# 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 \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac;} | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcacheif diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file el
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -