📄 configure
字号:
-version | --version | --versio | --versi | --vers) echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) ac_package=`echo $ac_option|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries="$ac_optarg" ;; -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } ;; *) if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then echo "configure: warning: $ac_option: invalid host type" 1>&2 fi if test "x$nonopt" != xNONE; then { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } fi nonopt="$ac_option" ;; esacdoneif test -n "$ac_prev"; then { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }fitrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15# File descriptor usage:# 0 standard input# 1 file creation# 2 errors and warnings# 3 some systems may open it to /dev/tty# 4 used on the Kubota Titan# 6 checking for... messages and results# 5 compiler messages saved in config.logif test "$silent" = yes; then exec 6>/dev/nullelse exec 6>&1fiexec 5>./config.logecho "\This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake." 1>&5# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell metacharacters.ac_configure_args=for ac_argdo case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; esacdone# NLS nuisances.# Only set these to C if already set. These must not be set unconditionally# because not all systems understand e.g. LANG=C (notably SCO).# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!# Non-C LC_CTYPE values break the ctype check.if test "${LANG+set}" = set; then LANG=C; export LANG; fiif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fiif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fiif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# A filename unique to this package, relative to the directory that# configure is in, which we can look for to find out if srcdir is correct.ac_unique_file=# Find the source files, if location was not specified.if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fielse ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } else { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } fifisrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fififor ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then echo "loading site script $ac_site_file" . "$ac_site_file" fidoneac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossac_exeext=ac_objext=oif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fi # Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then enableval="$enable_echo" set -xfi# Check whether --enable-softerror or --disable-softerror was given.if test "${enable_softerror+set}" = set; then enableval="$enable_softerror" :else enable_softerror=nofiecho "Configuring Upshot with $ac_configure_args"## Find the home directory if not specifiedif test "X$srcdir" != "X." -a -s $srcdir/bin/upshot.in ; then top_srcdir_abs=$srcdirelse echo $ac_n "checking for current directory name""... $ac_c" 1>&6echo "configure:553: checking for current directory name" >&5top_srcdir_abs=$PWDif test "${top_srcdir_abs}" != "" -a -d "${top_srcdir_abs}" ; then if test -r ${top_srcdir_abs}/.foo$$ ; then /bin/rm -f ${top_srcdir_abs}/.foo$$ /bin/rm -f .foo$$ fi if test -r ${top_srcdir_abs}/.foo$$ -o -r .foo$$ ; then top_srcdir_abs= else echo "test" > ${top_srcdir_abs}/.foo$$ if test ! -r .foo$$ ; then /bin/rm -f ${top_srcdir_abs}/.foo$$ top_srcdir_abs= else /bin/rm -f ${top_srcdir_abs}/.foo$$ fi fifiif test "${top_srcdir_abs}" = "" ; then top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'`fiif test ! -r ${top_srcdir_abs}/bin/upshot.in ; then top_srcdir_abs=`pwd` if test ! -r ${top_srcdir_abs}/bin/upshot.in ; then print_error "Cannot determine the root directory!" exit 1 fi top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'` if test ! -d ${top_srcdir_abs} ; then print_error "Warning: your default path uses the automounter; this may" print_error "cause some problems if you use other NFS-connected systems." top_srcdir_abs=`pwd` fifiif test -z "${top_srcdir_abs}" ; then top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'` if test ! -d ${top_srcdir_abs} ; then print_error "Warning: your default path uses the automounter; this may" print_error "cause some problems if you use other NFS-connected systems." top_srcdir_abs=`pwd` fifiecho "$ac_t""${top_srcdir_abs}" 1>&6fiif test ! -d "$top_srcdir_abs" ; then if test "$enable_softerror" = "yes" ; then echo "configure: warning: *** $top_srcdir_abs is not a valid directory - cannot continue " 1>&2 exit 0else { echo "configure: error: *** $top_srcdir_abs is not a valid directory - cannot continue " 1>&2; exit 1; }fifi# Options to give hint about where Wish shell is locatedwishloc=""# Check whether --with-tcldir or --without-tcldir was given.if test "${with_tcldir+set}" = set; then withval="$with_tcldir" wishloc=$withval/bin/wishfi# Check whether --with-tkdir or --without-tkdir was given.if test "${with_tkdir+set}" = set; then withval="$with_tkdir" wishloc=$withval/bin/wishfi# Check whether --with-wish or --without-wish was given.if test "${with_wish+set}" = set; then withval="$with_wish" wishloc=$withvalfi# Fixup for makeMAKE=${MAKE:-make}echo $ac_n "checking gnumake""... $ac_c" 1>&6echo "configure:638: checking gnumake" >&5/bin/rm -f conftestcat > conftest <<.SHELL=/bin/shALL: @(dir=`pwd` ; cd .. ; \$(MAKE) -f \$\$dir/conftest SUB)SUB: @echo "success".str=`$MAKE -f conftest 2>&1`if test "$str" != "success" ; then str=`$MAKE --no-print-directory -f conftest 2>&1` if test "$str" = "success" ; then MAKE="$MAKE --no-print-directory" echo "$ac_t""yes using --no-print-directory" 1>&6 else echo "$ac_t""no" 1>&6 fielse echo "$ac_t""no" 1>&6fi/bin/rm -f confteststr=""echo $ac_n "checking BSD 4.4 make""... $ac_c" 1>&6echo "configure:664: checking BSD 4.4 make" >&5/bin/rm -f conftestcat > conftest <<.ALL: @echo "success".cat > conftest1 <<.include conftest.str=`$MAKE -f conftest1 2>&1`/bin/rm -f conftest conftest1if test "$str" != "success" ; then echo "$ac_t""Found BSD 4.4 so-called make" 1>&6 echo "The BSD 4.4 make is INCOMPATIBLE with all other makes." echo "Using this so-called make may cause problems when building programs." echo "You should consider using gnumake instead." else echo "$ac_t""no - whew" 1>&6fistr=""echo $ac_n "checking OSF V3 make""... $ac_c" 1>&6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -