📄 configure
字号:
# Try to filter out the broken RMIC from JDK-1.2 pre-releaseecho $ac_n "checking if $RMIC generates stub""... $ac_c" 1>&6echo "configure:1342: checking if $RMIC generates stub" >&5pac_RMIC="$RMIC"pac_JRFLAGS="-classpath $JAVA_LIBS:. -d . $JFLAGS"pac_JC="$JC"pac_JFLAGS="-classpath $JAVA_LIBS:. -d . $JFLAGS" rm -f conftest* cat > conftest_remote.java <<EOFimport java.rmi.*;public interface conftest_remote extends Remote{ public void remote_interface() throws RemoteException;}EOF cat > conftest_rmic.java <<EOFimport java.rmi.*;import java.rmi.server.*;public class conftest_rmic extends UnicastRemoteObject implements conftest_remote{ public conftest_rmic() throws RemoteException { super(); } public void remote_interface() throws RemoteException {}}EOF pac_jcompile='${pac_JC} ${pac_JFLAGS} conftest_remote.java conftest_rmic.java 1>&5' if { (eval echo configure:1371: \"$pac_jcompile\") 1>&5; (eval $pac_jcompile) 2>&5; } && test -s conftest_rmic.class ; then pac_jrmic='${pac_RMIC} ${pac_JRFLAGS} conftest_rmic 1>&5' if { (eval echo configure:1373: \"$pac_jrmic\") 1>&5; (eval $pac_jrmic) 2>&5; } && test -s conftest_rmic_Stub.class ; then rm -rf conftest* ; pac_java_working=yes else rm -rf conftest* ; pac_java_working=no fi else rm -rf conftest* ; pac_java_working=no fiif test "$pac_java_working" = "yes" ; then echo "$ac_t""yes, SLOG server will be built!" 1>&6else echo "$ac_t""no, SLOG server CANNOT be built!" 1>&6 RMIC=""fi# CHECK the version of Java used # Filter out the version of JDK that causes problemif test "$enable_checkversion" = "yes" ; then echo $ac_n "checking for Java version""... $ac_c" 1>&6echo "configure:1393: checking for Java version" >&5 VERSION=`$JAVA_HOME/bin/java -fullversion 2>&1` case "$VERSION" in *1.0*) echo "$ac_t""$VERSION, i.e. 1.0" 1>&6 echo "configure: warning: Java $VERSION is too old to be used with Jumpshot-3 !" 1>&2 if test "$enable_softerror" = "yes" ; then echo "configure: warning: Jumpshot-3 is designed to be used with Java 1.1.7 or better " 1>&2 exit 0else { echo "configure: error: Jumpshot-3 is designed to be used with Java 1.1.7 or better " 1>&2; exit 1; }fi ;; *1.1.1*|*1.1.2*|*1.1.3*|*1.1.4*) echo "$ac_t""$VERSION, i.e. older than 1.1.5" 1>&6 echo "configure: warning: Java $VERSION is too old to be used with Jumpshot-3 !" 1>&2 if test "$enable_softerror" = "yes" ; then echo "configure: warning: Jumpshot-3 is designed to be used with Java 1.1.7 or better " 1>&2 exit 0else { echo "configure: error: Jumpshot-3 is designed to be used with Java 1.1.7 or better " 1>&2; exit 1; }fi ;; *1.1.5*|*1.1.6*|*1.1.7*|*1.1.8*) echo "$ac_t""$VERSION, i.e. newer than 1.1.5" 1>&6 ;; *1.2*|*1.3*|*1.4*|*1.5*) echo "$ac_t""$VERSION, i.e. Java 2" 1>&6 ;; *) echo "$ac_t""$VERSION. Unknown" 1>&6 echo "configure: warning: Jumpshot-3 is designed to be used with Java 1.1, preferably 1.1.6 or better, + Swing 1.1.1, or Java 1.2 and above" 1>&2# PAC_MSG_ERROR($enable_softerror, [Check if $JAVA_HOME is valid]) ;; esacfiCPRP=cpRM=rmMKDIR=mkdir# VPATH build: Set the swingbuild_dir if JAVA 1.1 is usedif test "$enable_internalswing" = "yes" ; then if test -z "$swingbuild_dir" ; then swingbuild_dir="`pwd`/swing" fi if test ! -d $swingbuild_dir ; then echo "creating $swingbuild_dir from source" $CPRP -pr $srcdir/swing $swingbuild_dir fi if test -z "$SWING_LIBS" ; then SWING_LIBS="$swingbuild_dir/swing.jar:$swingbuild_dir/motif.jar" fi SWING_LIBRARIES=`echo $SWING_LIBS | sed 's/:/ /g'` for library in $SWING_LIBRARIES ; do echo $ac_n "checking for $library""... $ac_c" 1>&6echo "configure:1456: checking for $library" >&5 if test -f "$library" ; then echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 echo "configure: warning: $library in \$SWING_LIBS does NOT exist!" 1>&2 if test "$enable_softerror" = "yes" ; then echo "configure: warning: hence CLASSPATH cannot be set " 1>&2 exit 0else { echo "configure: error: hence CLASSPATH cannot be set " 1>&2; exit 1; }fi fi donefi## Naming the various build directories, don't inherit them from environment#rootbuild_dir=`pwd`for dir in lib doc logfiles bin etc share sbin ; do dirname=${dir}build_dir eval dirvalue=\$"$dirname" eval $dirname=$rootbuild_dir/$dirdone# VPATH build: Set the libbuild_dirif test ! -d $libbuild_dir ; then echo "creating $libbuild_dir from source" $CPRP -pr $srcdir/lib $libbuild_dirfi# VPATH build: Set the docbuild_dirif test ! -d $docbuild_dir ; then echo "creating $docbuild_dir from source" $CPRP -pr $srcdir/doc $docbuild_dir $RM -rf $docbuild_dir/oldfi# VPATH build: Set the logfilesbuild_dirif test ! -d $logfilesbuild_dir ; then echo "creating $logfilesbuild_dir from source" $CPRP -pr $srcdir/logfiles $logfilesbuild_dirfi# VPATH: Set the binbuild_dirif test ! -d $binbuild_dir ; then echo "creating directory $binbuild_dir" $MKDIR $binbuild_dirfi# VPATH build: Set the etcbuild_dirif test ! -d $etcbuild_dir ; then echo "creating $etcbuild_dir from source" $CPRP -pr $srcdir/etc $etcbuild_dirfi# VPATH build: Set the sharebuild_dirif test ! -d $sharebuild_dir ; then echo "creating $sharebuild_dir from source" $CPRP -pr $srcdir/share $sharebuild_dirfitrap '' 1 2 15trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15test "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'fitrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15# Transform confdefs.h into DEFS.# Protect against shell expansion while executing Makefile rules.# Protect against Makefile macro expansion.cat > conftest.defs <<\EOFs%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%gs%[ `~#$^&*(){}\\|;'"<>?]%\\&%gs%\[%\\&%gs%\]%\\&%gs%\$%$$%gEOFDEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`rm -f conftest.defs# Without the "./", some shells look in PATH for config.status.: ${CONFIG_STATUS=./config.status}echo creating $CONFIG_STATUSrm -f $CONFIG_STATUScat > $CONFIG_STATUS <<EOF#! /bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $ac_configure_args## Compiler output produced by configure, useful for debugging# configure, is in ./config.log if it exists.ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"for ac_optiondo case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; esacdoneac_given_srcdir=$srcdirtrap 'rm -fr `echo "jumpshot3.html Makefile src/Makefile src/slog_api/Makefile src/GraphicPreview/Makefile src/StatsViewer/Makefile src/main/Makefile bin/jumpshot bin/slog_print sbin/install-viewer sbin/exejar" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15EOFcat >> $CONFIG_STATUS <<EOF# Protect against being on the right side of a sed subst in config.status.sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF$ac_vpsub$extrasubs%@SHELL@%$SHELL%gs%@CFLAGS@%$CFLAGS%gs%@CPPFLAGS@%$CPPFLAGS%gs%@CXXFLAGS@%$CXXFLAGS%gs%@FFLAGS@%$FFLAGS%gs%@DEFS@%$DEFS%gs%@LDFLAGS@%$LDFLAGS%gs%@LIBS@%$LIBS%gs%@exec_prefix@%$exec_prefix%gs%@prefix@%$prefix%gs%@program_transform_name@%$program_transform_name%gs%@bindir@%$bindir%gs%@sbindir@%$sbindir%gs%@libexecdir@%$libexecdir%gs%@datadir@%$datadir%gs%@sysconfdir@%$sysconfdir%gs%@sharedstatedir@%$sharedstatedir%gs%@localstatedir@%$localstatedir%gs%@libdir@%$libdir%gs%@includedir@%$includedir%gs%@oldincludedir@%$oldincludedir%gs%@infodir@%$infodir%gs%@mandir@%$mandir%gs%@top_srcdir_abs@%$top_srcdir_abs%gs%@VPATH@%$VPATH%gs%@MAKE@%$MAKE%gs%@host@%$host%gs%@host_alias@%$host_alias%gs%@host_cpu@%$host_cpu%gs%@host_vendor@%$host_vendor%gs%@host_os@%$host_os%gs%@swingbuild_dir@%$swingbuild_dir%gs%@JAVA_HOME@%$JAVA_HOME%gs%@JAVA_LIBS@%$JAVA_LIBS%gs%@JFLAGS@%$JFLAGS%gs%@JC@%$JC%gs%@RMIC@%$RMIC%gs%@JAR@%$JAR%gs%@JVM@%$JVM%gs%@SWING_LIBS@%$SWING_LIBS%gs%@libbuild_dir@%$libbuild_dir%gs%@docbuild_dir@%$docbuild_dir%gs%@logfilesbuild_dir@%$logfilesbuild_dir%gs%@binbuild_dir@%$binbuild_dir%gs%@etcbuild_dir@%$etcbuild_dir%gs%@sharebuild_dir@%$sharebuild_dir%gs%@sbinbuild_dir@%$sbinbuild_dir%gCEOFEOFcat >> $CONFIG_STATUS <<\EOF# Split the substitutions into bite-sized pieces for seds with# small command number limits, like on Digital OSF/1 and HP-UX.ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.ac_file=1 # Number of current file.ac_beg=1 # First line for current file.ac_end=$ac_max_sed_cmds # Line after last line for current file.ac_more_lines=:ac_sed_cmds=""while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fidoneif test -z "$ac_sed_cmds"; then ac_sed_cmds=catfiEOFcat >> $CONFIG_STATUS <<EOFCONFIG_FILES=\${CONFIG_FILES-"jumpshot3.html Makefile src/Makefile src/slog_api/Makefile src/GraphicPreview/Makefile src/StatsViewer/Makefile src/main/Makefile bin/jumpshot bin/slog_print sbin/install-viewer sbin/exejar"}EOFcat >> $CONFIG_STATUS <<\EOFfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\# $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsubs%@configure_input@%$configure_input%gs%@srcdir@%$srcdir%gs%@top_srcdir@%$top_srcdir%g" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_filefi; donerm -f conftest.s*EOFcat >> $CONFIG_STATUS <<EOFEOFcat >> $CONFIG_STATUS <<\EOFexit 0EOFchmod +x $CONFIG_STATUSrm -fr confdefs* $ac_clean_filestest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1for script in "bin/jumpshot" "bin/slog_print" "sbin/install-viewer" "sbin/exejar"; do if test -f "$script" ; then chmod a+x $script else if test "$enable_softerror" = "yes" ; then echo "configure: warning: $script is not a valid file - Make sure you have configured with a valid Jumpshot-3 source directory " 1>&2 exit 0else { echo "configure: error: $script is not a valid file - Make sure you have configured with a valid Jumpshot-3 source directory " 1>&2; exit 1; }fi fidone
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -