📄 configure
字号:
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=nofi # Check whether --enable-g or --disable-g was given.if test "${enable_g+set}" = set; then enableval="$enable_g" :else enable_g=nofi# Check whether --enable-jdb or --disable-jdb was given.if test "${enable_jdb+set}" = set; then enableval="$enable_jdb" :else enable_jdb=nofi # Check whether --enable-checkversion or --disable-checkversion was given.if test "${enable_checkversion+set}" = set; then enableval="$enable_checkversion" :else enable_checkversion=yesfi# Check whether --with-common-prefix or --without-common-prefix was given.if test "${with_common_prefix+set}" = set; then withval="$with_common_prefix" :else with_common_prefix=NONEfiif test "$with_common_prefix" != "NONE" ; then prefix=$with_common_prefixfi echo "Configuring Jumpshot-2 with $ac_configure_args"## Find the home directory if not specifiedif test "X$srcdir" != "X." -a -s $srcdir/src/Makefile.in ; then top_srcdir_abs=$srcdirelse echo $ac_n "checking for current directory name""... $ac_c" 1>&6echo "configure:626: 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}/src/Makefile.in ; then top_srcdir_abs=`pwd` if test ! -r ${top_srcdir_abs}/src/Makefile.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>&6fi if test -z "$top_srcdir_abs" ; then top_srcdir_abs=`pwd`fiif 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 # Check whether --with-java or --without-java was given.if test "${with_java+set}" = set; then withval="$with_java" JAVA_HOME=$withvalelse JAVA_HOME=""fi # Check whether --with-java1 or --without-java1 was given.if test "${with_java1+set}" = set; then withval="$with_java1" JAVA_HOME=$withvalfi # Check whether --with-jflags or --without-jflags was given.if test "${with_jflags+set}" = set; then withval="$with_jflags" JFLAGS="$withval"fi# Append "-g" to JFLAGS if enable_g=yesif test $enable_g = "yes" -o $enable_jdb = "yes" ; then if test -z "`echo $JFLAGS | grep "\-g"`" ; then JFLAGS="-g $JFLAGS" fifi# Fixup for makeMAKE=${MAKE:-make}echo $ac_n "checking gnumake""... $ac_c" 1>&6echo "configure:724: 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:750: 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>&6echo "configure:774: checking OSF V3 make" >&5/bin/rm -f conftestcat > conftest <<.SHELL=/bin/shALL: @# This is a valid comment! @echo "success".str=`$MAKE -f conftest 2>&1`/bin/rm -f conftest if test "$str" != "success" ; then echo "$ac_t""Found OSF V3 make" 1>&6 echo "The OSF V3 make does not allow comments in target code." echo "Using this make may cause problems when building programs." echo "You should consider using gnumake instead." else echo "$ac_t""no" 1>&6fistr=""echo $ac_n "checking for virtual path format""... $ac_c" 1>&6echo "configure:798: checking for virtual path format" >&5rm -rf conftest*mkdir conftestdircat >conftestdir/a.c <<EOFA sample fileEOFcat > conftest <<EOFall: a.oVPATH=.:conftestdir.c.o: @echo \$<EOFac_out=`$MAKE -f conftest 2>&1 | grep 'conftestdir/a.c'`if test -n "$ac_out" ; then echo "$ac_t""VPATH" 1>&6 VPATH='VPATH=.:$(srcdir)'else rm -f conftest cat > conftest <<EOFall: a.o.PATH: . conftestdir.c.o: @echo \$<EOF ac_out=`$MAKE -f conftest 2>&1 | grep 'conftestdir/a.c'` if test -n "$ac_out" ; then echo "$ac_t"".PATH" 1>&6 VPATH='.PATH: . $(srcdir)' else echo "$ac_t""neither VPATH nor .PATH works" 1>&6 fifirm -rf conftest*# If we are relying on VPATH and no VPATH is set, then we must exitif test ! -s src/jumpshot.java -a -z "$VPATH" ; then { echo "configure: error: No virtual MAKE path command found. You may need to set your make command. The GNU make (sometimes available as gnumake) can be used." 1>&2; exit 1; }fi # Check if --without-java is specifiedif test "$JAVA_HOME" = "no" ; then if test "$enable_softerror" = "yes" ; then echo "configure: warning: --without-java is specified, exit! " 1>&2 exit 0else { echo "configure: error: --without-java is specified, exit! " 1>&2; exit 1; }fifi# FOUND_ENV_JAVA_HOME shows how JAVA_HOME is foundFOUND_ENV_JAVA_HOME=noif test -z "$JAVA_HOME" ; then# Locate Java from user's PATH
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -