📄 configure
字号:
{ { echo "$as_me:$LINENO: error: can not find install-sh or install.sh in .. $srcdir/.." >&5echo "$as_me: error: can not find install-sh or install.sh in .. $srcdir/.." >&2;} { (exit 1); exit 1; }; }fiac_config_guess=$ac_aux_dir/config.guessac_config_sub=$ac_aux_dir/config.subac_configure=$ac_aux_dir/configure # This should be Cygnus configure.# 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=${slog2_enable_softerror:-no}fi;# 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-checkversion or --disable-checkversion was given.if test "${enable_checkversion+set}" = set; then enableval="$enable_checkversion"else enable_checkversion=yesfi;echo "Configuring the Build of SLOG-2/Jumpshot-4 with $ac_configure_args"## Find the home directory if not specifiedif test "X$srcdir" != "X." -a -s $srcdir/base/drawable/Makefile.in ; then top_srcdir_abs=$srcdirelseecho "$as_me:$LINENO: checking for current directory name" >&5echo $ECHO_N "checking for current directory name... $ECHO_C" >&6top_srcdir_abs=$PWDif test "${top_srcdir_abs}" != "" -a -d "${top_srcdir_abs}" ; then if test -r ${top_srcdir_abs}/.foo$$ ; then rm -f ${top_srcdir_abs}/.foo$$ 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 rm -f ${top_srcdir_abs}/.foo$$ top_srcdir_abs= else 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}/base/drawable/Makefile.in ; then top_srcdir_abs=`pwd` if test ! -r ${top_srcdir_abs}/base/drawable/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 "$as_me:$LINENO: result: ${top_srcdir_abs}" >&5echo "${ECHO_T}${top_srcdir_abs}" >&6fiif test -z "$top_srcdir_abs" ; then top_srcdir_abs=`pwd`fiif test ! -d "$top_srcdir_abs" ; thenif test "$enable_softerror" = "yes" ; then { echo "$as_me:$LINENO: WARNING: *** $top_srcdir_abs is not a valid directory - cannot continue " >&5echo "$as_me: WARNING: *** $top_srcdir_abs is not a valid directory - cannot continue " >&2;} exit 0else { { echo "$as_me:$LINENO: error: *** $top_srcdir_abs is not a valid directory - cannot continue " >&5echo "$as_me: error: *** $top_srcdir_abs is not a valid directory - cannot continue " >&2;} { (exit 1); exit 1; }; }fifi# Cannot use JAVA_HOME here in this configure.in.# Because JAVA_HOME is used in Blackdown's .java_wrapper in jdk117_v3# Using JAVA_HOME here would mistakenly set some variable in .java_wrapper# when .java_wrapper is invoked. i.e. causes mysterious error in tests.# Check whether --with-java or --without-java was given.if test "${with_java+set}" = set; then withval="$with_java" JDK_TOPDIR=$withvalelse JDK_TOPDIR=""fi;# Check whether --with-java2 or --without-java2 was given.if test "${with_java2+set}" = set; then withval="$with_java2" JDK_TOPDIR=$withvalfi;# Check whether --with-jflags or --without-jflags was given.if test "${with_jflags+set}" = set; then withval="$with_jflags" JFLAGS="$withval"fi;# Check whether --enable-clog or --disable-clog was given.if test "${enable_clog+set}" = set; then enableval="$enable_clog"else enable_clog=yesfi;# Check whether --with-oldsource or --without-oldsource was given.if test "${with_oldsource+set}" = set; then withval="$with_oldsource" old_slog2srcdir="$withval"else old_slog2srcdir="old_src"fi;# Append "-g" to JFLAGS if enable_g=yesif test "$enable_g" = "yes" ; then if test -z "`echo $JFLAGS | grep "\-g"`" ; then JFLAGS="-g $JFLAGS" fifi# Fixup for makeMAKE=${MAKE:-make}echo "$as_me:$LINENO: checking gnumake" >&5echo $ECHO_N "checking gnumake... $ECHO_C" >&6rm -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 "$as_me:$LINENO: result: yes using --no-print-directory" >&5echo "${ECHO_T}yes using --no-print-directory" >&6 else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 fielse echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6firm -f confteststr=""echo "$as_me:$LINENO: checking BSD 4.4 make" >&5echo $ECHO_N "checking BSD 4.4 make... $ECHO_C" >&6rm -f conftestcat > conftest <<.ALL: @echo "success".cat > conftest1 <<.include conftest.str=`$MAKE -f conftest1 2>&1`rm -f conftest conftest1if test "$str" != "success" ; then echo "$as_me:$LINENO: result: Found BSD 4.4 so-called make" >&5echo "${ECHO_T}Found BSD 4.4 so-called make" >&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 "$as_me:$LINENO: result: no - whew" >&5echo "${ECHO_T}no - whew" >&6fistr=""echo "$as_me:$LINENO: checking OSF V3 make" >&5echo $ECHO_N "checking OSF V3 make... $ECHO_C" >&6rm -f conftestcat > conftest <<.SHELL=/bin/shALL: @# This is a valid comment! @echo "success".str=`$MAKE -f conftest 2>&1`rm -f conftestif test "$str" != "success" ; then echo "$as_me:$LINENO: result: Found OSF V3 make" >&5echo "${ECHO_T}Found OSF V3 make" >&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 "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fistr=""echo "$as_me:$LINENO: checking for virtual path format" >&5echo $ECHO_N "checking for virtual path format... $ECHO_C" >&6rm -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 "$as_me:$LINENO: result: VPATH" >&5echo "${ECHO_T}VPATH" >&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 "$as_me:$LINENO: result: .PATH" >&5echo "${ECHO_T}.PATH" >&6 VPATH='.PATH: . $(srcdir)' else echo "$as_me:$LINENO: result: neither VPATH nor .PATH works" >&5echo "${ECHO_T}neither VPATH nor .PATH works" >&6 fifirm -rf conftest*# If we are relying on VPATH and no VPATH is set, then we must exitif test ! -s base/drawable/TimeBoundingBox.java -a -z "$VPATH" ; then { { echo "$as_me:$LINENO: 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." >&5echo "$as_me: 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." >&2;} { (exit 1); exit 1; }; }fi# Check if --without-java is specifiedif test "$JDK_TOPDIR" = "no" ; thenif test "$enable_softerror" = "yes" ; then { echo "$as_me:$LINENO: WARNING: --without-java is specified, exit! " >&5echo "$as_me: WARNING: --without-java is specified, exit! " >&2;} exit 0else { { echo "$as_me:$LINENO: error: --without-java is specified, exit! " >&5echo "$as_me: error: --without-java is specified, exit! " >&2;} { (exit 1); exit 1; }; }fifiis_javac_working=noif test "x$JDK_TOPDIR" != "x" ; then JC="$JDK_TOPDIR/bin/javac" echo "$as_me:$LINENO: checking if $JC exists" >&5echo $ECHO_N "checking if $JC exists... $ECHO_C" >&6 if test -x "$JC" ; then echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 jac_javac_working=yes else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 jac_javac_working=no fi if test "$jac_javac_working" = "yes" ; then echo "$as_me:$LINENO: checking if $JC compiles" >&5echo $ECHO_N "checking if $JC compiles... $ECHO_C" >&6jac_JC="$JC"jac_JFLAGS="" rm -f conftest* cat > conftest.java <<EOFclass conftest { public static void main( String args[] ) { System.out.println( "Hello world" ); }}EOF jac_compile='${jac_JC} ${jac_JFLAGS} conftest.java 1>&5' if { (eval echo "$as_me:$LINENO: \"$jac_compile\"") >&5 (eval $jac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest.class ; then rm -rf conftest* ; jac_javac_working=yes else rm -rf conftest* ; jac_javac_working=no fi if test "$jac_javac_working" = "yes" ; then echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 fi fi if test "$jac_javac_working" = "yes" ; then echo "$as_me:$LINENO: checking if $JC accepts -classpath, -d & -sourcepath" >&5echo $ECHO_N "checking if $JC accepts -classpath, -d & -sourcepath... $ECHO_C" >&6jac_JC="$JC"jac_JFLAGS="-classpath . -d . -sourcepath ." rm -f conftest* cat > conftest.java <<EOFclass conftest { public static void main( String args[] ) { System.out.println( "Hello world" ); }}EOF jac_compile='${jac_JC} ${jac_JFLAGS} conftest.java 1>&5' if { (eval echo "$as_me:$LINENO: \"$jac_compile\"") >&5 (eval $jac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest.class ; then rm -rf conftest* ; jac_javac_working=yes else rm -rf conftest* ; jac_javac_working=no fi if test "$jac_javac_working" = "yes" ; then echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 fi fi if test "$jac_javac_working" = "yes" ; then echo "$as_me:$LINENO: checking if $JC understands List & Map" >&5echo $ECHO_N "checking if $JC understands List & Map... $ECHO_C" >&6jac_JC="$JC"jac_JFLAGS="-classpath . -d . -sourcepath ." rm -f conftest* cat > conftest.java <<EOF import java.util.List; import java.util.Map;class conftest {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -