From 7cb35fc948ae813771cc58520fc1aa554a06f1fd Mon Sep 17 00:00:00 2001 From: stefan Date: Sun, 15 Dec 2002 22:31:55 +0000 Subject: [PATCH] *** empty log message *** --- Makefile.in | 588 -------- aclocal.m4 | 129 -- alpha/Makefile.in | 171 --- comp/Makefile.in | 170 --- config.h.in | 96 -- configure | 2723 ----------------------------------- doc/Makefile.in | 169 --- jit/Makefile.in | 169 --- mips/Makefile.in | 170 --- mm/Makefile.in | 291 ---- narray/Makefile.in | 169 --- nat/Makefile.in | 167 --- tests/Makefile.in | 178 --- tests/jvm98/check.diff | 777 ++++++++++ tests/jvm98/compress.diff | 574 ++++++++ tests/jvm98/db.diff | 457 ++++++ tests/jvm98/javac.diff | 212 +++ tests/jvm98/mpegaudio.diff | 2752 ++++++++++++++++++++++++++++++++++++ tests/jvm98/raytrace.diff | 354 +++++ threads/Makefile.in | 281 ---- toolbox/Makefile.in | 283 ---- 21 files changed, 5126 insertions(+), 5754 deletions(-) delete mode 100644 Makefile.in delete mode 100644 aclocal.m4 delete mode 100644 alpha/Makefile.in delete mode 100644 comp/Makefile.in delete mode 100644 config.h.in delete mode 100755 configure delete mode 100644 doc/Makefile.in delete mode 100644 jit/Makefile.in delete mode 100644 mips/Makefile.in delete mode 100644 mm/Makefile.in delete mode 100644 narray/Makefile.in delete mode 100644 nat/Makefile.in delete mode 100644 tests/Makefile.in create mode 100644 tests/jvm98/check.diff create mode 100644 tests/jvm98/compress.diff create mode 100644 tests/jvm98/db.diff create mode 100644 tests/jvm98/javac.diff create mode 100644 tests/jvm98/mpegaudio.diff create mode 100644 tests/jvm98/raytrace.diff delete mode 100644 threads/Makefile.in delete mode 100644 toolbox/Makefile.in diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 6352b2669..000000000 --- a/Makefile.in +++ /dev/null @@ -1,588 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -# $Id: Makefile.in 164 2002-10-17 13:00:48Z stefan $ - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = . - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -MAINTAINERCLEANFILES = Makefile.in configure -SUBDIRS = toolbox mm alpha jit comp nat threads mips tst doc narray - -EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html - -CLEANFILES = @SYSDEP_DIR@/asmpart.o \ - @SYSDEP_DIR@/offsets.h \ - nativetable.hh \ - nativetypes.hh - -bin_PROGRAMS = cacao -noinst_PROGRAMS = cacaoh - -INCLUDES=-I/usr/include -I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir) - -cacao_SOURCES = \ - asmpart.h \ - builtin.c \ - builtin.h \ - callargs.h \ - @COMPILER_SOURCES@ \ - global.h \ - jit.c \ - jit.h \ - loader.c \ - loader.h \ - main.c \ - native.c \ - native.h \ - tables.c \ - tables.h - -EXTRA_cacao_SOURCES = \ - compiler.c \ - compiler.h - -cacao_LDADD = \ - @SYSDEP_DIR@/asmpart.o \ - @COMPILER_OBJECTS@ \ - toolbox/libtoolbox.a \ - @GC_OBJ@ \ - @THREAD_OBJ@ - -cacao_DEPENDENCIES = \ - @SYSDEP_DIR@/asmpart.o \ - @COMPILER_OBJECTS@ \ - toolbox/libtoolbox.a \ - @GC_OBJ@ \ - @THREAD_OBJ@ - -cacaoh_SOURCES = headers.c tables.c loader.c builtin.c -cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@ -cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@ -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -cacao_OBJECTS = builtin.o jit.o loader.o main.o native.o tables.o -cacao_LDFLAGS = -cacaoh_OBJECTS = headers.o tables.o loader.o builtin.o -cacaoh_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ -Makefile.in NEWS acconfig.h aclocal.m4 config.guess config.h.in \ -config.sub configure configure.in install-sh missing mkinstalldirs \ -stamp-h.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -DEP_FILES = .deps/builtin.P .deps/compiler.P .deps/headers.P \ -.deps/jit.P .deps/loader.P .deps/main.P .deps/native.P .deps/tables.P -SOURCES = $(cacao_SOURCES) $(EXTRA_cacao_SOURCES) $(cacaoh_SOURCES) -OBJECTS = $(cacao_OBJECTS) $(cacaoh_OBJECTS) - -all: all-recursive-am all-am - -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in - cd $(srcdir) && $(ACLOCAL) - -config.status: $(srcdir)/configure - $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) - cd $(srcdir) && $(AUTOCONF) - -config.h: stamp-h - @: -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES= CONFIG_HEADERS=config.h \ - $(SHELL) ./config.status - @echo timestamp > stamp-h -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h - cd $(top_srcdir) && $(AUTOHEADER) - @echo timestamp > $(srcdir)/stamp-h.in - -mostlyclean-hdr: - -clean-hdr: - -distclean-hdr: - -rm -f config.h - -maintainer-clean-hdr: - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ - done - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -cacao: $(cacao_OBJECTS) $(cacao_DEPENDENCIES) - @rm -f cacao - $(LINK) $(cacao_LDFLAGS) $(cacao_OBJECTS) $(cacao_LDADD) $(LIBS) - -cacaoh: $(cacaoh_OBJECTS) $(cacaoh_DEPENDENCIES) - @rm -f cacaoh - $(LINK) $(cacaoh_LDFLAGS) $(cacaoh_OBJECTS) $(cacaoh_LDADD) $(LIBS) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - target=`echo $@ | sed s/-recursive//`; \ - echo "Making $$target in $$subdir"; \ - (cd $$subdir && $(MAKE) $$target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - done; \ - for subdir in $$rev; do \ - target=`echo $@ | sed s/-recursive//`; \ - echo "Making $$target in $$subdir"; \ - (cd $$subdir && $(MAKE) $$target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - (cd $$subdir && $(MAKE) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - -rm -rf $(distdir) - GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) \ - && $(MAKE) dvi \ - && $(MAKE) check \ - && $(MAKE) install \ - && $(MAKE) installcheck \ - && $(MAKE) dist - -rm -rf $(distdir) - @echo "========================"; \ - echo "$(distdir).tar.gz is ready for distribution"; \ - echo "========================" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -distdir: $(DISTFILES) - -rm -rf $(distdir) - mkdir $(distdir) - -chmod 777 $(distdir) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile - $(mkinstalldirs) $(distdir)/html - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done - for subdir in $(SUBDIRS); do \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -maintainer-clean-depend: - -rm -rf .deps - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $< - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $< - @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \ - < .deps/$(*F).p > .deps/$(*F).P - @-rm -f .deps/$(*F).p -info: info-recursive -dvi: dvi-recursive -check: all-am - $(MAKE) check-recursive -installcheck: installcheck-recursive -all-recursive-am: config.h - $(MAKE) all-recursive - -all-am: Makefile $(PROGRAMS) config.h - -install-exec-am: install-binPROGRAMS - -uninstall-am: uninstall-binPROGRAMS - -install-exec: install-exec-recursive install-exec-am - @$(NORMAL_INSTALL) - -install-data: install-data-recursive - @$(NORMAL_INSTALL) - -install: install-recursive install-exec-am - @: - -uninstall: uninstall-recursive uninstall-am - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: installdirs-recursive - $(mkinstalldirs) $(DATADIR)$(bindir) - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ - mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \ - clean-compile clean-tags clean-depend clean-generic \ - mostlyclean-am - -distclean-am: distclean-hdr distclean-binPROGRAMS \ - distclean-noinstPROGRAMS distclean-compile \ - distclean-tags distclean-depend distclean-generic \ - clean-am - -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ - maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - -mostlyclean: mostlyclean-recursive mostlyclean-am - -clean: clean-recursive clean-am - -distclean: distclean-recursive distclean-am - -rm -f config.status - -maintainer-clean: maintainer-clean-recursive maintainer-clean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -rm -f config.status - -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ -mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info dvi installcheck all-recursive-am all-am \ -install-exec-am uninstall-am install-exec install-data install \ -uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh - -nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh: cacaoh - ./cacaoh \ - java.lang.Object \ - java.lang.String \ - java.lang.ClassLoader \ - java.lang.Class \ - java.lang.Compiler \ - java.lang.Integer \ - java.lang.Double \ - java.lang.Float \ - java.lang.Math \ - java.lang.Package \ - java.lang.Runtime \ - java.lang.SecurityManager \ - java.lang.Exception \ - java.io.PrintStream \ - java.io.InputStream \ - java.lang.System \ - java.lang.Thread \ - java.lang.ThreadGroup \ - java.lang.Throwable \ - java.lang.reflect.Array \ - java.lang.reflect.Constructor \ - java.lang.reflect.Field \ - java.lang.reflect.Method \ - java.lang.reflect.Modifier \ - java.io.FileDescriptor \ - java.io.FileInputStream \ - java.io.FileOutputStream \ - java.io.FileSystem \ - java.io.ObjectInputStream \ - java.io.ObjectStreamClass \ - java.io.RandomAccessFile \ - java.util.ResourceBundle \ - java.util.jar.JarFile \ - java.util.zip.Adler32 \ - java.util.zip.CRC32 \ - java.util.zip.Deflater \ - java.util.zip.Inflater \ - java.util.zip.ZipEntry \ - java.util.zip.ZipFile \ - java.util.Properties \ - java.util.Date \ - java.math.BigInteger \ - java.net.InetAddress \ - java.net.InetAddressImpl \ - java.net.DatagramPacket \ - java.net.PlainDatagramSocketImpl \ - java.net.SocketImpl \ - java.net.PlainSocketImpl \ - java.net.SocketInputStream \ - java.net.SocketOutputStream \ - java.security.PrivilegedActionException \ - java.security.PrivilegedAction \ - java.security.PrivilegedExceptionAction \ - java.security.AccessController \ - java.io.File \ - java.io.UnixFileSystem \ - java.lang.ClassLoader_NativeLibrary - -@SYSDEP_DIR@/asmpart.o: $(top_srcdir)/@SYSDEP_DIR@/asmpart.S @SYSDEP_DIR@/offsets.h - @CC@ $(INCLUDES) -c -g -o $@ $< - -compiler.o: $(top_srcdir)/builtin.h $(top_srcdir)/compiler.h \ - $(top_srcdir)/global.h $(top_srcdir)/loader.h \ - $(top_srcdir)/tables.h $(top_srcdir)/native.h \ - $(top_srcdir)/asmpart.h $(top_srcdir)/compiler.c $(top_srcdir)/comp/*.c \ - $(top_srcdir)/@SYSDEP_DIR@/gen.c $(top_srcdir)/@SYSDEP_DIR@/disass.c - @CC@ $(CFLAGS) -I. $(INCLUDES) -c $(top_srcdir)/compiler.c - -jit.o: jit.c \ - jit/mcode.c \ - jit/parse.c \ - jit/reg.c \ - jit/stack.c \ - jit/jitdef.h \ - narray/graph.c \ - narray/loop.c \ - narray/analyze.c \ - narray/tracing.c \ - narray/loop.h - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/aclocal.m4 b/aclocal.m4 deleted file mode 100644 index a2143ce4a..000000000 --- a/aclocal.m4 +++ /dev/null @@ -1,129 +0,0 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4a - -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - -# Do all the work for Automake. This macro actually does too much -- -# some checks are only needed if your package does certain things. -# But this isn't really a big deal. - -# serial 1 - -dnl Usage: -dnl AM_INIT_AUTOMAKE(package,version, [no-define]) - -AC_DEFUN(AM_INIT_AUTOMAKE, -[AC_REQUIRE([AC_PROG_INSTALL]) -dnl We require 2.13 because we rely on SHELL being computed by configure. -AC_PREREQ([2.13]) -PACKAGE=[$1] -AC_SUBST(PACKAGE) -VERSION=[$2] -AC_SUBST(VERSION) -dnl test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -fi -ifelse([$3],, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) -AC_REQUIRE([AM_SANITY_CHECK]) -AC_REQUIRE([AC_ARG_PROGRAM]) -dnl FIXME This is truly gross. -missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) -AC_REQUIRE([AC_PROG_MAKE_SET])]) - -# -# Check to make sure that the build environment is sane. -# - -AC_DEFUN(AM_SANITY_CHECK, -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftestfile -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` - if test "[$]*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "[$]*" != "X $srcdir/configure conftestfile" \ - && test "[$]*" != "X conftestfile $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "[$]2" = conftestfile - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -rm -f conftest* -AC_MSG_RESULT(yes)]) - -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) -dnl The program must properly implement --version. -AC_DEFUN(AM_MISSING_PROG, -[AC_MSG_CHECKING(for working $2) -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if ($2 --version) < /dev/null > /dev/null 2>&1; then - $1=$2 - AC_MSG_RESULT(found) -else - $1="$3/missing $2" - AC_MSG_RESULT(missing) -fi -AC_SUBST($1)]) - -# Like AC_CONFIG_HEADER, but automatically create stamp file. - -AC_DEFUN(AM_CONFIG_HEADER, -[AC_PREREQ([2.12]) -AC_CONFIG_HEADER([$1]) -dnl When config.status generates a header, we must update the stamp-h file. -dnl This file resides in the same directory as the config header -dnl that is generated. We must strip everything past the first ":", -dnl and everything past the last "/". -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, -<>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, -<>; do - case " <<$>>CONFIG_HEADERS " in - *" <<$>>am_file "*<<)>> - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx - ;; - esac - am_indx=`expr "<<$>>am_indx" + 1` -done<<>>dnl>>) -changequote([,]))]) - diff --git a/alpha/Makefile.in b/alpha/Makefile.in deleted file mode 100644 index d9d7b72dc..000000000 --- a/alpha/Makefile.in +++ /dev/null @@ -1,171 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST = asmpart.c disass.c cray.c gen.c ngen.c \ - defines.h native-math.h ngen.h sigcontext.h \ - types.h threads.h -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu alpha/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = alpha - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu alpha/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/comp/Makefile.in b/comp/Makefile.in deleted file mode 100644 index f238e75dd..000000000 --- a/comp/Makefile.in +++ /dev/null @@ -1,170 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST = block.c local.c parse.c reg.c stack.c var.c \ - defines.c mcode.c pcmd.c regalloc.c tools.c -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu comp/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = comp - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu comp/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/config.h.in b/config.h.in deleted file mode 100644 index 448cad78b..000000000 --- a/config.h.in +++ /dev/null @@ -1,96 +0,0 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define to empty if the keyword does not work. */ -#undef const - -/* Define if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline - -/* Define to `long' if doesn't define. */ -#undef off_t - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define to `unsigned' if doesn't define. */ -#undef size_t - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME - -/* Define if your declares struct tm. */ -#undef TM_IN_SYS_TIME - -/* Define if mman.h defines MAP_FAILED */ -#undef HAVE_MAP_FAILED - -/* Define if mman.h defines MAP_ANONYMOUS */ -#undef HAVE_MAP_ANONYMOUS - -/* Define to include thread support */ -#undef USE_THREADS -#undef EXTERNAL_OVERFLOW -#undef DONT_FREE_FIRST - -/* sysdep */ -#undef SYSDEP_DIR - -#undef OLD_COMPILER - -/* Define if you have the getcwd function. */ -#undef HAVE_GETCWD - -/* Define if you have the getpagesize function. */ -#undef HAVE_GETPAGESIZE - -/* Define if you have the gettimeofday function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define if you have the mkdir function. */ -#undef HAVE_MKDIR - -/* Define if you have the mktime function. */ -#undef HAVE_MKTIME - -/* Define if you have the select function. */ -#undef HAVE_SELECT - -/* Define if you have the socket function. */ -#undef HAVE_SOCKET - -/* Define if you have the header file. */ -#undef HAVE_DIRENT_H - -/* Define if you have the header file. */ -#undef HAVE_FCNTL_H - -/* Define if you have the header file. */ -#undef HAVE_NDIR_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_DIR_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_NDIR_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_TIME_H - -/* Define if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the m library (-lm). */ -#undef HAVE_LIBM - -/* Name of package */ -#undef PACKAGE - -/* Version number of package */ -#undef VERSION - diff --git a/configure b/configure deleted file mode 100755 index 2de24052d..000000000 --- a/configure +++ /dev/null @@ -1,2723 +0,0 @@ -#! /bin/sh - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_default_prefix=/usr/local/cacao -ac_help="$ac_help - --enable-threads enable threads support" -ac_help="$ac_help - --enable-gc2 enable new garbage collector" - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 - -ac_prev= -for ac_option -do - - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case "$ac_option" in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "enable_${ac_feature}='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -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" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap '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.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running 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_arg -do - 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" ;; - esac -done - -# 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; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if 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=compiler.c - -# 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=.. - fi -else - ac_srcdir_defaulted=no -fi -if 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; } - fi -fi -srcdir=`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" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -ac_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_cross - -ac_exeext= -ac_objext=o -if (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= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - -ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - - -# Make sure we can run config.sub. -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } -fi - -echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:556: checking host system type" >&5 - -host_alias=$host -case "$host_alias" in -NONE) - case $nonopt in - NONE) - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } - fi ;; - *) host_alias=$nonopt ;; - esac ;; -esac - -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$host" 1>&6 - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:589: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL="$ac_install_sh" - fi -fi -echo "$ac_t""$INSTALL" 1>&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:642: checking whether build environment is sane" >&5 -# Just in case -sleep 1 -echo timestamp > conftestfile -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` - fi - if test "$*" != "X $srcdir/configure conftestfile" \ - && test "$*" != "X conftestfile $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" 1>&2; exit 1; } - fi - - test "$2" = conftestfile - ) -then - # Ok. - : -else - { echo "configure: error: newly created file is older than distributed files! -Check your system clock" 1>&2; exit 1; } -fi -rm -f conftest* -echo "$ac_t""yes" 1>&6 -if test "$program_transform_name" = s,x,x,; then - program_transform_name= -else - # Double any \ or $. echo might interpret backslashes. - cat <<\EOF_SED > conftestsed -s,\\,\\\\,g; s,\$,$$,g -EOF_SED - program_transform_name="`echo $program_transform_name|sed -f conftestsed`" - rm -f conftestsed -fi -test "$program_prefix" != NONE && - program_transform_name="s,^,${program_prefix},; $program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" - -# sed with no file args requires a program. -test "$program_transform_name" = "" && program_transform_name="s,x,x," - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:699: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes -else - eval ac_cv_prog_make_${ac_make}_set=no -fi -rm -f conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - - - -PACKAGE=cacao - -VERSION=0.40 - -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } -fi -cat >> confdefs.h <> confdefs.h <&6 -echo "configure:746: checking for working aclocal" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal - echo "$ac_t""found" 1>&6 -else - ACLOCAL="$missing_dir/missing aclocal" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:759: checking for working autoconf" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoconf --version) < /dev/null > /dev/null 2>&1; then - AUTOCONF=autoconf - echo "$ac_t""found" 1>&6 -else - AUTOCONF="$missing_dir/missing autoconf" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:772: checking for working automake" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake - echo "$ac_t""found" 1>&6 -else - AUTOMAKE="$missing_dir/missing automake" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:785: checking for working autoheader" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoheader --version) < /dev/null > /dev/null 2>&1; then - AUTOHEADER=autoheader - echo "$ac_t""found" 1>&6 -else - AUTOHEADER="$missing_dir/missing autoheader" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:798: checking for working makeinfo" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then - MAKEINFO=makeinfo - echo "$ac_t""found" 1>&6 -else - MAKEINFO="$missing_dir/missing makeinfo" - echo "$ac_t""missing" 1>&6 -fi - - - - - - - - - -case "$host_cpu" in -alpha* ) - SYSDEP_DIR="alpha" - CFLAGS="-ieee -O2 -g3" - COMPILER_SOURCES="compiler.h compiler.c" - COMPILER_OBJECTS="compiler.o" - cat >> confdefs.h <<\EOF -#define OLD_COMPILER 1 -EOF - - ;; - -mips* ) - SYSDEP_DIR="mips" - CFLAGS="-64 -g -DMAP_ANONYMOUS=0 -woff 1048,1110,1164,1515" - LIBS="-lelfutil" - COMPILER_SOURCES="" - COMPILER_OBJECTS="" - ;; - -sparc* | powerpc* | ppc* | * ) - { echo "configure: error: $host-cpu systems are not supported at this time" 1>&2; exit 1; } ;; - -esac - - - - -cat >> confdefs.h <&6 -echo "configure:855: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:885: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# -gt 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:936: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:968: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_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_cross - -cat > conftest.$ac_ext << EOF - -#line 979 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_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_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1010: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1015: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi - -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1077: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - -echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 -echo "configure:1106: checking for sin in -lm" >&5 -ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lm $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <&6 -fi - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:1158: checking for $ac_hdr that defines DIR" >&5 -if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include <$ac_hdr> -int main() { -DIR *dirp = 0; -; return 0; } -EOF -if { (eval echo configure:1171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_dirent_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then -echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:1196: checking for opendir in -ldir" >&5 -ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-ldir $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -ldir" -else - echo "$ac_t""no" 1>&6 -fi - -else -echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:1237: checking for opendir in -lx" >&5 -ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lx $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lx" -else - echo "$ac_t""no" 1>&6 -fi - -fi - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1279: checking how to run the C preprocessor" >&5 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP="${CC-cc} -nologo -E" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi - CPP="$ac_cv_prog_CPP" -else - ac_cv_prog_CPP="$CPP" -fi -echo "$ac_t""$CPP" 1>&6 - -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1359: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#include -#include -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - ac_cv_header_stdc=yes -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : -else - rm -rf conftest* - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then - : -else - cat > conftest.$ac_ext < -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } - -EOF -if { (eval echo configure:1439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no -fi -rm -fr conftest* -fi - -fi -fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then - cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 -EOF - -fi - -for ac_hdr in fcntl.h sys/time.h unistd.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1466: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done - - -echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:1504: checking for working const" >&5 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <j = 5; -} -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; -} - -; return 0; } -EOF -if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_const=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_c_const=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_c_const" 1>&6 -if test $ac_cv_c_const = no; then - cat >> confdefs.h <<\EOF -#define const -EOF - -fi - -echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:1579: checking for inline" >&5 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_c_inline=$ac_kw; break -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 -fi -rm -f conftest* -done - -fi - -echo "$ac_t""$ac_cv_c_inline" 1>&6 -case "$ac_cv_c_inline" in - inline | yes) ;; - no) cat >> confdefs.h <<\EOF -#define inline -EOF - ;; - *) cat >> confdefs.h <&6 -echo "configure:1619: checking for off_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_off_t=yes -else - rm -rf conftest* - ac_cv_type_off_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_off_t" 1>&6 -if test $ac_cv_type_off_t = no; then - cat >> confdefs.h <<\EOF -#define off_t long -EOF - -fi - -echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:1652: checking for size_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_size_t=yes -else - rm -rf conftest* - ac_cv_type_size_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_size_t" 1>&6 -if test $ac_cv_type_size_t = no; then - cat >> confdefs.h <<\EOF -#define size_t unsigned -EOF - -fi - -echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:1685: checking whether time.h and sys/time.h may both be included" >&5 -if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#include -int main() { -struct tm *tp; -; return 0; } -EOF -if { (eval echo configure:1699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_header_time=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_header_time=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_header_time" 1>&6 -if test $ac_cv_header_time = yes; then - cat >> confdefs.h <<\EOF -#define TIME_WITH_SYS_TIME 1 -EOF - -fi - -echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:1720: checking whether struct tm is in sys/time.h or time.h" >&5 -if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -int main() { -struct tm *tp; tp->tm_sec; -; return 0; } -EOF -if { (eval echo configure:1733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_struct_tm=time.h -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_struct_tm=sys/time.h -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_struct_tm" 1>&6 -if test $ac_cv_struct_tm = sys/time.h; then - cat >> confdefs.h <<\EOF -#define TM_IN_SYS_TIME 1 -EOF - -fi - - -if test $ac_cv_prog_gcc = yes; then - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1756: checking whether ${CC-cc} needs -traditional" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_pattern="Autoconf.*'x'" - cat > conftest.$ac_ext < -Autoconf TIOCGETP -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - - - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext < -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -fi -rm -f conftest* - - fi -fi - -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi - -echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 -echo "configure:1802: checking for 8-bit clean memcmp" >&5 -if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_memcmp_clean=no -else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_func_memcmp_clean=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_func_memcmp_clean=no -fi -rm -fr conftest* -fi - -fi - -echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6 -test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" - -for ac_hdr in unistd.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1841: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -fi -done - -for ac_func in getpagesize -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1880: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - -echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:1933: checking for working mmap" >&5 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_mmap_fixed_mapped=no -else - cat > conftest.$ac_ext < -#include -#include - -/* This mess was copied from the GNU getpagesize.h. */ -#ifndef HAVE_GETPAGESIZE -# ifdef HAVE_UNISTD_H -# include -# endif - -/* Assume that all systems that can run configure have sys/param.h. */ -# ifndef HAVE_SYS_PARAM_H -# define HAVE_SYS_PARAM_H 1 -# endif - -# ifdef _SC_PAGESIZE -# define getpagesize() sysconf(_SC_PAGESIZE) -# else /* no _SC_PAGESIZE */ -# ifdef HAVE_SYS_PARAM_H -# include -# ifdef EXEC_PAGESIZE -# define getpagesize() EXEC_PAGESIZE -# else /* no EXEC_PAGESIZE */ -# ifdef NBPG -# define getpagesize() NBPG * CLSIZE -# ifndef CLSIZE -# define CLSIZE 1 -# endif /* no CLSIZE */ -# else /* no NBPG */ -# ifdef NBPC -# define getpagesize() NBPC -# else /* no NBPC */ -# ifdef PAGESIZE -# define getpagesize() PAGESIZE -# endif /* PAGESIZE */ -# endif /* no NBPC */ -# endif /* no NBPG */ -# endif /* no EXEC_PAGESIZE */ -# else /* no HAVE_SYS_PARAM_H */ -# define getpagesize() 8192 /* punt totally */ -# endif /* no HAVE_SYS_PARAM_H */ -# endif /* no _SC_PAGESIZE */ - -#endif /* no HAVE_GETPAGESIZE */ - -#ifdef __cplusplus -extern "C" { void *malloc(unsigned); } -#else -char *malloc(); -#endif - -int -main() -{ - char *data, *data2, *data3; - int i, pagesize; - int fd; - - pagesize = getpagesize(); - - /* - * First, make a file with some known garbage in it. - */ - data = malloc(pagesize); - if (!data) - exit(1); - for (i = 0; i < pagesize; ++i) - *(data + i) = rand(); - umask(0); - fd = creat("conftestmmap", 0600); - if (fd < 0) - exit(1); - if (write(fd, data, pagesize) != pagesize) - exit(1); - close(fd); - - /* - * Next, try to mmap the file at a fixed address which - * already has something else allocated at it. If we can, - * also make sure that we see the same garbage. - */ - fd = open("conftestmmap", O_RDWR); - if (fd < 0) - exit(1); - data2 = malloc(2 * pagesize); - if (!data2) - exit(1); - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, - MAP_PRIVATE | MAP_FIXED, fd, 0L)) - exit(1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data2 + i)) - exit(1); - - /* - * Finally, make sure that changes to the mapped area - * do not percolate back to the file as seen by read(). - * (This is a bug on some variants of i386 svr4.0.) - */ - for (i = 0; i < pagesize; ++i) - *(data2 + i) = *(data2 + i) + 1; - data3 = malloc(pagesize); - if (!data3) - exit(1); - if (read(fd, data3, pagesize) != pagesize) - exit(1); - for (i = 0; i < pagesize; ++i) - if (*(data + i) != *(data3 + i)) - exit(1); - close(fd); - unlink("conftestmmap"); - exit(0); -} - -EOF -if { (eval echo configure:2081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ac_cv_func_mmap_fixed_mapped=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_func_mmap_fixed_mapped=no -fi -rm -fr conftest* -fi - -fi - -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 -if test $ac_cv_func_mmap_fixed_mapped = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MMAP 1 -EOF - -fi - -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2104: checking return type of signal handlers" >&5 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -#ifdef signal -#undef signal -#endif -#ifdef __cplusplus -extern "C" void (*signal (int, void (*)(int)))(int); -#else -void (*signal ()) (); -#endif - -int main() { -int i; -; return 0; } -EOF -if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_type_signal=void -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_type_signal=int -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_type_signal" 1>&6 -cat >> confdefs.h <&6 -echo "configure:2147: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - - -if test $ac_cv_func_mmap_fixed_mapped = yes; then - echo $ac_n "checking whether MAP_FAILED is defined""... $ac_c" 1>&6 -echo "configure:2202: checking whether MAP_FAILED is defined" >&5 -if eval "test \"`echo '$''{'ac_cv_map_failed'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < - #ifdef MAP_FAILED - yes - #endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_map_failed=yes -else - rm -rf conftest* - ac_cv_map_failed=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_map_failed" 1>&6 - - echo $ac_n "checking whether MAP_ANONYMOUS is defined""... $ac_c" 1>&6 -echo "configure:2229: checking whether MAP_ANONYMOUS is defined" >&5 -if eval "test \"`echo '$''{'ac_cv_map_anonymous'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < - #ifdef MAP_ANONYMOUS - yes - #endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_map_anonymous=yes -else - rm -rf conftest* - ac_cv_map_anonymous=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_map_anonymous" 1>&6 - - if test $ac_cv_map_failed = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MAP_FAILED 1 -EOF - - fi - - if test $ac_cv_map_anonymous = yes; then - cat >> confdefs.h <<\EOF -#define HAVE_MAP_ANONYMOUS 1 -EOF - - fi -fi - - - -# Check whether --enable-threads or --disable-threads was given. -if test "${enable_threads+set}" = set; then - enableval="$enable_threads" - : -fi - -# Check whether --enable-gc2 or --disable-gc2 was given. -if test "${enable_gc2+set}" = set; then - enableval="$enable_gc2" - : -fi - - -echo $ac_n "checking whether to include threads support""... $ac_c" 1>&6 -echo "configure:2286: checking whether to include threads support" >&5 -if test x"$enable_threads" = "xno"; then - echo "$ac_t""no" 1>&6 -else - echo "$ac_t""yes" 1>&6 - - cat >> confdefs.h <<\EOF -#define USE_THREADS 1 -EOF - - cat >> confdefs.h <<\EOF -#define EXTERNAL_OVERFLOW 1 -EOF - - cat >> confdefs.h <<\EOF -#define DONT_FREE_FIRST 1 -EOF - - - LIBTHREAD="libthreads.a" - THREAD_OBJ="threads/libthreads.a" - - -fi - -echo $ac_n "checking which garbage collector to use""... $ac_c" 1>&6 -echo "configure:2312: checking which garbage collector to use" >&5 -if test x"$enable_gc2" = "xno"; then - echo "$ac_t""old garbage collector" 1>&6 - GC_OBJ="mm/libmm_old.a" -else - echo "$ac_t""new garbage collector" 1>&6 - GC_OBJ="mm/libmm_new.a" -fi - - - -trap '' 1 2 15 -cat > confcache <<\EOF -# 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. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -EOF -# 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 \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else - if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -test "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' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - -DEFS=-DHAVE_CONFIG_H - -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS </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_option -do - 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 ;; - esac -done - -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" - -trap 'rm -fr `echo "Makefile \ - toolbox/Makefile \ - mm/Makefile \ - threads/Makefile \ - jit/Makefile \ - alpha/Makefile \ - mips/Makefile \ - nat/Makefile \ - doc/Makefile \ - comp/Makefile \ - narray/Makefile \ - tst/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@SHELL@%$SHELL%g -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@FFLAGS@%$FFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@host@%$host%g -s%@host_alias@%$host_alias%g -s%@host_cpu@%$host_cpu%g -s%@host_vendor@%$host_vendor%g -s%@host_os@%$host_os%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@PACKAGE@%$PACKAGE%g -s%@VERSION@%$VERSION%g -s%@ACLOCAL@%$ACLOCAL%g -s%@AUTOCONF@%$AUTOCONF%g -s%@AUTOMAKE@%$AUTOMAKE%g -s%@AUTOHEADER@%$AUTOHEADER%g -s%@MAKEINFO@%$MAKEINFO%g -s%@SET_MAKE@%$SET_MAKE%g -s%@COMPILER_SOURCES@%$COMPILER_SOURCES%g -s%@COMPILER_OBJECTS@%$COMPILER_OBJECTS%g -s%@SYSDEP_DIR@%$SYSDEP_DIR%g -s%@CC@%$CC%g -s%@RANLIB@%$RANLIB%g -s%@CPP@%$CPP%g -s%@LIBOBJS@%$LIBOBJS%g -s%@LIBTHREAD@%$LIBTHREAD%g -s%@THREAD_OBJ@%$THREAD_OBJ%g -s%@GC_OBJ@%$GC_OBJ%g - -CEOF -EOF - -cat >> $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` - fi -done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi -EOF - -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for 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 - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - 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_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where -# NAME is the cpp macro being defined and VALUE is the value it is being given. -# -# ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' -ac_dC='\3' -ac_dD='%g' -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='\([ ]\)%\1#\2define\3' -ac_uC=' ' -ac_uD='\4%g' -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_eB='$%\1#\2define\3' -ac_eC=' ' -ac_eD='%g' - -if test "${CONFIG_HEADERS+set}" != set; then -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -fi -for ac_file in .. $CONFIG_HEADERS; 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 - - echo creating $ac_file - - rm -f conftest.frag conftest.in conftest.out - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - cat $ac_file_inputs > conftest.in - -EOF - -# Transform confdefs.h into a sed script conftest.vals that substitutes -# the proper values into config.h.in to produce config.h. And first: -# Protect against being on the right side of a sed subst in config.status. -# Protect against being in an unquoted here document in config.status. -rm -f conftest.vals -cat > conftest.hdr <<\EOF -s/[\\&%]/\\&/g -s%[\\$`]%\\&%g -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp -s%ac_d%ac_u%gp -s%ac_u%ac_e%gp -EOF -sed -n -f conftest.hdr confdefs.h > conftest.vals -rm -f conftest.hdr - -# This sed command replaces #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -cat >> conftest.vals <<\EOF -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% -EOF - -# Break up conftest.vals because some shells have a limit on -# the size of here documents, and old seds have small limits too. - -rm -f conftest.tail -while : -do - ac_lines=`grep -c . conftest.vals` - # grep -c gives empty output for an empty file on some AIX systems. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi - # Write a limited-size here document to conftest.frag. - echo ' cat > conftest.frag <> $CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS - echo 'CEOF - sed -f conftest.frag conftest.in > conftest.out - rm -f conftest.in - mv conftest.out conftest.in -' >> $CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail - rm -f conftest.vals - mv conftest.tail conftest.vals -done -rm -f conftest.vals - -cat >> $CONFIG_STATUS <<\EOF - rm -f conftest.frag conftest.h - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h - cat conftest.in >> conftest.h - rm -f conftest.in - if cmp -s $ac_file conftest.h 2>/dev/null; then - echo "$ac_file is unchanged" - rm -f conftest.h - else - # 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" - fi - rm -f $ac_file - mv conftest.h $ac_file - fi -fi; done - -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h - -exit 0 -EOF -chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 - diff --git a/doc/Makefile.in b/doc/Makefile.in deleted file mode 100644 index 40189113c..000000000 --- a/doc/Makefile.in +++ /dev/null @@ -1,169 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST=collect.doc thread.tex cacao.1 gen.doc -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = doc - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/jit/Makefile.in b/jit/Makefile.in deleted file mode 100644 index 72b1e7948..000000000 --- a/jit/Makefile.in +++ /dev/null @@ -1,169 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST = mcode.c parse.c reg.c stack.c jitdef.h -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu jit/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = jit - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu jit/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mips/Makefile.in b/mips/Makefile.in deleted file mode 100644 index 6a49b83e4..000000000 --- a/mips/Makefile.in +++ /dev/null @@ -1,170 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST = asmpart.c calling.doc defines.h disass.c \ - native-math.h ngen.c ngen.h threads.h types.h -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mips/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mips - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mips/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mm/Makefile.in b/mm/Makefile.in deleted file mode 100644 index e6422d653..000000000 --- a/mm/Makefile.in +++ /dev/null @@ -1,291 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -noinst_LIBRARIES = libmm_new.a libmm_old.a - -libmm_new_a_SOURCES = allocator2.c allocator.h \ - bitmap2.c bitmap2.h \ - heap2.c \ - lifespan.c lifespan.h \ - mm.h -libmm_old_a_SOURCES = heap.old.c - -INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/@SYSDEP_DIR@ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -LIBRARIES = $(noinst_LIBRARIES) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libmm_new_a_LIBADD = -libmm_new_a_OBJECTS = allocator2.o bitmap2.o heap2.o lifespan.o -libmm_old_a_LIBADD = -libmm_old_a_OBJECTS = heap.old.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -DEP_FILES = .deps/allocator2.P .deps/bitmap2.P .deps/heap.old.P \ -.deps/heap2.P .deps/lifespan.P -SOURCES = $(libmm_new_a_SOURCES) $(libmm_old_a_SOURCES) -OBJECTS = $(libmm_new_a_OBJECTS) $(libmm_old_a_OBJECTS) - -all: Makefile $(LIBRARIES) - -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mm/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: - -clean-noinstLIBRARIES: - -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -libmm_new.a: $(libmm_new_a_OBJECTS) $(libmm_new_a_DEPENDENCIES) - -rm -f libmm_new.a - $(AR) cru libmm_new.a $(libmm_new_a_OBJECTS) $(libmm_new_a_LIBADD) - $(RANLIB) libmm_new.a - -libmm_old.a: $(libmm_old_a_OBJECTS) $(libmm_old_a_DEPENDENCIES) - -rm -f libmm_old.a - $(AR) cru libmm_old.a $(libmm_old_a_OBJECTS) $(libmm_old_a_LIBADD) - $(RANLIB) libmm_old.a - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mm - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mm/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -maintainer-clean-depend: - -rm -rf .deps - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $< - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $< - @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \ - < .deps/$(*F).p > .deps/$(*F).P - @-rm -f .deps/$(*F).p -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -clean: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ - clean-generic mostlyclean - -distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \ - distclean-depend distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info dvi \ -installcheck install-exec install-data install uninstall all \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/narray/Makefile.in b/narray/Makefile.in deleted file mode 100644 index 9b36b21bd..000000000 --- a/narray/Makefile.in +++ /dev/null @@ -1,169 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST = graph.c loop.c analyze.c tracing.c loop.h -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu narray/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = narray - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu narray/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/nat/Makefile.in b/nat/Makefile.in deleted file mode 100644 index 10f318f6f..000000000 --- a/nat/Makefile.in +++ /dev/null @@ -1,167 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu nat/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = nat - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu nat/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/tests/Makefile.in b/tests/Makefile.in deleted file mode 100644 index 2b30d9c95..000000000 --- a/tests/Makefile.in +++ /dev/null @@ -1,178 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -EXTRA_DIST = x.java x.output -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -all: Makefile - -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu tst/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -tags: TAGS -TAGS: - - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = tst - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu tst/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-generic - -clean: clean-generic mostlyclean - -distclean: distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-generic distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: tags distdir info dvi installcheck install-exec install-data \ -install uninstall all installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean - - -check: - ../cacao -ieee sun.tools.javac.Main x.java - ../cacao x >x.thisoutput - @if test "`diff --brief x.thisoutput x.output`" = ""; then \ - echo "*** Test completed successfully"; \ - else \ - echo "*** Test failed"; fi; - @rm -f x.thisoutput - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/tests/jvm98/check.diff b/tests/jvm98/check.diff new file mode 100644 index 000000000..5a6fb337f --- /dev/null +++ b/tests/jvm98/check.diff @@ -0,0 +1,777 @@ +diff -u check1/FloatingPointCheck.java check/FloatingPointCheck.java +--- check1/FloatingPointCheck.java Wed Jun 17 22:14:10 1998 ++++ check/FloatingPointCheck.java Fri Oct 25 16:11:23 2002 +@@ -47,9 +47,6 @@ + * End of sample execution + */ + +-package spec.benchmarks._200_check; +-import spec.harness.Context; +- + public class FloatingPointCheck { + + // Level of print output produced +@@ -97,21 +94,21 @@ + if (check != 0.0) { + error = true; + if (print) { +- Context.out.println("Ooops: double range too big near 0"); ++ System.out.println("Ooops: double range too big near 0"); + } + } + + if (print && verbose) { + // Some diagnostics +- Context.out.println(" tiny: " + ++ System.out.println(" tiny: " + + doubleTiny); +- Context.out.println(" tiny/small: " + ++ System.out.println(" tiny/small: " + + (doubleTiny/doubleSmall)); +- Context.out.println(" (tiny/small)*big: " + ++ System.out.println(" (tiny/small)*big: " + + ((doubleTiny/doubleSmall)*doubleBig)); +- Context.out.println(" MIN_VALUE*big: " + ++ System.out.println(" MIN_VALUE*big: " + + (Double.MIN_VALUE*doubleBig)); +- Context.out.println(" (tiny*big)/small: " + ++ System.out.println(" (tiny*big)/small: " + + ((doubleTiny*doubleBig)/doubleSmall)); + } + +@@ -127,16 +124,16 @@ + if ( check != Double.POSITIVE_INFINITY ) { + error = true; + if (print) { +- Context.out.println("Ooops: double range too big near infinity"); ++ System.out.println("Ooops: double range too big near infinity"); + } + } + if (print && verbose) { + // Some diagnostics +- Context.out.println(" huge: " + ++ System.out.println(" huge: " + + doubleHuge); +- Context.out.println(" huge*small: " + ++ System.out.println(" huge*small: " + + (doubleHuge*doubleSmall)); +- Context.out.println(" (huge*small)/big: " + ++ System.out.println(" (huge*small)/big: " + + ((doubleHuge*doubleSmall)/doubleBig)); + } + } +@@ -148,21 +145,21 @@ + if (check != 0.0) { + error = true; + if (print) { +- Context.out.println("Ooops: float range too big near 0"); ++ System.out.println("Ooops: float range too big near 0"); + } + } + + if (print && verbose) { + // Some diagnostics +- Context.out.println(" tiny: " + ++ System.out.println(" tiny: " + + floatTiny); +- Context.out.println(" tiny/small: " + ++ System.out.println(" tiny/small: " + + (floatTiny/floatSmall)); +- Context.out.println(" (tiny/small)*big: " + ++ System.out.println(" (tiny/small)*big: " + + ((floatTiny/floatSmall)*floatBig)); +- Context.out.println(" MIN_VALUE*big: " + ++ System.out.println(" MIN_VALUE*big: " + + (Float.MIN_VALUE*floatBig)); +- Context.out.println(" (tiny*big)/small: " + ++ System.out.println(" (tiny*big)/small: " + + ((floatTiny*floatBig)/floatSmall)); + } + +@@ -170,16 +167,16 @@ + if ( check != Float.POSITIVE_INFINITY ) { + error = true; + if (print) { +- Context.out.println("Ooops: float range too big near infinity"); ++ System.out.println("Ooops: float range too big near infinity"); + } + } + if (print && verbose) { + // Some diagnostics +- Context.out.println(" huge: " + ++ System.out.println(" huge: " + + floatHuge); +- Context.out.println(" huge*small: " + ++ System.out.println(" huge*small: " + + (floatHuge*floatSmall)); +- Context.out.println(" (huge*small)/big: " + ++ System.out.println(" (huge*small)/big: " + + ((floatHuge*floatSmall)/floatBig)); + } + } +@@ -195,18 +192,18 @@ + if (check != 0.0) { + error = true; + if (print) { +- Context.out.println("Ooops: double precision too big near 1"); ++ System.out.println("Ooops: double precision too big near 1"); + } + } + if (print && verbose) { + // Some diagnostics +- Context.out.println(" eps: " + ++ System.out.println(" eps: " + + doubleEpsilon ); +- Context.out.println(" eps: 0x" + ++ System.out.println(" eps: 0x" + + Long.toString(Double.doubleToLongBits(doubleEpsilon), 16)); +- Context.out.println(" 1+eps: " + ++ System.out.println(" 1+eps: " + + (doubleOne+doubleEpsilon) ); +- Context.out.println(" (1+eps)-1: " + ++ System.out.println(" (1+eps)-1: " + + ((doubleOne+doubleEpsilon)-doubleOne) ); + } + } +@@ -223,18 +220,18 @@ + if (check != 0.0) { + error = true; + if (print) { +- Context.out.println("Ooops: float precision too big near 1"); ++ System.out.println("Ooops: float precision too big near 1"); + } + } + if (print && verbose) { + // Some diagnostics +- Context.out.println(" eps: " + ++ System.out.println(" eps: " + + floatEpsilon ); +- Context.out.println(" eps: 0x" + ++ System.out.println(" eps: 0x" + + Integer.toString(Float.floatToIntBits(floatEpsilon), 16)); +- Context.out.println(" 1+eps: " + ++ System.out.println(" 1+eps: " + + (floatOne+floatEpsilon) ); +- Context.out.println(" (1+eps)-1: " + ++ System.out.println(" (1+eps)-1: " + + ((floatOne+floatEpsilon)-floatOne) ); + } + } +@@ -254,7 +251,7 @@ + // compiler with a floating point bug might pass at say 1% where + // it hadn't fully compiled everything, but then fail at 100% + // after it compiled erroneously +- Context.out.println("FloatingPointCheck"); ++ System.out.println("FloatingPointCheck"); + int count; + for (count = 0; count < 1*10000*length; count += 1) { + test(false); +@@ -262,9 +259,9 @@ + // Run it once to get the answers + test(true); + if (error) +- Context.out.println ("Error"); ++ System.out.println ("Error"); + else +- Context.out.println ("OK"); ++ System.out.println ("OK"); + } + + public static void main(String[] args) { +diff -u check1/LoopBounds.java check/LoopBounds.java +--- check1/LoopBounds.java Wed Jun 17 22:14:11 1998 ++++ check/LoopBounds.java Fri Oct 25 22:31:48 2002 +@@ -15,10 +15,7 @@ + * Walter Bays + */ + +-package spec.benchmarks._200_check; +-import spec.harness.*; + import java.util.Vector; +-import spec.benchmarks._200_check.*; + + class LoopBounds { + +@@ -50,9 +47,9 @@ + public void execute(){ + for (int i= 0; i < size(); ++i) { + //System.out.println ("v.size()=" + v.size() + " size()=" + size()); +- Context.out.print (constraintAt(i) + " "); ++ System.out.print (constraintAt(i) + " "); + } +- Context.out.println(); ++ System.out.println(); + } + + public static void main (String[] args){ +@@ -61,20 +58,22 @@ + + public static void run (){ + (new LoopBounds()).execute(); +- String name = "spec.benchmarks._200_check.LoopBounds2"; ++/* ++ String name = "LoopBounds2"; + try{ + Class c = Class.forName (name); + Object o = c.newInstance(); + if (! (o instanceof LoopBounds)){ +- Context.out.println (name + " is not a LoopBounds\n"); ++ System.out.println (name + " is not a LoopBounds\n"); + gotError = true; + return; + } + ((LoopBounds) o).execute(); + }catch (Exception e){ +- Context.out.println ("Error " + e); ++ System.out.println ("Error " + e); + gotError = true; + } ++*/ + } + + }//end LoopBounds +diff -u check1/Main.java check/Main.java +--- check1/Main.java Wed Jun 17 22:14:12 1998 ++++ check/Main.java Fri Oct 25 16:17:32 2002 +@@ -19,10 +19,7 @@ + * fail output verification. + */ + +-package spec.benchmarks._200_check; +-import spec.harness.*; +- +-public class Main implements SpecBenchmark { ++public class Main { + + /////////////////////////////////////// + //class variable field declarations +@@ -47,44 +44,45 @@ + int[] a = new int[10]; + for (int i=0; i<=10; i++) + a[i] = i; +- spec.harness.Context.out.println("Error: array bounds not checked"); ++ System.out.println("Error: array bounds not checked"); + }catch (ArrayIndexOutOfBoundsException e){ + caughtIndex = true; + }finally{ + gotToFinally = true; + } + if (!caughtIndex) +- spec.harness.Context.out.println("1st bounds test error:\tindex exception not received"); ++ System.out.println("1st bounds test error:\tindex exception not received"); + if (!gotToFinally) +- spec.harness.Context.out.println("1st bounds test error:\tfinally clause not executed"); ++ System.out.println("1st bounds test error:\tfinally clause not executed"); + if (caughtIndex && gotToFinally) +- spec.harness.Context.out.println("1st bounds test:\tOK"); ++ System.out.println("1st bounds test:\tOK"); + checkSubclassing(); + LoopBounds mule = new LoopBounds(); + mule.run(); + if (mule.gotError) +- spec.harness.Context.out.println("2nd bounds test:\tfailed"); ++ System.out.println("2nd bounds test:\tfailed"); + else +- spec.harness.Context.out.println("2nd bounds test:\tOK"); ++ System.out.println("2nd bounds test:\tOK"); + PepTest horse = new PepTest(); + horse.instanceMain(); + if (horse.gotError) +- spec.harness.Context.out.println("PepTest failed"); ++ System.out.println("PepTest failed"); + return 0; + } + + public static void main( String[] args ) { + runBenchmark( args ); ++ new FloatingPointCheck().run(100); + } + + private static void checkSubclassing(){ + Super sup = new Super (3); + Sub sub = new Sub (3); +- spec.harness.Context.out.println (sup.getName() + ": " + sup.toString()); +- spec.harness.Context.out.println (sub.getName() + ": " + sub.toString()); +- spec.harness.Context.out.println ("Super: prot=" + sup.getProtected() + ++ System.out.println (sup.getName() + ": " + sup.toString()); ++ System.out.println (sub.getName() + ": " + sub.toString()); ++ System.out.println ("Super: prot=" + sup.getProtected() + + ", priv=" + sup.getPrivate()); +- spec.harness.Context.out.println ("Sub: prot=" + sub.getProtected() + ++ System.out.println ("Sub: prot=" + sub.getProtected() + + ", priv=" + sub.getPrivate()); + } + +diff -u check1/PepTest.java check/PepTest.java +--- check1/PepTest.java Wed Jun 17 22:14:13 1998 ++++ check/PepTest.java Fri Oct 25 16:12:43 2002 +@@ -13,9 +13,6 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._200_check; +-import spec.harness.*; +- + class syncTest { + int x = 5; + +@@ -89,7 +86,7 @@ + public boolean gotError = false; + + String testDiv() { +- Context.out.print("testDiv: "); ++ System.out.print("testDiv: "); + int a, b; + long c, d; + double e, f; +@@ -141,7 +138,7 @@ + } + + String testIf() { +- Context.out.print("testIf: "); ++ System.out.print("testIf: "); + int a = 3, b, c; + b = a; + if(b * b == 9) +@@ -217,7 +214,7 @@ + + String testBitOps() { + /* Simple test of a few bit operations. By no means complete. */ +- Context.out.print("testBitOps: "); ++ System.out.print("testBitOps: "); + int v = 0xcafebabe; + if (shiftAnd(v, 24) != 0xca) return "bad shift-and 1"; + if (shiftAnd(v, 16) != 0xfe) return "bad shift-and 2"; +@@ -228,7 +225,7 @@ + + String testFor() { + int s = 0; +- Context.out.print("testFor: "); ++ System.out.print("testFor: "); + for (int a = 0; a < 100; a++) + for (int b = a; b >=0; b = b - 2) + s = a + s + b; +@@ -238,7 +235,7 @@ + } + + String testTableSwitch() { +- Context.out.print("testTableSwitch: "); ++ System.out.print("testTableSwitch: "); + int s = 2, r; + s = s * 3; + switch(s) { +@@ -270,7 +267,7 @@ + } + + String testLookupSwitch() { +- Context.out.print("testLookupSwitch: "); ++ System.out.print("testLookupSwitch: "); + int s = 2, r; + s = s * 3000; + switch(s) { +@@ -302,7 +299,7 @@ + } + + String testHiddenField() { +- Context.out.print("testHiddenField: "); ++ System.out.print("testHiddenField: "); + subClass f2 = new subClass(); + superClass f1 = f2; + if (f1.val != 1) +@@ -318,10 +315,10 @@ + + void printTime() { + java.util.Date now = new java.util.Date(); +- Context.out.print("Time now is "); +- Context.out.print(now.toString()); +- Context.out.print(", ms: "); +- Context.out.println(System.currentTimeMillis()); ++ System.out.print("Time now is "); ++ System.out.print(now.toString()); ++ System.out.print(", ms: "); ++ System.out.println(System.currentTimeMillis()); + } + + String checkInst(superClass x, boolean r1, boolean r2, boolean r3, int c) { +@@ -337,7 +334,7 @@ + } + + String checkInstanceOf() { +- Context.out.print("checkInstanceOf: "); ++ System.out.print("checkInstanceOf: "); + + /* subClass a[] = new subClass[2]; + ((superClass[])a)[1] = new superClass(); */ +@@ -363,7 +360,7 @@ + } + + String checkInterfaceInstanceOf() { +- Context.out.print("checkInterfaceInstanceOf: "); ++ System.out.print("checkInterfaceInstanceOf: "); + java.lang.Object c1 = new C1(); + java.lang.Object c2 = new C2(); + java.lang.Object c3 = new C3(); +@@ -390,7 +387,7 @@ + } + + String testExc1() { +- Context.out.print("testExc1(simple throw/catch): "); ++ System.out.print("testExc1(simple throw/catch): "); + int x = 0; + try { + if (x == 0) x = 1; else x = -1; +@@ -413,7 +410,7 @@ + } + + String testExc2() { +- Context.out.print("testExc2(skip catch clauses): "); ++ System.out.print("testExc2(skip catch clauses): "); + int x = 0; + try { + if (x == 0) x = 1; else x = -1; +@@ -433,7 +430,7 @@ + } + + String testExc3() { +- Context.out.print("testExc3(catch in inner): "); ++ System.out.print("testExc3(catch in inner): "); + int x = 0; + try { + if (x == 0) x = 1; else x = -1; +@@ -457,7 +454,7 @@ + } + + String testExc4() { +- Context.out.print("testExc4(catch in outer): "); ++ System.out.print("testExc4(catch in outer): "); + int x = 0; + try { + if (x == 0) x = 1; else x = -1; +@@ -477,7 +474,7 @@ + } + + String testExc5() { +- Context.out.print("testExc5(rethrow): "); ++ System.out.print("testExc5(rethrow): "); + int x = 0; + try { + if (x == 0) x = 1; else x = -1; +@@ -498,7 +495,7 @@ + } + + String testExc6() { +- Context.out.print("testExc6(throw accross call): "); ++ System.out.print("testExc6(throw accross call): "); + int x = 0; + try { + x = 1; +@@ -514,7 +511,7 @@ + } + + String testExc7() { +- Context.out.print("testExc7(throw accr. 2 calls): "); ++ System.out.print("testExc7(throw accr. 2 calls): "); + int x = 0; + try { + x = 1; +@@ -540,7 +537,7 @@ + final static int allocChunk = 50000; + + String testExc8() { +- Context.out.print("testExc8(keep throwing; see if GC works): "); ++ System.out.print("testExc8(keep throwing; see if GC works): "); + System.gc(); + Runtime runt = Runtime.getRuntime(); + long freeSpace = runt.freeMemory(); +@@ -572,7 +569,7 @@ + } + + String testExc9() { +- Context.out.print("testExc9(keep throwing accross fct; see if GC works): "); ++ System.out.print("testExc9(keep throwing accross fct; see if GC works): "); + System.gc(); + Runtime runt = Runtime.getRuntime(); + long freeSpace = runt.freeMemory(); +@@ -612,7 +609,7 @@ + + + String testStringHash() { +- Context.out.print("testStringHash: "); ++ System.out.print("testStringHash: "); + String res; + /* These are the JDK1.1 values. */ + if (null != (res = stringHash("monkey", -817689237, -1068495917))) +@@ -630,7 +627,7 @@ + + + String testObjectHash() { +- Context.out.print("testObjectHash: "); ++ System.out.print("testObjectHash: "); + java.util.Hashtable ht = new java.util.Hashtable(); + Integer ii; + for (int i = 0; i < 1000; i++) { +@@ -645,7 +642,7 @@ + } + + String loopExitContinueInExceptionHandler() { +- Context.out.print("loopExitContinueInExceptionHandler: "); ++ System.out.print("loopExitContinueInExceptionHandler: "); + int i = 0; + while(i < 10000) { + i++; +@@ -667,7 +664,7 @@ + } + + String testClone() { +- Context.out.print("testClone: "); ++ System.out.print("testClone: "); + int[] w, v = new int[100]; /* Check that we can clone arrays. */ + for (int i = 0; i < v.length; i++) v[i] = i * i; + w = (int[])v.clone(); +@@ -705,16 +702,16 @@ + } + + void printInterfaces(java.lang.Class cl) { +- Context.out.print(cl.getName() + ": "); ++ System.out.print(cl.getName() + ": "); + java.lang.Class intf[] = cl.getInterfaces(); + for (int i = 0; i < intf.length; i++) { +- Context.out.print(intf[i].getName() + " "); ++ System.out.print(intf[i].getName() + " "); + if (!intf[i].isInterface()) +- Context.out.println("Error: should have been an interface!"); ++ System.out.println("Error: should have been an interface!"); + } + if (0 == intf.length) +- Context.out.print("no interfaces"); +- Context.out.println(); ++ System.out.print("no interfaces"); ++ System.out.println(); + } + + String testClass() { +@@ -754,7 +751,7 @@ + } + + String testWaitNull() { +- Context.out.print("testWaitNull: "); ++ System.out.print("testWaitNull: "); + try { + ((java.lang.Object)null).wait(43); + } catch (java.lang.Exception e) { +@@ -766,7 +763,7 @@ + } + + String testVarAndMethodNameClash() { +- Context.out.print("testVarAndMethodNameClash: "); ++ System.out.print("testVarAndMethodNameClash: "); + superClass s = new superClass(); + int x; + +@@ -801,12 +798,12 @@ + + void checkAllNull(java.lang.Object a[]) { + for (int i = 0; i < a.length; i++) { +- if (a[i] != null) Context.out.println("error: should have been null"); ++ if (a[i] != null) System.out.println("error: should have been null"); + } + } + + String testObjectArray() { +- Context.out.print("testObjectArray: "); ++ System.out.print("testObjectArray: "); + subClass a[] = new subClass[10]; + superClass b[] = new superClass[10]; + +@@ -910,9 +907,9 @@ + if (a == 1) + throw(new java.lang.ArithmeticException("fisk")); + if (a == 1) +- Context.out.println("should not print this"); ++ System.out.println("should not print this"); + else +- Context.out.println("should print this"); ++ System.out.println("should print this"); + } + + int testDup() { +@@ -933,7 +930,7 @@ + static int staticIntArray[][] = {{1,2,3}, {4,5,6}}; + + String testArray() { +- Context.out.print("testArray: "); ++ System.out.print("testArray: "); + int x[]; + x = new int[6]; + x[4] = 3; +@@ -977,33 +974,33 @@ + } + + void printPrimes() { +- Context.out.print("Primes less than 50: "); ++ System.out.print("Primes less than 50: "); + for (int i = 2; i < 50; i++) { + if (isPrime(i)) { +- Context.out.print(i); +- Context.out.print(" "); ++ System.out.print(i); ++ System.out.print(" "); + } + } +- Context.out.println(""); ++ System.out.println(""); + } + + public void Verify(String str) { + if (null == str || str.equals("")) +- Context.out.println("OK"); ++ System.out.println("OK"); + else { + gotError = true; +- Context.out.println(); +- Context.out.println("******************************************"); +- Context.out.println(str); +- Context.out.println("******************************************"); ++ System.out.println(); ++ System.out.println("******************************************"); ++ System.out.println(str); ++ System.out.println("******************************************"); + } + } + + boolean checkRemL(long a, long b, long res) { + boolean ok = (res == a % b); + if (!ok) { +- Context.out.print("Failed: " + a + " % " + b + " = " + (a % b)); +- Context.out.println(" (should be: " + res); ++ System.out.print("Failed: " + a + " % " + b + " = " + (a % b)); ++ System.out.println(" (should be: " + res); + } + return ok; + } +@@ -1011,21 +1008,21 @@ + boolean checkRemD(double a, double b, double res) { + boolean ok = (res == a % b); + if (!ok) { +- Context.out.print("Failed: " + a + " % " + b + " = " + (a % b)); +- Context.out.println(" (should be: " + res); ++ System.out.print("Failed: " + a + " % " + b + " = " + (a % b)); ++ System.out.println(" (should be: " + res); + } + return ok; + } + + + void printRemD(double a, double b) { +- Context.out.print(a + " % " + b + " = " + (a % b)); ++ System.out.print(a + " % " + b + " = " + (a % b)); + } + + String checkRemainders() { +- Context.out.print("checkRemainders: "); ++ System.out.print("checkRemainders: "); + boolean ok = true; +- Context.out.print(" long "); ++ System.out.print(" long "); + if (!checkRemL( 10L, 7L, 3L)) ok = false; + if (!checkRemL( 10L, -7L, 3L)) ok = false; + if (!checkRemL(-10L, 7L, -3L)) ok = false; +@@ -1036,7 +1033,7 @@ + if (!checkRemD(-10.5, 7.0, -3.5)) ok = false; + if (!checkRemD(-10.5, -7.0, -3.5)) ok = false; + if (!ok) return "remainders failed"; +- Context.out.print("double "); ++ System.out.print("double "); + return null; + } + +@@ -1050,14 +1047,14 @@ + m = ar; + if (m == 0.0) m = 1.0; + if ((v - r) / m > 0.0001) { +- Context.out.println(exprStr + " evaluated to: " + v + ", expected: " + r); ++ System.out.println(exprStr + " evaluated to: " + v + ", expected: " + r); + return false; + } + return true; + } + + String checkMathFcts() { +- Context.out.print("checkMathFcts: "); ++ System.out.print("checkMathFcts: "); + boolean ok = true; + if (!checkClose("log(0.7)", Math.log(0.7), -0.356675)) ok = false; + if (!checkClose("sin(0.7)", Math.sin(0.7), 0.644218)) ok = false; +@@ -1096,13 +1093,13 @@ + } + + String testDeepStack() { +- Context.out.print("testDeepStack: "); ++ System.out.print("testDeepStack: "); + if (deepRecursion(5555, 0) != (5555 * 5555 + 5555) / 2) return "failed"; + return null; + } + + String testMisk() { +- Context.out.print("testMisk: "); ++ System.out.print("testMisk: "); + String right = "-9223372036854775808"; + if (!right.equals("" + ((long)1 << 63))) + return "(long)1 << 63 failed, returned: " + ((long)1 << 63) + +@@ -1134,7 +1131,7 @@ + } + + String testGC() { +- Context.out.print("testGC: "); ++ System.out.print("testGC: "); + byte[][] bytesArrays = new byte[1000][]; + bytesArrays[0] = new byte[1000]; /* See if GC eats this array! */ + Runtime.getRuntime().gc(); +@@ -1156,7 +1153,7 @@ + /* + * Skip file tests in an applet, wnb 2/13/98 + String testFileOps() { +- Context.out.print("testFileOps: "); ++ System.out.print("testFileOps: "); + java.io.File f = new java.io.File("."); + if (!f.isDirectory()) return "'.' is not a directory"; + if (!f.exists()) return "'.' does not exist"; +@@ -1208,11 +1205,11 @@ + // Don't perform fp accuracy check so that 80-bit intermediate values + // will not be flagged as invalid. Per precedent of (osgjava-143) November + // 1997 minutes, and (osgjava-340) May 1998 minutes: specifications section +-// (new FloatingPointCheck()).run (spec.harness.Context.getSpeed()); ++// (new FloatingPointCheck()).run (spec.harness.System.getSpeed()); + if (gotError) +- Context.out.println("****** PepTest found an error ******"); ++ System.out.println("****** PepTest found an error ******"); + else +- Context.out.println("****** PepTest completed ******"); ++ System.out.println("****** PepTest completed ******"); + } + + public static void main(String[] args) { +diff -u check1/Sub.java check/Sub.java +--- check1/Sub.java Wed Jun 17 22:14:14 1998 ++++ check/Sub.java Fri Oct 25 16:12:54 2002 +@@ -9,8 +9,6 @@ + * See what happens here where we subclass Super + */ + +-package spec.benchmarks._200_check; +- + public class Sub extends Super{ + + /////////////////////////////////////// +diff -u check1/Super.java check/Super.java +--- check1/Super.java Wed Jun 17 22:14:15 1998 ++++ check/Super.java Fri Oct 25 16:13:01 2002 +@@ -9,8 +9,6 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._200_check; +- + public class Super{ + + /////////////////////////////////////// diff --git a/tests/jvm98/compress.diff b/tests/jvm98/compress.diff new file mode 100644 index 000000000..0774022e2 --- /dev/null +++ b/tests/jvm98/compress.diff @@ -0,0 +1,574 @@ +diff -u compress1/Compress.java compress/Compress.java +--- compress1/Compress.java Wed Jun 17 22:14:24 1998 ++++ compress/Compress.java Fri Oct 25 11:47:20 2002 +@@ -1,15 +1,4 @@ + /* +- * Used 'Inner Classes' to minimize temptations of JVM exploiting low hanging +- * fruits. 'Inner classes' are defined in appendix D of the 'Java Programming +- * Language' by Ken Arnold. +- * - We moved the class declaration, unchanged, of Hash_Table to within the +- * class declaration of Compressor. +- * - We moved the class declarations, unchanged, of De_Stack and +- Suffix_Table to within the class declaration of Decompressor. +- * - pre-computed trivial htab(i) to minimize millions of trivial calls +- * - Don McCauley (IBM), Kaivalya 4/16/98 +- * +- * @(#)Compress.java 1.7 06/17/98 + * // Don McCauley/kmd - IBM 02/26/98 + * // getbyte and getcode fixed -- kaivalya & Don + * compress.c - File compression ala IEEE Computer, June 1984. +@@ -29,12 +18,8 @@ + * substrings and replaces them with a variable size code. This is + * deterministic, and can be done on the fly. Thus, the decompression + * procedure needs no input table, but tracks the way the table was built. +- * +- * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._201_compress; +- + final class Compress { + final static int BITS = 16; /* always set to 16 for SPEC95 */ + final static int INIT_BITS = 9; /* initial number of bits/code */ +@@ -162,6 +147,39 @@ + + /*****************************************************************/ + ++final class Hash_Table { ++ private int tab[]; ++ private int size; /* for dynamic table sizing */ ++ ++ public Hash_Table() { ++ size = Compress.HSIZE; ++ tab = new int[size]; ++ } ++ ++ public int of(int i) { ++ return tab[i]; ++ } ++ ++ public void set(int i, int v) { ++ tab[i] = v; ++ } ++ ++ public int hsize() { ++ return size; ++ } ++ ++ public void clear() { ++ int i; ++ ++ for (i = 0; i < size; i++) { ++ tab[i] = -1; ++ } ++ } ++}; ++ ++ ++/*****************************************************************/ ++ + final class Code_Table { + private short tab[]; + +@@ -188,6 +206,58 @@ + + /*****************************************************************/ + ++final class Suffix_Table { ++ private byte tab[]; ++ ++ public Suffix_Table () { ++ tab = new byte[Compress.SUFFIX_TAB_SZ]; ++ } ++ ++ public byte of(int i) { ++ return tab[i]; ++ } ++ ++ public void set(int i, byte v) { ++ tab[i] = v; ++ } ++ ++ public void init(int size) { ++ int code; ++ for ( code = 0; code < size; code++ ) { ++ tab[code] = (byte)code; ++ } ++ } ++}; ++ ++ ++/*****************************************************************/ ++ ++final class De_Stack { ++ private byte tab[]; ++ private int index; ++ ++ public De_Stack() { ++ tab = new byte[Compress.STACK_SZ]; ++ index = 0; ++ } ++ ++ public void push(byte c) { ++ tab[index++] = c; ++ } ++ ++ public byte pop() { ++ index--; ++ return tab[index]; ++ } ++ ++ public boolean is_empty() { ++ return (index == 0); ++ } ++}; ++ ++ ++/*****************************************************************/ ++ + class Comp_Base { + protected int n_bits; /* number of bits/code */ + protected int maxbits; /* user settable max # bits/code */ +@@ -264,7 +334,7 @@ + checkpoint = CHECK_GAP; + free_ent = ((block_compress != 0) ? Compress.FIRST : 256 ); + +- htab = new Hash_Table(); // dm/kmd 4/10/98 ++ htab = new Hash_Table(); + codetab = new Code_Table(); + + Output.putbyte(Compress.magic_header[0]); +@@ -296,15 +366,13 @@ + in_count++; + fcode = (((int) c << maxbits) + ent); + i = ((c << hshift) ^ ent); /* xor hashing */ +- int temphtab = htab.of (i); // dm/kmd 4/15 +-//dm kmd if ( htab.of (i) == fcode ) { // dm/kmd 4/15 +- if ( temphtab == fcode ) { ++ ++ if ( htab.of (i) == fcode ) { + ent = codetab.of (i); + continue next_byte; + } + +-//dm kmd 4/15 if ( htab.of (i) >= 0 ) { /* non-empty slot */ +- if ( temphtab >= 0 ) { /* non-empty slot dm kmd 4/15*/ ++ if ( htab.of (i) >= 0 ) { /* non-empty slot */ + disp = hsize_reg - i; /* secondary hash (after G. Knott) */ + if ( i == 0 ) + disp = 1; +@@ -313,15 +381,11 @@ + if ( (i -= disp) < 0 ) + i += hsize_reg; + +- temphtab = htab.of (i); // dm/kmd 4/15 +- +-// dm/kmd 4/15 if ( htab.of (i) == fcode ) { +- if ( temphtab == fcode ) { ++ if ( htab.of (i) == fcode ) { + ent = codetab.of (i); + continue next_byte; + } +-// dm/kmd 4/15 } while ( htab.of (i) > 0 ); +- } while ( temphtab > 0 ); // dm kmd 4/15 ++ } while ( htab.of (i) > 0 ); + } + + output ( ent ); +@@ -463,41 +527,6 @@ + output ( (int) Compress.CLEAR ); + } + } +- +-final class Hash_Table { // moved 4/15/98 dm/kmd +-/* Use protected instead of private +- * to allow access by parent class +- * of inner class. wnb 4/17/98 +- */ +- protected int tab[]; // for dynamic table sizing */ +- protected int size; +- +- public Hash_Table() { +- size = Compress.HSIZE; +- tab = new int[size]; +- } +- +- public int of(int i) { +- return tab[i]; +- } +- +- public void set(int i, int v) { +- tab[i] = v; +- } +- +- public int hsize() { +- return size; +- } +- +- public void clear() { +- int i; +- +- for (i = 0; i < size; i++) { +- tab[i] = -1; +- } +- } +-}; +- + }; + + +@@ -678,65 +707,6 @@ + + return code; + } +- +-/*****************************************************************/ +- +-final class De_Stack { // moved 4/15/98 dm/kmd +-/* Use protected instead of private +- * to allow access by parent class +- * of inner class. wnb 4/17/98 +- */ +- protected byte tab[]; +- protected int index; +- +- public De_Stack() { +- tab = new byte[Compress.STACK_SZ]; +- index = 0; +- } +- +- public void push(byte c) { +- tab[index++] = c; +- } +- +- public byte pop() { +- index--; +- return tab[index]; +- } +- +- public boolean is_empty() { +- return (index == 0); +- } +-}; +- +-/*****************************************************************/ +- +-final class Suffix_Table { // moved 4/15/98 dm/kmd +-/* Use protected instead of private +- * to allow access by parent class +- * of inner class. wnb 4/17/98 +- */ +- protected byte tab[]; +- +- public Suffix_Table () { +- tab = new byte[Compress.SUFFIX_TAB_SZ]; +- } +- +- public byte of(int i) { +- return tab[i]; +- } +- +- public void set(int i, byte v) { +- tab[i] = v; +- } +- +- public void init(int size) { +- int code; +- for ( code = 0; code < size; code++ ) { +- tab[code] = (byte)code; +- } +- } +-}; +- + }; + + +diff -u compress1/Main.java compress/Main.java +--- compress1/Main.java Fri Jun 26 21:42:33 1998 ++++ compress/Main.java Mon Nov 30 18:39:00 1998 +@@ -6,15 +6,12 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._201_compress; +-import spec.harness.*; +- +-public class Main implements SpecBenchmark { ++public class Main { + + + static long runBenchmark( String[] args ) { + +- int speed = spec.harness.Context.getSpeed(); ++ int speed = 100; + + if( args.length == 0 ) { + +@@ -46,18 +43,11 @@ + } + } + +- return new Harness().inst_main( args ); ++ return new MyCompress().inst_main( args ); + } + + + public static void main( String[] args ) { + runBenchmark( args ); + } +- +- +- public long harnessMain( String[] args ) { +- return runBenchmark( args ); +- } +- +- + } +diff -Nu compress1/MyCompress.java compress/MyCompress.java +--- compress1/MyCompress.java Thu Jan 1 01:00:00 1970 ++++ compress/MyCompress.java Fri Oct 25 22:01:30 2002 +@@ -0,0 +1,118 @@ ++/* ++ * @(#)Harness.java 1.14 06/26/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * Modified by Kaivalya M. Dixit & Don McCauley (IBM) to read input files ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++import java.io.*; ++ ++public final class MyCompress ++{ ++ ++ final static int COMPRESS = 0; ++ final static int UNCOMPRESS = 1; ++ ++ private byte orig_text_buffer[]; ++ private byte comp_text_buffer[]; ++ ++ private int fill_text_buffer(String infile) { ++ int act = 0; ++ int num_bytes = 0; ++ ++ try { ++ ++ java.io.FileInputStream sif = new java.io.FileInputStream(infile); ++ java.io.File myfile = new File(infile); ++ num_bytes = (int) myfile.length(); ++ ++ // Only allocate size of input file rather than MAX - kmd ++ // If compressed file is larger than input file this allocation ++ // will fail and out of bound exception will occur ++ // In real lie, compress will no do any compression as no ++ // space is saved.-- kaivalya ++ ++ orig_text_buffer = new byte[num_bytes]; ++ comp_text_buffer = new byte[num_bytes]; ++ ++ int bytes_read; ++ while ( (bytes_read = sif.read(orig_text_buffer, act , (num_bytes - act))) > 0){ ++ act = act + bytes_read; ++ } ++ ++ sif.close(); // release resources ++ ++ if ( act != num_bytes ) { ++ System.out.println("ERROR reading test input file"); ++ } ++ } ++ catch (IOException e) { ++ System.out.println("ERROR opening/accessing input file: "+infile); ++ }; ++ ++ return act; ++ } ++ ++ ++ public MyCompress() { ++ /* ++ orig_text_buffer = new byte[BUFFERSIZE]; ++ comp_text_buffer = new byte[BUFFERSIZE]; ++ new_text_buffer = new byte[BUFFERSIZE]; ++ */ ++ } ++ ++ public boolean run_compress(String[] args) { ++ int count = 0; ++ int i, oper; ++ int comp_count, new_count; ++ int fn = Integer.parseInt(args [0] ); // get number of files ++ int loopct = Integer.parseInt(args [1] ); // get loop count ++ ++ System.out.println( "Loop count = " + loopct ); ++ ++ for (int cntr=0; cntr < loopct; cntr++ ) // iterate over ++ for (int j=0; j < fn ; j++) { // number of files ++ count = fill_text_buffer( args [j+2] ); // give file names to read ++ oper=COMPRESS; ++ System.out.println( count); // write input file size ++ ++ // uncompress in the original text buffer. ++ comp_count=Compress.spec_select_action(orig_text_buffer, count, ++ oper, comp_text_buffer); ++ System.out.println( comp_count); // write compressed file size ++ ++ oper=UNCOMPRESS; ++ new_count=Compress.spec_select_action(comp_text_buffer, comp_count, ++ oper, orig_text_buffer); ++ // if uncompressed files size is not same as the original ERROR ++ ++ if ( new_count != count ) { ++ System.out.println ("Error : Number of Bytes should have been " + count + " instead of " + new_count); ++ } ++ ++ // Release resources to prevent resource leak ++ orig_text_buffer = null; ++ ++ comp_text_buffer = null; ++ } ++ return true; ++ } ++ ++ ++ public long inst_main( String[] argv ) { ++ ++ long startTime = System.currentTimeMillis(); ++ ++ if (!run_compress(argv)) ++ return 0; ++ ++ return System.currentTimeMillis() - startTime; ++ } ++ ++} ++ +diff -Nu compress1/Harness.java compress/Harness.java +--- compress1/Harness.java Fri Jun 26 21:36:51 1998 ++++ compress/Harness.java Thu Jan 1 01:00:00 1970 +@@ -1,122 +0,0 @@ +-/* +- * @(#)Harness.java 1.14 06/26/98 +- * +- * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) +- * All rights reserved. +- * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. +- * +- * Modified by Kaivalya M. Dixit & Don McCauley (IBM) to read input files +- * This source code is provided as is, without any express or implied warranty. +- */ +- +-package spec.benchmarks._201_compress; +-import spec.harness.*; +- +-import java.io.*; +- +-public final class Harness +-{ +- +- final static int COMPRESS = 0; +- final static int UNCOMPRESS = 1; +- +- private byte orig_text_buffer[]; +- private byte comp_text_buffer[]; +- +- private int fill_text_buffer(String infile) { +- int act = 0; +- int num_bytes = 0; +- +- try { +- +- spec.io.FileInputStream sif = new spec.io.FileInputStream(infile); +- num_bytes = (int)sif.getContentLength(); +- +- // Only allocate size of input file rather than MAX - kmd +- // If compressed file is larger than input file this allocation +- // will fail and out of bound exception will occur +- // In real lie, compress will no do any compression as no +- // space is saved.-- kaivalya +- +- orig_text_buffer = new byte[num_bytes]; +- comp_text_buffer = new byte[num_bytes]; +- +- int bytes_read; +- while ( (bytes_read = sif.read(orig_text_buffer, act , (num_bytes - act))) > 0){ +- act = act + bytes_read; +- } +- +- sif.close(); // release resources +- +- if ( act != num_bytes ) +- { +- spec.harness.Context.out.println("ERROR reading test input file"); +- } +- } +- catch (IOException e) +- { +- spec.harness.Context.out.println("ERROR opening/accessing input file: "+infile); +- }; +- +- return act; +- } +- +- +- public Harness() { +- /* +- orig_text_buffer = new byte[BUFFERSIZE]; +- comp_text_buffer = new byte[BUFFERSIZE]; +- new_text_buffer = new byte[BUFFERSIZE]; +- */ +- } +- +- public boolean run_compress(String[] args) { +- int count = 0; +- int i, oper; +- int comp_count, new_count; +- int fn = Integer.parseInt(args [0] ); // get number of files +- int loopct = Integer.parseInt(args [1] ); // get loop count +- +- spec.harness.Context.out.println( "Loop count = " + loopct ); +- +- for (int cntr=0; cntr < loopct; cntr++ ) // iterate over +- for (int j=0; j < fn ; j++) { // number of files +- count = fill_text_buffer( args [j+2] ); // give file names to read +- oper=COMPRESS; +- spec.harness.Context.out.println( count); // write input file size +- +- // uncompress in the original text buffer. +- comp_count=Compress.spec_select_action(orig_text_buffer, count, +- oper, comp_text_buffer); +- spec.harness.Context.out.println( comp_count); // write compressed file size +- +- oper=UNCOMPRESS; +- new_count=Compress.spec_select_action(comp_text_buffer, comp_count, +- oper, orig_text_buffer); +- // if uncompressed files size is not same as the original ERROR +- +- if ( new_count != count ) { +- spec.harness.Context.out.println ("Error : Number of Bytes should have been " + count + " instead of " + new_count); +- } +- +- // Release resources tor prevent resource leak +- orig_text_buffer = null; +- comp_text_buffer = null; +- +- } +- return true; +- } +- +- +- public long inst_main( String[] argv ) { +- +- long startTime = System.currentTimeMillis(); +- +- if (!run_compress(argv)) +- return 0; +- +- return System.currentTimeMillis() - startTime; +- } +- +-} +- diff --git a/tests/jvm98/db.diff b/tests/jvm98/db.diff new file mode 100644 index 000000000..4ae5bfcc4 --- /dev/null +++ b/tests/jvm98/db.diff @@ -0,0 +1,457 @@ +diff -Nu db1/Database.java db/Database.java +--- db1/Database.java Wed Jun 17 23:23:16 1998 ++++ db/Database.java Sat Nov 30 16:02:53 2002 +@@ -30,9 +30,6 @@ + * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. + */ + +-package spec.benchmarks._209_db; +-import spec.harness.*; +-import spec.io.*; + import java.util.*; + import java.io.*; + +@@ -51,11 +48,11 @@ + private void read_fmt(String filename) + { + int len, act; +- spec.io.FileInputStream fis; ++ java.io.FileInputStream fis; + String f; + + try { +- fis = new spec.io.FileInputStream(filename); ++ fis = new java.io.FileInputStream(filename); + StreamTokenizer tok = new StreamTokenizer(fis); + + tok.commentChar(0); +@@ -81,11 +78,11 @@ + switch(tok.ttype) + { + case StreamTokenizer.TT_NUMBER: +- spec.harness.Context.out.println("token=TT_NUMBER: "+tok.nval); ++ System.out.println("token=TT_NUMBER: "+tok.nval); + break; + + case StreamTokenizer.TT_WORD: +- spec.harness.Context.out.println("token=TT_WORD: "+tok.sval); ++ System.out.println("token=TT_WORD: "+tok.sval); + break; + + case '"': +@@ -108,7 +105,7 @@ + } + catch (IOException e) + { +- spec.harness.Context.out.println("ERROR opening/parsing format file "+filename); ++ System.out.println("ERROR opening/parsing format file "+filename); + System.exit(1); + }; + +@@ -135,12 +132,12 @@ + boolean OK; + byte buffer[] = null; + +- spec.harness.Context.out.print("Reading database "+dbname+" ... "); +- spec.harness.Context.out.flush(); ++ System.out.print("Reading database "+dbname+" ... "); ++ System.out.flush(); + + try { +- spec.io.FileInputStream sif = new spec.io.FileInputStream(filename); +- n = sif.getContentLength(); ++ java.io.FileInputStream sif = new java.io.FileInputStream(filename); ++ n = (int) new java.io.File(".", filename).length(); + buffer = new byte[n]; + + int bytes_read; +@@ -150,7 +147,7 @@ + sif.close(); + sif = null; // 03/11/98 rrh + if ( act != n ){ +- spec.harness.Context.out.println("ERROR reading input file"); ++ System.out.println("ERROR reading input file"); + //System.exit(1); + return; + } +@@ -160,18 +157,18 @@ + { + if ( n == 0 ) + { +- spec.harness.Context.out.println("Empty database"); ++ System.out.println("Empty database"); + return; + } + +- spec.harness.Context.out.println("ERROR opening/reading input file \""+filename+"\""); ++ System.out.println("ERROR opening/reading input file \""+filename+"\""); + // System.exit(1); + }; + + entry = new Entry(); + +- spec.harness.Context.out.print("OK\nBuilding database ..."); +- spec.harness.Context.out.flush(); ++ System.out.print("OK\nBuilding database ..."); ++ System.out.flush(); + + n = buffer.length; + s = e = 0; +@@ -200,7 +197,7 @@ + + buffer = null; // 03/11/98 rrh + +- spec.harness.Context.out.println("Done."); ++ System.out.println("Done."); + } + + +@@ -209,21 +206,21 @@ + Entry entry; + String s; + Enumeration e = entries.elements(); +- spec.io.FileOutputStream fos = null; ++ java.io.FileOutputStream fos = null; + byte buffer[] = new byte[64*1024]; + int c, len; + + +- spec.harness.Context.out.print("Saving database "+dbname+" ... "); +- spec.harness.Context.out.flush(); ++ System.out.print("Saving database "+dbname+" ... "); ++ System.out.flush(); + + try + { +- fos = new spec.io.FileOutputStream(dbname+".dat"); ++ fos = new java.io.FileOutputStream(dbname+".dat"); + } + catch (IOException ex) + { +- spec.harness.Context.out.println("\nERROR creating output file "+dbname+".dat"); ++ System.out.println("\nERROR creating output file "+dbname+".dat"); + // System.exit(1); + } + +@@ -246,7 +243,7 @@ + { + try {fos.write(buffer, 0, c);} catch(IOException ex) + { +- spec.harness.Context.out.println("ERROR writing to output file "+dbname+".dat"); ++ System.out.println("ERROR writing to output file "+dbname+".dat"); + // System.exit(1); + } + +@@ -267,7 +264,7 @@ + { + try {fos.write(buffer, 0, c);} catch(IOException ex) + { +- spec.harness.Context.out.println("ERROR writing to output file "+dbname+".dat"); ++ System.out.println("ERROR writing to output file "+dbname+".dat"); + // System.exit(1); + } + +@@ -288,14 +285,14 @@ + } + catch(IOException ex) + { +- spec.harness.Context.out.println("ERROR writing to output file "+dbname+".dat"); ++ System.out.println("ERROR writing to output file "+dbname+".dat"); + // System.exit(1); + } + + buffer = null; // 03/11/98 rrh + fos = null; // 03/11/98 rrh + +- spec.harness.Context.out.println("Done."); ++ System.out.println("Done."); + } + + +@@ -346,7 +343,7 @@ + printRec(); + } + else +- spec.harness.Context.out.println("Invalid record number ("+(rec+1)+")"); ++ System.out.println("Invalid record number ("+(rec+1)+")"); + } + + +@@ -387,7 +384,7 @@ + if ( (current_record >= index.length) || (current_record < 0) ) + return; + +- spec.harness.Context.out.println("---- Record number "+(current_record+1)+" ----"); ++ System.out.println("---- Record number "+(current_record+1)+" ----"); + + entry = index[current_record]; + +@@ -400,18 +397,18 @@ + s = ((String)f.nextElement()); + + if ( s != null ) +- spec.harness.Context.out.print(s); ++ System.out.print(s); + else + { + s = (String)i.nextElement(); +- spec.harness.Context.out.println(s); ++ System.out.println(s); + } + } + + i = null; // 03/11/98 rrh + f = null; // 03/11/98 rrh + +- spec.harness.Context.out.println(); ++ System.out.println(); + } + + +@@ -445,15 +442,15 @@ + if ( field != null ) + { + // These create too much output for benchmark - rrh +- //spec.harness.Context.out.print(field); +- //spec.harness.Context.out.flush(); ++ //System.out.print(field); ++ //System.out.flush(); + } + else + { + try { s = dis.readLine(); } + catch (IOException e) + { +- spec.harness.Context.out.println("input error"); ++ System.out.println("input error"); + // System.exit(1); + } + +@@ -485,20 +482,20 @@ + if ( field != null ) + { + // Reduce output +- //spec.harness.Context.out.print(field); +- //spec.harness.Context.out.flush(); ++ //System.out.print(field); ++ //System.out.flush(); + } + else + { + os = (String)(((Entry)index[current_record]).items.elementAt(fn)); + // Reduce output +- //spec.harness.Context.out.print(" ("+os+") "); +- //spec.harness.Context.out.flush(); ++ //System.out.print(" ("+os+") "); ++ //System.out.flush(); + + try { s = dis.readLine(); } + catch (IOException e) + { +- spec.harness.Context.out.println("input error"); ++ System.out.println("input error"); + // System.exit(1); + } + +@@ -520,7 +517,7 @@ + public void status() + { + if ( index == null ) set_index(); +- spec.harness.Context.out.println("Record "+(current_record+1)+" of "+index.length); ++ System.out.println("Record "+(current_record+1)+" of "+index.length); + } + + private String fieldValue; +@@ -546,15 +543,15 @@ + if ( fs != null ) + { + // Reduce output +- //spec.harness.Context.out.print(fs); +- //spec.harness.Context.out.flush(); ++ //System.out.print(fs); ++ //System.out.flush(); + } + else + { + try { fieldValue = dis.readLine(); } + catch (IOException ex) + { +- spec.harness.Context.out.println("input error"); ++ System.out.println("input error"); + // System.exit(1); + } + +@@ -595,25 +592,25 @@ + if ( fn != fnum ) + { + // Reduce output +- //spec.harness.Context.out.print("Sorting on requested fieldname ... "); +- //spec.harness.Context.out.flush(); ++ //System.out.print("Sorting on requested fieldname ... "); ++ //System.out.flush(); + shell_sort(fn); + } + else + { +- //spec.harness.Context.out.print("Already sorted"); ++ //System.out.print("Already sorted"); + } + + + // Reduce output +- //spec.harness.Context.out.print("\nSearching ... "); +- //spec.harness.Context.out.flush(); ++ //System.out.print("\nSearching ... "); ++ //System.out.flush(); + + if ( (rec = lookup(fieldValue, fnum)) < 0 ) +- spec.harness.Context.out.println("NOT found"); ++ System.out.println("NOT found"); + else + { +- spec.harness.Context.out.println(); ++ System.out.println(); + + while ( rec >= 0 ) + { +diff -Nu db1/Main.java db/Main.java +--- db1/Main.java Wed Jun 17 23:23:17 1998 ++++ db/Main.java Sat Nov 30 16:02:53 2002 +@@ -23,33 +23,30 @@ + * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. + */ + +-package spec.benchmarks._209_db; +-import spec.harness.*; +- + import java.io.*; + import java.util.*; + + +-public class Main implements SpecBenchmark +-{ ++public class Main { ++ + private boolean standalone = true; + + static void help() + { +- spec.harness.Context.out.println("a - add record"); +- spec.harness.Context.out.println("b - show beginning record"); +- spec.harness.Context.out.println("d - delete record"); +- spec.harness.Context.out.println("e - show end record"); +- spec.harness.Context.out.println("f - find record"); +- spec.harness.Context.out.println("m - modify record"); +- spec.harness.Context.out.println("n - next entry"); +- spec.harness.Context.out.println("p - previous record"); +- spec.harness.Context.out.println("q - quit"); +- spec.harness.Context.out.println("w - write database"); +- spec.harness.Context.out.println("s - sort"); +- spec.harness.Context.out.println(". - current record number"); +- spec.harness.Context.out.println("x - Total records"); +- spec.harness.Context.out.println("num - goto record number 'num'"); ++ System.out.println("a - add record"); ++ System.out.println("b - show beginning record"); ++ System.out.println("d - delete record"); ++ System.out.println("e - show end record"); ++ System.out.println("f - find record"); ++ System.out.println("m - modify record"); ++ System.out.println("n - next entry"); ++ System.out.println("p - previous record"); ++ System.out.println("q - quit"); ++ System.out.println("w - write database"); ++ System.out.println("s - sort"); ++ System.out.println(". - current record number"); ++ System.out.println("x - Total records"); ++ System.out.println("num - goto record number 'num'"); + } + + +@@ -57,7 +54,7 @@ + + static long runBenchmark( String[] args ) { + +- int speed = spec.harness.Context.getSpeed(); ++ int speed = 100; + + // if( args.length == 0 ) { + if( speed == 100 ) { +@@ -95,13 +92,13 @@ + long starttime = System.currentTimeMillis(); + try { + int iter = 1; //spec.harness.Context.getSpeed(); +- spec.harness.Context.out.println( "db " + iter + " iterations " ); ++ System.out.println( "db " + iter + " iterations " ); + + for( int i = 0 ; i < iter ; i++ ) { //**NS** + run(argv); + } + } catch (IOException e) { +- spec.harness.Context.out.println("Error in run() method"); ++ System.out.println("Error in run() method"); + } + return System.currentTimeMillis() - starttime; + } +@@ -113,7 +110,7 @@ + String s; + Database db; + DataInputStream dis = null; +- dis = new DataInputStream( new spec.io.FileInputStream( arg[1]) ); ++ dis = new DataInputStream( new java.io.FileInputStream( arg[1]) ); + + boolean OK = true; + boolean changed = false; +@@ -127,7 +124,7 @@ + while ( OK ) + { + // Reduce output +- //spec.harness.Context.out.print(": "); spec.harness.Context.out.flush(); ++ //System.out.print(": "); System.out.flush(); + + s = dis.readLine(); + +@@ -148,27 +145,27 @@ + { + case 'a': + db.add(db.getEntry(dis)); +- //spec.harness.Context.out.println("Number of records: "+db.numRecords()); ++ //System.out.println("Number of records: "+db.numRecords()); + // Really reduce output +- //spec.harness.Context.out.println(db.numRecords()+" "); ++ //System.out.println(db.numRecords()+" "); + changed = true; + break; + + case 'h': help(); break; + + case 'd': +- //spec.harness.Context.out.print("Delete record "+(db.currentRec()+1)+" y/n? "); +- //spec.harness.Context.out.print("d "+(db.currentRec()+1)+" y/n? "); +- //spec.harness.Context.out.print(db.currentRec()+1+" "); +- //spec.harness.Context.out.flush(); ++ //System.out.print("Delete record "+(db.currentRec()+1)+" y/n? "); ++ //System.out.print("d "+(db.currentRec()+1)+" y/n? "); ++ //System.out.print(db.currentRec()+1+" "); ++ //System.out.flush(); + s = dis.readLine(); + if ( s.length() > 0 ) + { + if ( s.charAt(0) == 'y' ) + { + db.remove(); +- //spec.harness.Context.out.println("Number of records: "+db.numRecords()); +- //spec.harness.Context.out.println(db.numRecords()); ++ //System.out.println("Number of records: "+db.numRecords()); ++ //System.out.println(db.numRecords()); + changed = true; + } + } +@@ -213,7 +210,7 @@ + + if ( changed ) + { +- spec.harness.Context.out.print("Save database (y or n)? "); spec.harness.Context.out.flush(); ++ System.out.print("Save database (y or n)? "); System.out.flush(); + s = dis.readLine(); + + if ( (s.charAt(0) != 'n') && standalone ) diff --git a/tests/jvm98/javac.diff b/tests/jvm98/javac.diff new file mode 100644 index 000000000..6f9f91902 --- /dev/null +++ b/tests/jvm98/javac.diff @@ -0,0 +1,212 @@ +diff -u javac1/input/lib/spec/benchmarks/_202_jess/Main.java javac/input/lib/spec/benchmarks/_202_jess/Main.java +--- javac1/input/lib/spec/benchmarks/_202_jess/Main.java Wed Jun 17 01:31:47 1998 ++++ javac/input/lib/spec/benchmarks/_202_jess/Main.java Mon Dec 2 00:03:00 2002 +@@ -5,7 +5,7 @@ + + static long runBenchmark( String[] args ) { + +- int speed = 1; ++ int speed = 100; + + if( speed == 100 ) { + args = new String[1]; +--- javac1/input/Middle.java Wed Nov 12 00:51:07 1997 ++++ javac/input/Middle.java Mon Dec 2 00:40:16 2002 +@@ -1,5 +1,5 @@ + +-public class Middle { ++public class Main { + + public static void main(String args[]){ + +diff -Nu javac2/postoutput.sh javac/postoutput.sh +--- javac2/postoutput.sh Thu Jan 1 01:00:00 1970 ++++ javac/postoutput.sh Mon Dec 2 09:53:53 2002 +@@ -0,0 +1,4 @@ ++rm -fr sun ++../../cacao -ieee sun.tools.javap.JavaP -classpath .:lib -c `ls *.class|sed 's/\.class//g'` | sed 's/\#[0-9]*/#/g' >> javac.output ++../../cacao -ieee JavaLex sample.lex ++cat sample.lex.java >> javac.output +--- javac1/input/JavaLex.java Wed Jun 17 19:59:04 1998 ++++ javac/input/JavaLex.java Mon Dec 2 12:49:16 2002 +@@ -3407,7 +3407,6 @@ + lg = new CLexGen(arg[0]); + lg.generate(); + +- spec.benchmarks._202_jess.Main.main(null); + } + } + +diff -Nu javac2/setup.sh javac/setup.sh +--- javac2/setup.sh Thu Jan 1 01:00:00 1970 ++++ javac/setup.sh Mon Dec 2 12:52:56 2002 +@@ -0,0 +1,6 @@ ++rm -f *.class ++mv input/* . ++mv Middle.java Main.java ++cp ../../jvm98/spec/benchmarks/_*_jess/input/* input ++mv lib/spec . ++../../cacao -ieee sun.tools.javac.Main -d . spec/*/*/*.java +diff -Nu javac2/sample.lex javac/sample.lex +--- javac2/sample.lex Thu Jan 1 01:00:00 1970 ++++ javac/sample.lex Wed Sep 6 16:09:48 2000 +@@ -0,0 +1,159 @@ ++import java.lang.System; ++ ++class Sample { ++ public static void main(String argv[]) throws java.io.IOException { ++ Yylex yy = new Yylex(System.in); ++ Yytoken t; ++ while ((t = yy.yylex()) != null) ++ System.out.println(t); ++ } ++} ++ ++class Utility { ++ public static void assert ++ ( ++ boolean expr ++ ) ++ { ++ if (false == expr) { ++ throw (new Error("Error: Assertion failed.")); ++ } ++ } ++ ++ private static final String errorMsg[] = { ++ "Error: Unmatched end-of-comment punctuation.", ++ "Error: Unmatched start-of-comment punctuation.", ++ "Error: Unclosed string.", ++ "Error: Illegal character." ++ }; ++ ++ public static final int E_ENDCOMMENT = 0; ++ public static final int E_STARTCOMMENT = 1; ++ public static final int E_UNCLOSEDSTR = 2; ++ public static final int E_UNMATCHED = 3; ++ ++ public static void error ++ ( ++ int code ++ ) ++ { ++ System.out.println(errorMsg[code]); ++ } ++} ++ ++class Yytoken { ++ Yytoken ++ ( ++ int index, ++ String text, ++ int line, ++ int charBegin, ++ int charEnd ++ ) ++ { ++ m_index = index; ++ m_text = new String(text); ++ m_line = line; ++ m_charBegin = charBegin; ++ m_charEnd = charEnd; ++ } ++ ++ public int m_index; ++ public String m_text; ++ public int m_line; ++ public int m_charBegin; ++ public int m_charEnd; ++ public String toString() { ++ return "Token #"+m_index+": "+m_text+" (line "+m_line+")"; ++ } ++} ++ ++%% ++ ++%{ ++ private int comment_count = 0; ++%} ++%line ++%char ++%state COMMENT ++ ++ALPHA=[A-Za-z] ++DIGIT=[0-9] ++NONNEWLINE_WHITE_SPACE_CHAR=[\ \t\b\012] ++WHITE_SPACE_CHAR=[\n\ \t\b\012] ++STRING_TEXT=(\\\"|[^\n\"]|\\{WHITE_SPACE_CHAR}+\\)* ++COMMENT_TEXT=([^/*\n]|[^*\n]"/"[^*\n]|[^/\n]"*"[^/\n]|"*"[^/\n]|"/"[^*\n])* ++ ++ ++%% ++ ++ "," { return (new Yytoken(0,yytext(),yyline,yychar,yychar+1)); } ++ ":" { return (new Yytoken(1,yytext(),yyline,yychar,yychar+1)); } ++ ";" { return (new Yytoken(2,yytext(),yyline,yychar,yychar+1)); } ++ "(" { return (new Yytoken(3,yytext(),yyline,yychar,yychar+1)); } ++ ")" { return (new Yytoken(4,yytext(),yyline,yychar,yychar+1)); } ++ "[" { return (new Yytoken(5,yytext(),yyline,yychar,yychar+1)); } ++ "]" { return (new Yytoken(6,yytext(),yyline,yychar,yychar+1)); } ++ "{" { return (new Yytoken(7,yytext(),yyline,yychar,yychar+1)); } ++ "}" { return (new Yytoken(8,yytext(),yyline,yychar,yychar+1)); } ++ "." { return (new Yytoken(9,yytext(),yyline,yychar,yychar+1)); } ++ "+" { return (new Yytoken(10,yytext(),yyline,yychar,yychar+1)); } ++ "-" { return (new Yytoken(11,yytext(),yyline,yychar,yychar+1)); } ++ "*" { return (new Yytoken(12,yytext(),yyline,yychar,yychar+1)); } ++ "/" { return (new Yytoken(13,yytext(),yyline,yychar,yychar+1)); } ++ "=" { return (new Yytoken(14,yytext(),yyline,yychar,yychar+1)); } ++ "<>" { return (new Yytoken(15,yytext(),yyline,yychar,yychar+2)); } ++ "<" { return (new Yytoken(16,yytext(),yyline,yychar,yychar+1)); } ++ "<=" { return (new Yytoken(17,yytext(),yyline,yychar,yychar+2)); } ++ ">" { return (new Yytoken(18,yytext(),yyline,yychar,yychar+1)); } ++ ">=" { return (new Yytoken(19,yytext(),yyline,yychar,yychar+2)); } ++ "&" { return (new Yytoken(20,yytext(),yyline,yychar,yychar+1)); } ++ "|" { return (new Yytoken(21,yytext(),yyline,yychar,yychar+1)); } ++ ":=" { return (new Yytoken(22,yytext(),yyline,yychar,yychar+2)); } ++ ++ {NONNEWLINE_WHITE_SPACE_CHAR}+ { } ++ ++ \n { } ++ ++ "/*" { yybegin(COMMENT); comment_count = comment_count + 1; } ++ ++ "/*" { comment_count = comment_count + 1; } ++ "*/" { ++ comment_count = comment_count - 1; ++ Utility.assert(comment_count >= 0); ++ if (comment_count == 0) { ++ yybegin(YYINITIAL); ++ } ++} ++ {COMMENT_TEXT} { } ++ ++ \"{STRING_TEXT}\" { ++ String str = yytext().substring(1,yytext().length() - 1); ++ ++ Utility.assert(str.length() == yytext().length() - 2); ++ return (new Yytoken(40,str,yyline,yychar,yychar + str.length())); ++} ++ \"{STRING_TEXT} { ++ String str = yytext().substring(1,yytext().length()); ++ ++ Utility.error(Utility.E_UNCLOSEDSTR); ++ Utility.assert(str.length() == yytext().length() - 1); ++ return (new Yytoken(41,str,yyline,yychar,yychar + str.length())); ++} ++ {DIGIT}+ { ++ return (new Yytoken(42,yytext(),yyline,yychar,yychar + yytext().length())); ++} ++ {ALPHA}({ALPHA}|{DIGIT}|_)* { ++ return (new Yytoken(43,yytext(),yyline,yychar,yychar + yytext().length())); ++} ++ . { ++ System.out.println("Illegal character: <" + yytext() + ">"); ++ Utility.error(Utility.E_UNMATCHED); ++} ++ ++ ++ ++ ++ ++ ++ diff --git a/tests/jvm98/mpegaudio.diff b/tests/jvm98/mpegaudio.diff new file mode 100644 index 000000000..f1f367641 --- /dev/null +++ b/tests/jvm98/mpegaudio.diff @@ -0,0 +1,2752 @@ +diff -Nu mpegaudio1/Context.java mpegaudio/Context.java +--- mpegaudio1/Context.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/Context.java Tue Nov 26 11:35:40 2002 +@@ -0,0 +1,444 @@ ++/* ++ * @(#)Context.java 1.31 06/17/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.harness; ++ ++/** ++ * This class is used to define the context for the execution of the ++ * benchmark. This container class has the parameters which can hold ++ * the benchmark run specific parameters like the run time, speed, ++ * files opened, number of cached_files, SpecBasePath, console window ++ * for displaying the trace ++ */ ++ ++ ++public final class Context{ ++ ++/** ++ * SpecBasePath is used to define the base directory of the specJava ++ * @see java.lang.String ++ */ ++ private static String SpecBasePath = ""; ++ ++/** ++ * NetworkAccess flag is used to define whether the benchmark uses ++ * the network or not ++ */ ++ static boolean NetworkAccess = false; ++ ++/** ++ * BasePath ++ * @see java.lang.String ++ */ ++ static String BasePath = ""; ++ ++/** ++ * speed is used to define the benchmark run length. The benchmarks ++ * can be run at 1%, 10% and 100% of their full length of execution. ++ * Some times the % variation is reflected by just altering the loop ++ * count in the benchmark (ie repeatedly executing the same benchmark) ++ */ ++ static int speed = 100; ++ ++/** ++ * CachedInput is flag used to indicate, whether the classes have to ++ * be cached or not. When the benchmark is run by the harness. The ++ * classes are fetched over the net during the first run. The execution ++ * time in this case includes the network load time. Depending on the ++ * user selection this flag will be toggled and used to cache the ++ * classes loaded first time. The second run uses these cached ++ * classes if flag is turned on. ++ */ ++ static boolean CachedInput = true; ++ ++/** ++ * IOtime is gives the cumilative io time of the all the io calls in ++ * in the execution of the benchmark. The refference time is taken ++ * before entering the io routine and the refference time is taken at ++ * the time of exiting from the routine. The difference between them ++ * gives the time sepent in that routine. All such times are ++ * accumilated to give the overall io time in the benchmark execution. ++ * see @java.lang.System#getSystemTime ++ */ ++ static boolean batch = false; ++ ++/** ++ * This flag is used to turn on/off the graphicsMode. Some of the tests ++ * have the graphics in them. The graphics are conditionally enabled or ++ * disabled depending on the final version of SpecJava ++ */ ++ static boolean graphicsMode = false; ++ ++/** ++ * The parameter is used to for storing the IOtime of the current benchmark ++ * under execution. ++ */ ++ static long IOtime = 0; ++ ++/** ++ * num_files_open is an integer variable to hold the number of files ++ * opened during the benchmark run. ++ */ ++ static int num_files_open = 0; ++ ++/** ++ * cached_data is an integer variable to hold the number of bytes of ++ * data that is cached. This can be more than zero for the first run ++ * but this has to be zero for the subsequent runs. ++ */ ++ static int cached_data = 0; ++ ++/** ++ * num_cached_files is an integer variable to hold the number of files ++ * cached during the run of the benchmark. ++ */ ++ static int num_cached_files = 0; ++ ++/** ++ * userPropFile is the string used to hold the user profile file name ++ * The user profile file has the user specific data, which can also be ++ * modified by using the setup key. The Setup parameters are initialized ++ * with the data from the user profile file ++ */ ++ static String userPropFile; ++ ++/** ++ * verify flag is used to turn on/off the verification process of benchmark ++ * runs. ++ */ ++ static boolean verify = true; ++ ++/** ++ * commandLineMode is a flag that holds the value which indicate whether the ++ * benchmark is running in command line mode or as an applet. ++ */ ++ static boolean commandLineMode = false; ++ ++/** ++ * window is the ConsoleWindow object type where the trace of the ++ * benchmark execution is displayed. ++ * @see spec.harness.ConsoleWindow ++ */ ++ ++/** ++ * out is the PrintStream into which the trace messages will be written. ++ * This is assigned to the System.output stream by default ++ */ ++ public static java.io.PrintStream out = System.out; ++ ++/** ++ * This function returns the integer value given the String form ++ * of it. In case of any number format exception, the function returns ++ * default value. ++ * @param s String value passed ++ * @param deft the default value to be returned. ++ */ ++ public static int getValue(String s, int deft) { ++ ++ try { ++ return Integer.parseInt(s, 10); ++ } catch(NumberFormatException x) {} ++ ++ return deft; ++ } ++ ++/** ++ * This function creates the new Console window and the print stream ++ * @see spec.harness.ConsoleWindow ++ */ ++ public static void setupConsoleWindow(){ ++ } ++ ++/** ++ * This function set the SpecBasePath to the string value passed with ++ * some data stripped. ++ * @param basePath The URL of the file ++ */ ++ public static void setSpecBasePath(String basepath){ ++ if (basepath.indexOf("file:" , 0) == 0){ ++ SpecBasePath = basepath.substring(5); ++ } ++ else{ ++ SpecBasePath = basepath; ++ } ++ ++ if (SpecBasePath.indexOf("http:" , 0) == 0){ ++ NetworkAccess = true; ++ } else { ++ while (SpecBasePath.charAt(0) == '/' && SpecBasePath.charAt(1) == '/') { ++ SpecBasePath = SpecBasePath.substring(1); ++ } ++ } ++ } ++ ++/** ++ returns the specbase path ++ */ ++ public static String getSpecBasePath(){ ++ return SpecBasePath; ++ } ++ ++/** ++ * Increments the the cached_data parameter by the integer passed. ++ * @param num increment value ++ */ ++ public static void addCachedDataSize(int num){ ++ cached_data += num; ++ } ++ ++/** ++ * gets the cached data size. ++ * @return The cached_data value ++ */ ++ public static int getCachedDataSize(){ ++ return cached_data; ++ } ++ ++/** ++ * Increments the the num_cached_files parameter by 1. ++ */ ++ public static void IncrementNumCachedFiles(){ ++ num_cached_files++; ++ } ++ ++/** ++ * gets the numbef of cached files. ++ * @return The num_cached_files value ++ */ ++ public static int getNumCachedFiles(){ ++ return num_cached_files; ++ } ++ ++/** ++ * Increments the number of Files open parameter. The number of files ++ * open parameter is used for debugging purposes to findout whether the ++ * finalizers are called or not ++ */ ++ public static void IncrementNumOpenFiles(){ ++ num_files_open++; ++ } ++ ++/** ++ Decrements the number of Files open parameter ++ */ ++ public static void DecrementNumOpenFiles(){ ++ num_files_open--; ++ } ++ ++/** ++ returns the number of files open ++ */ ++ public static int getNumOpenFiles(){ ++ return num_files_open; ++ } ++ ++/** ++ * sets the benchmark relative path. For example if SpecBasepath is ++ * /var/htdocs/v11/spec, The relative benchmark path path for ++ * _201_compress is benchmarks/_201_compress. This function adds these ++ * two strings and forms the BasePath ++ * BasePath = /var/htdocs/v11/spec + benchmarks/_201_compress ++ * @param rpath Relative path of the benchmark ++ */ ++ public static void setBenchmarkRelPath(String rpath){ ++ BasePath = SpecBasePath + rpath; ++ } ++ ++ ++/** ++ * This function changes the basepath to point to the input directory ++ * of the benchmark. this function just concatinates the "/input" ++ * to the existing basepath if it is not added already. ++ */ ++ public static void cdInput(){ ++ if( !BasePath.endsWith( "input/" )) { ++ BasePath = BasePath + "input/" ; ++ } ++ } ++ ++/** ++ * Sets the network access flag ++ * @param flag Flag indicating the network access ++ */ ++ public static void setNetworkAccess(boolean flag){ ++ ++ NetworkAccess = flag; ++ } ++ ++/** ++ Returns the spec base path. This function is handly in loading the files ++ from the relative directories. ++ */ ++ public static String getBasePath(){ ++ ++ return BasePath; ++ } ++ ++/** ++ Indicates whether SpecJVMClient is running as an applet or application ++ */ ++ public static boolean isNetworkAccess(){ ++ ++ return NetworkAccess; ++ ++ } ++ ++/** ++ * Sets the speed of execution to the value passed. Depending on the ++ * user's selection, the speed of execution is set as 1% 10% or 100% ++ * @param n Speed selected by the user ++ */ ++ public static void setSpeed( int n ) { ++ speed = n; ++ } ++ ++/** ++ Returns the speed of the benchmark. ++ */ ++ public static int getSpeed() { ++ return speed; ++ } ++ ++/** ++ Sets the CachedInput flag. The data is read from the Cache during the second ++ run if this flag is set. ++ */ ++ public static void setCachedInputFlag( boolean cif ){ ++ CachedInput = cif; ++ } ++ ++/** ++ Sets the batch flag ++ @param b boolean value for the batch flag ++ */ ++ public static void setBatch( boolean b ){ ++ batch = b; ++ } ++ ++/** ++ Returns whether SpecJVMClient is running in batch mode ++ */ ++ public static boolean isBatch(){ ++ return batch; ++ } ++ ++/** ++ Sets the graphics mode. Normally SepcJVM client runs with graphics disabled. ++ This flag is for future extensions and debugging ++ */ ++ public static void setGraphicsMode (boolean mode){ ++ graphicsMode = mode; ++ } ++ ++/** ++ Returns the graphic mode flag value ++ */ ++ public static boolean getGraphicsMode(){ ++ return graphicsMode; ++ } ++ ++/** ++ Sets the user properties file. These properties are stored in the mail sent at ++ the end of the test ++ @param s Properties file name ++ */ ++ public static void setUserPropFile( String s){ ++ userPropFile = s; ++ } ++ ++/** ++ Returns the properties file name ++ */ ++ public static String getUserPropFile(){ ++ return userPropFile; ++ } ++ ++/** ++ Returns the cached input flag ++ */ ++ public static boolean isCachedInput(){ ++ return CachedInput; ++ } ++ ++/** ++ Clears the IOtiming. This is normally done before starting a benchmark ++ */ ++ public static void clearIOtime(){ ++ IOtime = 0; ++ } ++ ++/** ++ Increments the IOTime by the value provided ++ @param time Incremental value ++ */ ++ public static void addIOtime(long time){ ++ IOtime = IOtime + time; ++ } ++ ++/** ++ Returns the IO time ++ */ ++ public static long getIOtime(){ ++ return IOtime; ++ } ++ ++ /** ++ * Set commandLineMode flag ++ */ ++ public static void setCommandLineMode(boolean value) { ++ commandLineMode = value; ++ } ++ ++ ++ /** ++ * Get commandLineMode flag ++ */ ++ public static boolean getCommandLineMode() { ++ return commandLineMode; ++ } ++ ++ ++ /** ++ * Set verify flag ++ */ ++ public static void setVerify(boolean value) { ++ verify = value; ++ } ++ ++ ++ /** ++ * Get verify flag ++ */ ++ public static boolean getVerify() { ++ return verify; ++ } ++ ++ ++ /** ++ * Start output window ++ */ ++ public static void startOutputWindow() { ++ } ++ ++ ++ /** ++ * Stop output window ++ */ ++ public static void stopOutputWindow() { ++ } ++ ++ /** ++ * Output to console window ++ */ ++ public static void appendWindow(String s) { ++ System.out.print(s); ++ } ++} ++ +diff -Nu mpegaudio1/File.java mpegaudio/File.java +--- mpegaudio1/File.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/File.java Tue Nov 26 11:02:12 2002 +@@ -0,0 +1,356 @@ ++/* ++ * @(#)File.java 1.5 06/17/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.io; ++ ++/** ++ This class extends the java.io.File and provides some extra functionality. ++ File object maintains a static table of files called the Table of existing ++ files. The files listed in the TableOfExisting files are loaded from the ++ local disk. All the other files are loaded over the network. ++*/ ++public class File extends java.io.File{ ++ ++/** ++ Variable representing the file name ++ */ ++ ++ String filename; ++ ++/** ++ Table to hold the ListOfExisting files ++ */ ++ private static TableOfExistingFiles tef = new TableOfExistingFiles(); ++ ++/** ++ Constructor. ++ @param Path of the file (includes the file name also) ++ */ ++ public File(String path){ ++ ++ super(path); ++ ++ //System.out.println("Inside constructor File(" + path + ")"); ++ ++ filename = path; ++ ++ } ++ ++/** ++ Overloaded constructor which takes the path and the files name to load the ++ file ++ @param path Directory of the file ++ @param name file name ++ */ ++ public File(String path , String name){ ++ ++ super(path , name); ++ ++ //System.out.println("Inside constructor File(" + path + " , " + name + ")"); ++ ++ filename = path + name; ++ ++ } ++ ++/** ++ Overloaded constructor which takes the directory in the File object format ++ and a name of the file. ++ @param dir Directory of the file in the File object format ++ @param name file name ++ */ ++ public File(File dir , String name){ ++ ++ super(dir , name); ++ ++ //System.out.println("Inside constructor File(dir, name) , dir.getName = " + dir.getName()); ++ ++ filename = dir.getPath() + name; ++ ++ } ++ ++/** ++ returns the name of the file ++ @return name of file ++ */ ++ public String getName(){ ++ ++ String returnvalue = super.getName(); ++ ++ //System.out.println("Inside File.getName() , \nfilename = " + filename + "\nreturnvalue = " +returnvalue); ++ ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ returns the path of the file ++ */ ++ public String getPath(){ ++ ++ String returnvalue = super.getPath(); ++ ++ //System.out.println("Inside File.getPath() , filename = " + filename + " returnvalue = " +returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ returns tha absolutePath of the file Dir + name ++ */ ++ public String getAbsolutePath(){ ++ ++ String returnvalue = super.getAbsolutePath(); ++ ++ //System.out.println("Inside File.getAbsolutePath() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ returns the Parent directory name ++ */ ++ ++ public String getParent(){ ++ ++ String returnvalue = super.getParent(); ++ ++ //String returnvalue = null; ++ ++ //System.out.println("Inside File.getParent() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Checks whether the given file name exists or not ++ */ ++ public boolean exists(){ ++ ++ //boolean returnvalue = super.exists(); ++ ++ boolean returnvalue = tef.exists( filename.replace( '\\', '/' ) ); ++ ++ //System.out.println("Inside File.exists() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Checks whether the given file is writablle or not ++ */ ++ public boolean canWrite(){ ++ ++ boolean returnvalue = super.canWrite(); ++ ++ //System.out.println("Inside File.canWrite() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Checks whether the given file is readable ++ */ ++ public boolean canRead(){ ++ ++ boolean returnvalue = super.canRead(); ++ ++ //System.out.println("Inside File.canRead() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Checks whether the given file name is a file or directory ++ The functionality is modified to return whether the file name is classes.zip ++ or not ++ */ ++ public boolean isFile(){ ++ ++ //boolean returnvalue = super.isFile(); ++ ++ boolean returnvalue = filename.endsWith("classes.zip"); ++ ++ //System.out.println("Inside File.isFile() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Checks whether the given file name is directory or not ++ */ ++ public boolean isDirectory(){ ++ ++ boolean returnvalue = super.isDirectory(); ++ ++ //System.out.println("Inside File.isDirectory() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Returns the date of last modification ++ */ ++ public long lastModified(){ ++ ++ long returnvalue = super.lastModified(); ++ ++ //System.out.println("Inside File.lastModified() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Returns the length of the file ++ */ ++ public long length(){ ++ ++ long returnvalue = super.length(); ++ ++ //System.out.println("Inside File.length() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Creates a new directory ++ */ ++ public boolean mkdir(){ ++ ++ boolean returnvalue = super.mkdir(); ++ ++ //System.out.println("Inside File.mkdir() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Renames the file ++ */ ++ public boolean renameTo(File dest){ ++ ++ boolean returnvalue = super.renameTo(dest); ++ ++ //System.out.println("Inside File.renameTo() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Creates a directory whose pathname is specified by this File object, ++ including any necessary parent directories. ++ */ ++ public boolean mkdirs() { ++ ++ boolean returnvalue = super.mkdirs(); ++ ++ //System.out.println("Inside File.mkdirs() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Returns a list of the files in the directory specified by this File object ++*/ ++ public String[] list(){ ++ ++ String[] returnvalue = super.list(); ++ ++ //System.out.println("Inside File.list() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Returns a list of the files in the directory specified by this File that ++ satisfy the specified filter. ++*/ ++ public String[] list(java.io.FilenameFilter filter){ ++ ++ String[] returnvalue = super.list(filter); ++ ++ //System.out.println("Inside File.list(filter) , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Deletes the file specified by this object. ++ */ ++ public boolean delete(){ ++ ++ boolean returnvalue = super.delete(); ++ ++ //System.out.println("Inside File.delete() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Computes a hashcode for the file. ++ */ ++ public int hashCode(){ ++ ++ int returnvalue = super.hashCode(); ++ ++ //System.out.println("Inside File.hashcode() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++/** ++ Compares this object against the specified object. ++ */ ++ public boolean equals(Object obj){ ++ ++ boolean returnvalue = super.equals(obj); ++ ++ //System.out.println("Inside File.equals() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ } ++ ++/** ++ Returns a string representation of this object. ++*/ ++ public String toString(){ ++ ++ String returnvalue = super.toString(); ++ ++ //System.out.println("Inside File.toString() , filename = " + filename + " returnvalue = " + returnvalue); ++ ++ return returnvalue; ++ ++ } ++ ++} ++ ++ ++ ++ ++ ++ +diff -Nu mpegaudio1/FileCacheData.java mpegaudio/FileCacheData.java +--- mpegaudio1/FileCacheData.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/FileCacheData.java Tue Nov 26 11:01:41 2002 +@@ -0,0 +1,105 @@ ++/* ++ * @(#)FileCacheData.java 1.3 06/17/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.io; ++ ++import java.util.*; ++ ++/** ++ SpecJVMClient maintains the internal cache. The data is read over the network ++ for the first run and it is cached. The cached data is used for subsequent runs ++ The FileInputStream object contains a FileCacheData object which caches data ++ @see spec.io.FileInputStream ++ */ ++public class FileCacheData{ ++ ++/** ++ Data buffer to cache data ++ */ ++ private byte[] data = null; ++ ++/** ++ Total number of bytes present in the data buffer at anytime ++ */ ++ private int total_num_bytes = 0; ++ ++/** ++ Constructor ++ @param len Length of the file. The byte array of 'len' size is created ++ */ ++ public FileCacheData(int len){ ++ ++ data = new byte[len]; ++ ++ } ++ ++/** ++ Creates the byte array to hold the file data. The size of the file is passed ++ as argument. ++ @param len Length of the file ++ */ ++ public void createData(int len){ ++ ++ data = new byte[len]; ++ ++ } ++ ++/** ++ Copies the given specified of bytes from the given buffer from given offset ++ to the data buffer of the FileCacheData object ++ @param b[] 'from' byte array ++ @param off Offset within the byte array ++ @param num_bytes Number of bytes to be copied ++ */ ++ public void copyData(byte b[] , int off , int num_bytes){ ++ ++ System.arraycopy(b,off,data,total_num_bytes, num_bytes); ++ total_num_bytes += num_bytes; ++ ++ } ++ ++/** ++ Copies the byte to the data buffer. Increments the number of bytes field ++ @param b byte to be copied ++ */ ++ public void copyData(byte b){ ++ ++ data[total_num_bytes] = b; ++ total_num_bytes += 1; ++ ++ } ++ ++/** ++ Skips a portion of buffer ++ */ ++ public void skipPos(long n){ ++ total_num_bytes += n; ++ } ++ ++ /** ++ Converts the data buffer array to InputStream ++ */ ++ public java.io.InputStream getInputStream(){ ++ ++ return new java.io.ByteArrayInputStream(data , 0 , total_num_bytes); ++ ++ } ++ ++/** ++ Returns the length of the buffer. ++ */ ++ public int getLength(){ ++ return total_num_bytes; ++ } ++ ++} ++ ++ ++ +diff -Nu mpegaudio1/FileInputStream.java mpegaudio/FileInputStream.java +--- mpegaudio1/FileInputStream.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/FileInputStream.java Tue Nov 26 11:28:57 2002 +@@ -0,0 +1,893 @@ ++/* ++ * @(#)FileInputStream.java 1.33 06/17/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.io; ++ ++import java.util.*; ++import java.net.*; ++//import spec.harness.*; ++ ++ ++/** ++ This class extends the java.io.InputStream and provides some extra functionality ++ for caching the data. It also keeps a count of the number of filestreams ++ opened by the SpecJVMClient, number of files read, number of bytes read, ++ io times spent ++ @see java.io.InputStream ++ @see spec.io.FileCacheData ++ */ ++public class FileInputStream extends java.io.InputStream{ ++ ++ ++ ++ //************************* Static variables****************************// ++ // Constants ++ private static final int LENGTH_ERROR = -1; ++ ++ // Cache variables ++ ++/** ++ Maintains a list of cached files ++ */ ++ private static Hashtable filecache = new Hashtable(); ++ ++/** ++ Maintains a list of opened InputStreams ++ */ ++ private static Vector openedInputStreams = new Vector(); ++ ++/** ++ Enables or disables the Debug mode of operation ++ */ ++ public static boolean debug = false; ++ public static boolean testing = false; ++ ++/** ++ Keeps a count of closed filestreams ++ */ ++ public static int numofCloses = 0; ++ ++ // How and whether to retry http operations ++/** ++ Number of retries before declaring the error in opening the file ++ */ ++ private static int nRetry = 5; // times to try ++ ++/** ++ Sleep time between two successive retries ++ */ ++ private static int retryDelay = 5000; // milliseconds ++ ++/** ++ Total retries made throughout the benchmark suit ++ */ ++ private static int totalRetries = 0; // count over all benchmarks ++ ++/** ++ A flag to control which API to be used ++ */ ++ private static boolean use11net = true; // use 1.1 API instead of ++ ++ // IO Stats variables ++ ++/** ++ Number of open files ++ */ ++ private static int num_open_files = 0; ++ ++/** ++ Number of files used ++ */ ++ private static int num_files_used = 0; ++ ++/** ++ Number of cached files ++ */ ++ private static int num_cached_files = 0; ++ ++/** ++ Size of the cache at a given time ++ */ ++ private static int size_cached_data = 0; ++ ++/** ++ Total number of bytes read from the cache for executing this benchmark ++ */ ++ private static int total_num_of_byte_reads_from_cache = 0; ++ ++/** ++ Total number of bytes read from file ++ */ ++ private static int total_num_of_byte_reads_from_file = 0; ++ ++/** ++ Total number of bytes read from the URL ++ */ ++ private static int total_num_of_byte_reads_from_url = 0; ++ ++/** ++ Number of cache hits ++ */ ++ private static int num_cache_hits = 0; ++ ++/** ++ Number of cache misses or number of files hits ++ */ ++ private static int num_cache_misses = 0; ++ ++/** ++ IOtime for executing this benchmark ++ */ ++ private static long IOtime =0; ++ ++/** ++ Caching time for executing this benchmark ++ */ ++ private static long Cachingtime = 0; ++ //********************** End Static variables****************************// ++ ++ ++ ++ //************************* Static methods******************************// ++ ++ // Cache methods ++ ++/** ++ Clears the cache data and updates the Caching parameters ++ */ ++ public static void clearCache(){ ++ filecache = new Hashtable(); ++ num_cached_files = 0; ++ size_cached_data = 0; ++ num_cache_hits = 0; ++ num_cache_misses = 0; ++ } ++ ++/** ++ Closes all the opened streams ++ */ ++ public static void closeAll() throws java.io.IOException{ ++ ++ Enumeration all_opened_in_streams = openedInputStreams.elements(); ++ if(debug) { ++ System.out.println("Close all called"); ++ } ++ ++ while(all_opened_in_streams.hasMoreElements()){ ++ ++ try{ ++ java.io.InputStream in = (java.io.InputStream)all_opened_in_streams.nextElement(); ++ in.close(); ++ num_open_files--; ++ }catch(NoSuchElementException e){ ++ } ++ } ++ ++ } ++ ++ ++ // IO Stats methods ++ ++ /* ++ * could be useful in debugging ++ public static String getListCachedFiles(){ ++ StringBuffer buf = new StringBuffer(); ++ for (Enumeration e = filecache.keys(); e.hasMoreElements(); ){ ++ buf.append ((String)(e.nextElement())); ++ buf.append (","); ++ } ++ return buf.toString(); ++ } ++ */ ++/** ++ Returns the number of open files ++ */ ++ public static int getNumOpenFiles(){ ++ return num_open_files; ++ } ++ ++/** ++ Returns the number of used files ++ */ ++ public static int getNumUsedFiles(){ ++ return num_files_used; ++ } ++ ++/** ++ Returns the number of Cached files ++*/ ++ public static int getNumCachedFiles(){ ++ return num_cached_files; ++ } ++ ++/** ++ Returns the size of the cached data ++*/ ++ public static int getCachedDataSize(){ ++ return size_cached_data; ++ } ++ ++ /** ++ Returns the number of bytes read from the cache ++ */ ++ public static int getNumCacheByteReads(){ ++ return total_num_of_byte_reads_from_cache; ++ } ++ ++ /** ++ Returns the number of bytes read from the file ++ */ ++ public static int getNumFileByteReads(){ ++ return total_num_of_byte_reads_from_file; ++ } ++ ++/** ++ Returns the number of bytes read form the URL ++ */ ++ public static int getNumUrlByteReads(){ ++ return total_num_of_byte_reads_from_url; ++ } ++ ++/** ++ Returns the number of cache hits in executing the current benchmark ++ */ ++ public static int getNumCacheHits(){ ++ return num_cache_hits; ++ } ++ ++/** ++ Returns the number of cache misses in executing the current benchmark ++ */ ++ public static int getNumCacheMisses(){ ++ return num_cache_misses; ++ } ++ ++/** ++ Returns the IO time spent in executing the current benchmark ++ */ ++ public static long getIOtime(){ ++ return IOtime; ++ } ++ ++/** ++ Returns the Caching time ++ */ ++ public static long getCachingtime(){ ++ return Cachingtime; ++ } ++ ++/** ++ Return the total retries ++ */ ++ public static int getTotalRetries(){ ++ return totalRetries; ++ } ++ ++/** ++ Clears the IO statistics variables. ++ */ ++ public static void clearIOStats(){ ++ num_files_used = 0; ++ total_num_of_byte_reads_from_cache = 0; ++ total_num_of_byte_reads_from_file = 0; ++ total_num_of_byte_reads_from_url = 0; ++ IOtime = 0; ++ Cachingtime = 0; ++ } ++ ++/** ++ Checks whether the given URL is valid or not. ++ */ ++ public static boolean IsURLOk(URL url){ ++ ++ /* should have no leading/trailing LWS ++ * expedite the typical case by assuming it has ++ * form "HTTP/1.x 2XX " ++ */ ++ int ind; ++ try { ++ ++ URLConnection urlc = url.openConnection(); ++ ++ String resp = urlc.getHeaderField(0); ++ ++ if( resp == null ) { ++// System.out.println( "resp == NULL in IsURLOk" ); ++ return true; ++ } ++ ++ ind = resp.indexOf(' '); ++ while(resp.charAt(ind) == ' ') ++ ind++; ++ int responseCode = Integer.parseInt(resp.substring(ind, ind + 3)); ++ ++ if (debug){ ++ System.out.println("responseCode = " + responseCode); ++ } ++ ++ return !( ((responseCode >= 400) && (responseCode <= 415)) || ++ ((responseCode >= 500) && (responseCode <= 505)) ++ ); ++ ++ } catch (java.io.IOException e) { ++ System.out.println("Exception in IsURLOk " + e ); ++ return false; ++ } ++ ++ } ++ ++ ++/** ++ Constructs the URL for the server file given the file name ++ */ ++ private static String makeGoodUrl(String str){ ++ ++ String retstr; ++ ++ retstr = str.replace( '\\', '/' ); ++ ++ int ind = 0; ++ ++ if (retstr.startsWith("http")){ ++ ind = 6; ++ } ++ ++ if (retstr.indexOf("//" , ind) != -1){ ++ char c[] = retstr.toCharArray(); ++ int len = retstr.length(); ++ for(int i = ind; i < len; i++){ ++ ++ if (c[i] == '/'){ ++ int j = i+1; ++ ++ while( (j < len) && (c[j] == '/') ){ ++ j = j+1; ++ } ++ if (j > (i+1)){ ++ for(int k = i+1 , l = j; l < len; l++ , k++){ ++ c[k] = c[l]; ++ } ++ len = len - (j-i-1); ++ } ++ } ++ retstr = new String(c , 0 , len); ++ } ++ } ++ return retstr; ++ } ++ ++ //********************** End Static methods****************************// ++ ++ ++ ++/** ++ The file URL ++ */ ++ private String my_file_url; ++ ++/** ++ ++ */ ++ private java.io.InputStream orig_in; ++ ++/** ++ Length of the FileInputStream ++ */ ++ private int len = 0; ++ ++/** ++ Flag indicating whether the file stream is closed or not ++ */ ++ private boolean closed = false; ++ ++/** ++ Flag indicating whether to cache the data during the first loading or not ++ */ ++ private boolean doCache; ++ ++/** ++ Flag indicating whether the data is from the Cache ++ */ ++ private boolean fromCache = false; ++ ++/** ++ Flag indicating whether the data is from URL ++ */ ++ private boolean fromUrl = false; ++ ++ /** ++ Updates the file read statistics ++ @param len Length of the FileStream ++ */ ++ private void collectReadStats(int len){ ++ ++ if (len <= 0){ ++ return; ++ } ++ ++ if (fromCache){ ++ total_num_of_byte_reads_from_cache += len; ++ } ++ else{ ++ if (fromUrl){ ++ total_num_of_byte_reads_from_url += len; ++ } ++ else{ ++ total_num_of_byte_reads_from_file += len; ++ } ++ } ++ ++ } ++ ++ ++ /** ++ * Main class constructor. ++ * ++ * Try and find the strange URL open bug by catching any exceptions and calling the ++ * System finalizer to try and close the sockets. ++ */ ++ public FileInputStream(String input_filename) throws java.io.FileNotFoundException, ++ java.net.MalformedURLException , java.io.IOException { ++ super(); ++ ++ try { ++ construct(input_filename); ++ } catch(Exception a) { ++ System.out.println ( "----------------------------------"); ++ System.out.println ( "spec.io.FileInputStream: Caught exception in constructor: "+a); ++ System.out.println ( "trying to open: " + input_filename); //wnb ++ System.out.println ( "spec.io.FileInputStream: Attempting recovery with System.runFinalization()"); ++ System.gc(); ++ System.runFinalization(); ++ try { ++ construct(input_filename); ++ } catch(Exception b){ ++ System.out.println ( "----------------------------------"); ++ System.out.println ( "spec.io.FileInputStream: Caught exception in constructor at second level: "+a); ++ if ( !(b instanceof java.io.FileNotFoundException) ) { ++ System.out.println ( "spec.io.FileInputStream: Exiting benchmark"); ++ printStackTrace(b); ++ throw new StopBenchmarkException( "spec.io.FileInputStream failure" ); ++ } else { ++ throw (java.io.FileNotFoundException)b; ++ } ++ } ++ } ++ } ++ ++/** ++ Constructs thd FileInputStream object from the given file name ++ */ ++ private void construct(String input_filename) throws Exception{ ++ ++ long startTime = System.currentTimeMillis(); ++ ++ my_file_url = makeGoodUrl(input_filename); ++ ++ num_open_files++; ++ num_files_used++; ++ ++ if (filecache.containsKey(my_file_url)){ ++ ++ long cacheStartTime = System.currentTimeMillis(); ++ ++ doCache = false; // no need to cache data -- data is already in cache ++ fromCache = true; // read data from cache ++ ++ num_cache_hits++; // we have a hit ++ ++ if (debug){ ++ System.out.println("\n++++++++making InputStream from cached " + my_file_url); ++ } ++ ++ ++ // Get the cached data from the filecache ++ FileCacheData fcd = (FileCacheData)filecache.get(my_file_url); ++ ++ // Get the length of the data ++ len = fcd.getLength(); ++ ++ // Get an inputStream to read data form the cache ++ orig_in = fcd.getInputStream(); ++ ++ long cacheEndTime = System.currentTimeMillis(); ++ Cachingtime += (cacheEndTime - cacheStartTime); ++ } ++ else{ ++ ++ num_cache_misses++; // we have a miss ++ ++ if (debug){ ++ System.out.println("\n++++++++Opening InputStream for " + my_file_url); ++ } ++ ++ ++ openStream(); // open an inputStream through network or file I/O ++ ++ ++ if (false){ ++ ++ long cacheStartTime = System.currentTimeMillis(); ++ ++ doCache = true; // we have to cache data ++ ++ // create a new FileCacheData object of size len and put it in the filecache ++ // with my_file_url as the key ++ ++ FileCacheData fcd = new FileCacheData(len); ++ filecache.put(my_file_url , fcd); ++ ++ size_cached_data += len; ++ num_cached_files++; ++ ++ long cacheEndTime = System.currentTimeMillis(); ++ Cachingtime += (cacheEndTime - cacheStartTime); ++ } ++ else{ ++ doCache = false; ++ } ++ ++ // Keep track of all the InputStreams opened so far. ++ openedInputStreams.addElement(orig_in); ++ ++ ++ } ++ ++ long endTime = System.currentTimeMillis(); ++ long totalTime = endTime - startTime; ++ ++ ++ IOtime += totalTime; ++ } ++ ++ ++ /** ++ * Prints the stack backtrace to Context.out. If this is an instance of ++ * spec.io.PrintStream (it normally will be) then the default validity ++ * check value is changed to '1'. This is the code that means all data ++ * should be compaired and will ensure that the benchmark fails the ++ * validity check process. ++ */ ++ void printStackTrace(Exception x) { ++ java.io.PrintStream str = System.out; ++ x.printStackTrace(System.out); ++ } ++ ++/** ++ Opens the FileInputStream ++ */ ++ private void openStream() throws java.io.FileNotFoundException, ++ java.net.MalformedURLException , java.io.IOException{ ++ ++ if (false){ ++ fromUrl = true; ++ URL url = new URL(my_file_url); ++ URLConnection urlc = url.openConnection(); ++ len = urlc.getHeaderFieldInt("content-length", LENGTH_ERROR); ++ for (int retry=0; retry < nRetry && len == LENGTH_ERROR; retry++){ ++ if (urlc instanceof HttpURLConnection) ++ ((HttpURLConnection) urlc).disconnect(); ++ urlc = null; ++ System.gc(); ++ System.runFinalization(); ++ if (debug) ++ System.out.println ("GET failed on " + my_file_url); ++ try{ ++ Thread.sleep (retryDelay); ++ }catch (InterruptedException e){} ++ urlc = url.openConnection(); ++ urlc.connect(); ++ len = urlc.getHeaderFieldInt("content-length", LENGTH_ERROR); ++ totalRetries++; ++ } ++ if (use11net && (urlc instanceof HttpURLConnection)){ ++ HttpURLConnection urlh = (HttpURLConnection) urlc; ++ if (urlh.getResponseCode() != HttpURLConnection.HTTP_OK) ++ throw new java.io.FileNotFoundException( my_file_url + ++ ": " + urlh.getResponseMessage()); ++ }else{ ++ if (!IsURLOk(url)) ++ throw new java.io.FileNotFoundException( my_file_url ); ++ } ++ ++ if (len == LENGTH_ERROR){ ++ throw new java.io.IOException("Cannot establish URL content-length"); ++/* ++ System.out.println("Error getting size of file -- turning off caching"); ++ spec.harness.Context.setCachedInputFlag(false); ++*/ ++ } ++ ++ if (debug){ ++ if (len == LENGTH_ERROR){ ++ if (urlc == null){ ++ System.out.println("urlc is null"); ++ } ++ else{ ++ System.out.println("urlc = " + urlc); ++ } ++ } ++ System.out.println("++++++++spec.io.FileInputStream url len = " + len); ++ } ++ ++ try{ ++ orig_in = urlc.getInputStream(); ++ }catch(java.io.IOException ioe){ ++ System.out.println("Error trying to get an inputStream from url connection " + urlc); ++ throw ioe; ++ } ++ ++ }else{ // NOT (Context.isNetworkAccess()) ++ ++ File file = new File(my_file_url); ++ len = (int)file.length(); ++ ++ if (debug){ ++ System.out.println("++++++++spec.io.FileInputStream file len = " + len); ++ } ++ orig_in = new java.io.FileInputStream(my_file_url); ++ ++ } ++ } ++ ++/** ++ Constructor ++ @param file File object ++ */ ++ public FileInputStream(spec.io.File file) throws java.io.FileNotFoundException, ++ java.net.MalformedURLException , java.io.IOException{ ++ this(file.getPath()); ++ } ++ ++/** ++ Returns the stream length ++ */ ++ public int getContentLength(){ ++ ++ return len; ++ ++ } ++ ++/** ++ Returns the number of bytes that can be read from this input stream without ++ blocking. ++ */ ++ public synchronized int available() throws java.io.IOException{ ++ ++ try{ ++ ++ return orig_in.available(); ++ ++ }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ } ++ ++/** ++ Reads the next byte of data from this input stream. ++ */ ++ public synchronized int read() throws java.io.IOException{ ++ ++ try{ ++ ++ long startTime = System.currentTimeMillis(); ++ ++ int byte_read = orig_in.read(); ++ if ((doCache) && (byte_read != -1)){ ++ ++ long cacheStartTime = System.currentTimeMillis(); ++ ((FileCacheData)filecache.get(my_file_url)).copyData((byte)byte_read); ++ long cacheEndTime = System.currentTimeMillis(); ++ Cachingtime += (cacheEndTime - cacheStartTime); ++ } ++ ++ long endTime = System.currentTimeMillis(); ++ long totalTime = endTime - startTime; ++ ++ ++ IOtime += totalTime; ++ ++ if( debug ){ ++// System.out.println("byte_read = " + byte_read); ++ } ++ ++ collectReadStats(1); ++ return byte_read; ++ ++ }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ } ++ ++/** ++ Reads up to byte.length bytes of data from this input stream into an array of ++ bytes. This method blocks until some input is available. ++ ++ The read method of FilterInputStream calls the read method of three arguments ++ with the arguments b, 0, and b.length, and returns whatever value that method ++ returns. ++ ++ Note that this method does not call the one-argument read method of its ++ underlying stream with the single argument b. Subclasses of FilterInputStream ++ do not need to override this method if they have overridden the three-argument ++ read method. ++ @param b Buffer into which the data is read ++*/ ++ public int read(byte b[]) throws java.io.IOException{ ++ ++ try{ ++ long startTime = System.currentTimeMillis(); ++ ++ int bytes_read = orig_in.read(b); ++ ++ if ((doCache) && (bytes_read > 0)){ ++ ++ long cacheStartTime = System.currentTimeMillis(); ++ ((FileCacheData)filecache.get(my_file_url)).copyData(b, 0, bytes_read); ++ long cacheEndTime = System.currentTimeMillis(); ++ Cachingtime += (cacheEndTime - cacheStartTime); ++ } ++ ++ long endTime = System.currentTimeMillis(); ++ long totalTime = endTime - startTime; ++ ++ ++ IOtime += totalTime; ++ ++ ++ if( debug ){ ++ System.out.println("bytes_read = " + bytes_read); ++ } ++ ++ collectReadStats(bytes_read); ++ return bytes_read; ++ }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ } ++ ++/** ++ Reads up to len bytes of data from this input stream into an array of bytes. ++ This method blocks until some input is available. ++ ++ The read method of FilterInputStream calls the read method of its underlying ++ input stream with the same arguments and returns whatever value that method ++ returns. ++ @param b - the buffer into which the data is read ++ @param off - the start offset of the data ++ @param len - the maximum number of bytes read ++ */ ++ ++ public synchronized int read(byte b[], int off, int len) throws java.io.IOException{ ++ ++ ++ try{ ++ ++ long startTime = System.currentTimeMillis(); ++ ++ int bytes_read = orig_in.read(b, off, len); ++ if ((doCache) && (bytes_read > 0)){ ++ ++ long cacheStartTime = System.currentTimeMillis(); ++ ((FileCacheData)filecache.get(my_file_url)).copyData(b, off, bytes_read); ++ long cacheEndTime = System.currentTimeMillis(); ++ Cachingtime += (cacheEndTime - cacheStartTime); ++ } ++ long endTime = System.currentTimeMillis(); ++ long totalTime = endTime - startTime; ++ ++ ++ IOtime += totalTime; ++ ++ ++ if( debug ){ ++ System.out.println("bytes_read = " + bytes_read); ++ } ++ ++ collectReadStats(bytes_read); ++ return bytes_read; ++ ++ }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ } ++ ++/** ++ Closes this input stream and releases any system resources associated with the ++ stream. The close method of FilterInputStream calls the close method of its ++ underlying input stream. ++ */ ++ public void close() throws java.io.IOException{ ++ ++ try{ ++ if (!closed){ ++ ++ orig_in.close(); ++ numofCloses ++; ++ num_open_files--; ++ ++ ++ if (debug || testing){ ++ System.out.println("++++++++Closing InputStream for " + my_file_url + ++ " " + num_open_files + " " + numofCloses); ++ } ++ ++ closed = true; ++ ++ } ++ else{ ++ if (debug){ ++ System.out.println("++++++++InputStream for " + my_file_url + " has been closed before"); ++ } ++ } ++ }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ ++ } ++ ++/** ++ Skips over and discards n bytes of data from the input stream. The skip method ++ may, for a variety of reasons, end up skipping over some smaller number of ++ bytes, possibly 0. The actual number of bytes skipped is returned. ++ ++ The skip method of FilterInputStream calls the skip method of its underlying ++ input stream with the same argument, and returns whatever value that method ++ does. ++ @param n - number of bytes to be skipped ++ */ ++ public long skip(long n) throws java.io.IOException{ ++ ++ try{ ++ if (debug){ ++ System.out.println("++++++++ Skipping " + n + " positions in InputStream for " + my_file_url); ++ } ++ ++ if (doCache){ ++ ((FileCacheData)filecache.get(my_file_url)).skipPos(n); ++ } ++ return orig_in.skip(n); ++ }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ ++ } ++ ++ /** ++ Finalization method. ++ */ ++ ++ protected void finalize() throws java.io.IOException{ ++ ++ // try{ ++ if (!closed){ ++ ++ if (debug || testing ){ ++ System.out.println("++++++++Calling close Inside finalize for " + my_file_url ); ++ } ++ ++ this.close(); ++ ++ } ++ /* }catch(java.io.IOException ioe){ ++ printStackTrace(ioe); ++ throw new StopBenchmarkException(ioe.toString()); ++ } ++ */ ++ ++ } ++ ++} +diff -Nu mpegaudio1/FileOutputStream.java mpegaudio/FileOutputStream.java +--- mpegaudio1/FileOutputStream.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/FileOutputStream.java Tue Nov 26 11:36:25 2002 +@@ -0,0 +1,128 @@ ++/* ++ * @(#)FileOutputStream.java 1.11 06/17/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.io; ++import spec.harness.Context; ++ ++/** ++ * Dummy output stream that is only used as a place holder and for a little ++ * benchmark validity checking ++ */ ++public class FileOutputStream extends java.io.OutputStream { ++ ++ /** ++ * Development debug flag ++ */ ++ final static boolean debug = false; ++ ++ /** ++ * Count of bytes written ++ */ ++ static int byteCount = -99999999; ++ ++ /** ++ * Checksum ++ */ ++ static int checksum = 0; ++ ++ /** ++ * Standard constructor. It creates the file if it is not existing, but it ++ * truncates the existing data if the file already exists ++ */ ++ public FileOutputStream(String name) throws java.io.IOException{ ++ } ++ ++ /** ++ * Standard constructor. It opens the existing file but doesn't truncate ++ * existing data ++ * @see java.io.FileOutPutStream ++ */ ++ public FileOutputStream(String name, boolean append) throws java.io.IOException { ++ } ++ ++ /** ++ * Standard constructor ++ */ ++ public FileOutputStream(spec.io.File file) throws java.io.IOException { ++ } ++ ++ /** ++ * Writes specified byte into output stream. ++ * @param b - byte to be written ++ */ ++ public void write(int b) throws java.io.IOException { ++ byteCount++; ++ checksum += specialTrace("W", b ); ++ } ++ ++ /** ++ * Write b.length bytes into output stream ++ * @param b - byte array to be written ++ */ ++ public void write(byte b[]) throws java.io.IOException { ++ int len = b.length; ++ byteCount += len; ++ if (len > 0) { ++ checksum += specialTrace("X", b[0] );; // Just checksum the first character ++ } ++ if( debug ) { ++ System.out.println("Inside spec.io.FileOutStream.write() -- throwing away output"); ++ } ++ } ++ ++/** ++ Writes len bytes from the specified byte array starting at offset off to this ++ output stream. The write method of FilterOutputStream calls the write method ++ of one argument on each byte to output. ++ ++ Note that this method does not call the write method of its underlying input ++ stream with the same arguments. Subclasses of FilterOutputStream should ++ provide a more efficient implementation of this method ++*/ ++ public void write(byte b[], int off, int len) throws java.io.IOException { ++ byteCount += len; ++ ++ if (len > 0) { ++ checksum += specialTrace("Z",b[off]); // Just checksum the first character ++ } ++ if( debug ) { ++ System.out.println("Inside spec.io.FileOutStream.write() -- throwing away output"); ++ } ++ } ++ ++ /** ++ * Chears the byte counter ++ */ ++ public static void clearCount() { ++ byteCount = 0; ++ checksum = 0; ++ } ++ ++ /** ++ * Prints the byte counter in validity check mode '1' ++ * @param check - Indicates whether the validation is enabled or not ++ */ ++ public static void printCount(boolean check) { ++ spec.io.PrintStream s = (spec.io.PrintStream)Context.out; ++ if( check ) { ++ s.println('1',"File output byte count = "+byteCount+" checksum = "+checksum); ++ } else { ++ s.println('1',"File output byte count = "+byteCount); ++ } ++ } ++ ++ ++ public static int specialTrace(String rtn, int ch) { ++// ((spec.io.PrintStream)Context.out).println('1',rtn+ch); ++ return ch; ++ } ++} ++ ++ +diff -Nu mpegaudio1/StopBenchmarkException.java mpegaudio/StopBenchmarkException.java +--- mpegaudio1/StopBenchmarkException.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/StopBenchmarkException.java Tue Nov 26 11:31:12 2002 +@@ -0,0 +1,9 @@ ++package spec.io; ++ ++import java.io.IOException; ++ ++class StopBenchmarkException extends IOException { ++ public StopBenchmarkException(String a) { ++ super(a); ++ } ++}; +diff -Nu mpegaudio1/TableOfExistingFiles.java mpegaudio/TableOfExistingFiles.java +--- mpegaudio1/TableOfExistingFiles.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/TableOfExistingFiles.java Tue Nov 26 11:03:06 2002 +@@ -0,0 +1,672 @@ ++/* ++ * @(#)TableOfExistingFiles.java 1.5 06/17/98 ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.io; ++ ++/** ++ This class maintains a list of the files that should not be loaded across ++ the net. Any other class or data file required by the SpecJVMClient are ++ loaded across the net. ++ */ ++public class TableOfExistingFiles extends java.util.Hashtable{ ++ ++/** ++ Constructor. ++ */ ++public TableOfExistingFiles(){ ++super(); ++ ++String o = "Java programmers make better lovers."; ++super.put("lib/java/util" , o); ++super.put("lib/java/io" , o); ++super.put("lib/java/lang/Object.class" , o); ++super.put("lib/java/lang/Exception.class" , o); ++super.put("lib/java/lang/Integer.class" , o); ++super.put("lib/java/lang/NumberFormatException.class" , o); ++super.put("lib/java/lang/Throwable.class" , o); ++super.put("lib/java/lang/Class.class" , o); ++super.put("lib/java/lang/IllegalAccessException.class" , o); ++super.put("lib/java/lang/StringBuffer.class" , o); ++super.put("lib/java/lang/ClassNotFoundException.class" , o); ++super.put("lib/java/lang/IllegalArgumentException.class" , o); ++super.put("lib/java/lang/Number.class" , o); ++super.put("lib/java/lang/InterruptedException.class" , o); ++super.put("lib/java/lang/String.class" , o); ++super.put("lib/java/lang/RuntimeException.class" , o); ++super.put("lib/java/lang/InternalError.class" , o); ++super.put("lib/java/lang/Long.class" , o); ++super.put("lib/java/lang/Character.class" , o); ++super.put("lib/java/lang/CloneNotSupportedException.class" , o); ++super.put("lib/java/lang/InstantiationException.class" , o); ++super.put("lib/java/lang/VirtualMachineError.class" , o); ++super.put("lib/java/lang/Double.class" , o); ++super.put("lib/java/lang/Error.class" , o); ++super.put("lib/java/lang/NullPointerException.class" , o); ++super.put("lib/java/lang/Cloneable.class" , o); ++super.put("lib/java/lang/System.class" , o); ++super.put("lib/java/lang/ClassLoader.class" , o); ++super.put("lib/java/lang/Math.class" , o); ++super.put("lib/java/lang/Float.class" , o); ++super.put("lib/java/lang/Runtime.class" , o); ++super.put("lib/java/lang/StringIndexOutOfBoundsException.class" , o); ++super.put("lib/java/lang/IndexOutOfBoundsException.class" , o); ++super.put("lib/java/lang/SecurityException.class" , o); ++super.put("lib/java/lang/LinkageError.class" , o); ++super.put("lib/java/lang/Runnable.class" , o); ++super.put("lib/java/lang/Process.class" , o); ++super.put("lib/java/lang/SecurityManager.class" , o); ++super.put("lib/java/lang/Thread.class" , o); ++super.put("lib/java/lang/UnsatisfiedLinkError.class" , o); ++super.put("lib/java/lang/IncompatibleClassChangeError.class" , o); ++super.put("lib/java/lang/NoSuchMethodError.class" , o); ++super.put("lib/java/lang/IllegalThreadStateException.class" , o); ++super.put("lib/java/lang/ThreadGroup.class" , o); ++super.put("lib/java/lang/ThreadDeath.class" , o); ++super.put("lib/java/lang/ArrayIndexOutOfBoundsException.class" , o); ++super.put("lib/java/lang/Boolean.class" , o); ++super.put("lib/java/lang/Compiler.class" , o); ++super.put("lib/java/lang/NoSuchMethodException.class" , o); ++super.put("lib/java/lang/ArithmeticException.class" , o); ++super.put("lib/java/lang/ArrayStoreException.class" , o); ++super.put("lib/java/lang/ClassCastException.class" , o); ++super.put("lib/java/lang/NegativeArraySizeException.class" , o); ++super.put("lib/java/lang/IllegalMonitorStateException.class" , o); ++super.put("lib/java/lang/ClassCircularityError.class" , o); ++super.put("lib/java/lang/ClassFormatError.class" , o); ++super.put("lib/java/lang/AbstractMethodError.class" , o); ++super.put("lib/java/lang/IllegalAccessError.class" , o); ++super.put("lib/java/lang/InstantiationError.class" , o); ++super.put("lib/java/lang/NoSuchFieldError.class" , o); ++super.put("lib/java/lang/NoClassDefFoundError.class" , o); ++super.put("lib/java/lang/VerifyError.class" , o); ++super.put("lib/java/lang/OutOfMemoryError.class" , o); ++super.put("lib/java/lang/StackOverflowError.class" , o); ++super.put("lib/java/lang/UnknownError.class" , o); ++super.put("lib/java/lang/Win32Process.class" , o); ++super.put("lib/java/io/FilterOutputStream.class" , o); ++super.put("lib/java/io/OutputStream.class" , o); ++super.put("lib/java/io/IOException.class" , o); ++super.put("lib/java/io/PrintStream.class" , o); ++super.put("lib/java/io/FileInputStream.class" , o); ++super.put("lib/java/io/InterruptedIOException.class" , o); ++super.put("lib/java/io/File.class" , o); ++super.put("lib/java/io/InputStream.class" , o); ++super.put("lib/java/io/BufferedInputStream.class" , o); ++super.put("lib/java/io/FileOutputStream.class" , o); ++super.put("lib/java/io/FileNotFoundException.class" , o); ++super.put("lib/java/io/BufferedOutputStream.class" , o); ++super.put("lib/java/io/FileDescriptor.class" , o); ++super.put("lib/java/io/FilenameFilter.class" , o); ++super.put("lib/java/io/FilterInputStream.class" , o); ++super.put("lib/java/io/PipedInputStream.class" , o); ++super.put("lib/java/io/PipedOutputStream.class" , o); ++super.put("lib/java/io/EOFException.class" , o); ++super.put("lib/java/io/UTFDataFormatException.class" , o); ++super.put("lib/java/io/DataInput.class" , o); ++super.put("lib/java/io/DataOutput.class" , o); ++super.put("lib/java/io/DataInputStream.class" , o); ++super.put("lib/java/io/PushbackInputStream.class" , o); ++super.put("lib/java/io/ByteArrayInputStream.class" , o); ++super.put("lib/java/io/SequenceInputStream.class" , o); ++super.put("lib/java/io/StringBufferInputStream.class" , o); ++super.put("lib/java/io/LineNumberInputStream.class" , o); ++super.put("lib/java/io/DataOutputStream.class" , o); ++super.put("lib/java/io/ByteArrayOutputStream.class" , o); ++super.put("lib/java/io/RandomAccessFile.class" , o); ++super.put("lib/java/io/StreamTokenizer.class" , o); ++super.put("lib/java/util/Hashtable.class" , o); ++super.put("lib/java/util/Enumeration.class" , o); ++super.put("lib/java/util/HashtableEnumerator.class" , o); ++super.put("lib/java/util/Properties.class" , o); ++super.put("lib/java/util/HashtableEntry.class" , o); ++super.put("lib/java/util/Dictionary.class" , o); ++super.put("lib/java/util/Date.class" , o); ++super.put("lib/java/util/NoSuchElementException.class" , o); ++super.put("lib/java/util/StringTokenizer.class" , o); ++super.put("lib/java/util/Random.class" , o); ++super.put("lib/java/util/VectorEnumerator.class" , o); ++super.put("lib/java/util/Vector.class" , o); ++super.put("lib/java/util/BitSet.class" , o); ++super.put("lib/java/util/EmptyStackException.class" , o); ++super.put("lib/java/util/Observable.class" , o); ++super.put("lib/java/util/Observer.class" , o); ++super.put("lib/java/util/ObserverList.class" , o); ++super.put("lib/java/util/Stack.class" , o); ++super.put("lib/java/awt/Toolkit.class" , o); ++super.put("lib/java/awt/peer/WindowPeer.class" , o); ++super.put("lib/java/awt/peer/TextFieldPeer.class" , o); ++super.put("lib/java/awt/peer/ContainerPeer.class" , o); ++super.put("lib/java/awt/peer/PanelPeer.class" , o); ++super.put("lib/java/awt/peer/CanvasPeer.class" , o); ++super.put("lib/java/awt/peer/FramePeer.class" , o); ++super.put("lib/java/awt/peer/ChoicePeer.class" , o); ++super.put("lib/java/awt/peer/CheckboxMenuItemPeer.class" , o); ++super.put("lib/java/awt/peer/TextAreaPeer.class" , o); ++super.put("lib/java/awt/peer/FileDialogPeer.class" , o); ++super.put("lib/java/awt/peer/TextComponentPeer.class" , o); ++super.put("lib/java/awt/peer/ScrollbarPeer.class" , o); ++super.put("lib/java/awt/peer/ButtonPeer.class" , o); ++super.put("lib/java/awt/peer/ComponentPeer.class" , o); ++super.put("lib/java/awt/peer/MenuComponentPeer.class" , o); ++super.put("lib/java/awt/peer/MenuItemPeer.class" , o); ++super.put("lib/java/awt/peer/CheckboxPeer.class" , o); ++super.put("lib/java/awt/peer/MenuPeer.class" , o); ++super.put("lib/java/awt/peer/ListPeer.class" , o); ++super.put("lib/java/awt/peer/MenuBarPeer.class" , o); ++super.put("lib/java/awt/peer/LabelPeer.class" , o); ++super.put("lib/java/awt/peer/DialogPeer.class" , o); ++super.put("lib/java/awt/Image.class" , o); ++super.put("lib/java/awt/MenuItem.class" , o); ++super.put("lib/java/awt/MenuComponent.class" , o); ++super.put("lib/java/awt/image/ImageProducer.class" , o); ++super.put("lib/java/awt/image/ColorModel.class" , o); ++super.put("lib/java/awt/image/DirectColorModel.class" , o); ++super.put("lib/java/awt/image/ImageConsumer.class" , o); ++super.put("lib/java/awt/image/ImageObserver.class" , o); ++super.put("lib/java/awt/image/CropImageFilter.class" , o); ++super.put("lib/java/awt/image/ImageFilter.class" , o); ++super.put("lib/java/awt/image/FilteredImageSource.class" , o); ++super.put("lib/java/awt/image/IndexColorModel.class" , o); ++super.put("lib/java/awt/image/MemoryImageSource.class" , o); ++super.put("lib/java/awt/image/PixelGrabber.class" , o); ++super.put("lib/java/awt/image/RGBImageFilter.class" , o); ++super.put("lib/java/awt/FontMetrics.class" , o); ++super.put("lib/java/awt/Checkbox.class" , o); ++super.put("lib/java/awt/CheckboxGroup.class" , o); ++super.put("lib/java/awt/MenuContainer.class" , o); ++super.put("lib/java/awt/Menu.class" , o); ++super.put("lib/java/awt/Insets.class" , o); ++super.put("lib/java/awt/MenuBar.class" , o); ++super.put("lib/java/awt/List.class" , o); ++super.put("lib/java/awt/Label.class" , o); ++super.put("lib/java/awt/Component.class" , o); ++super.put("lib/java/awt/TextField.class" , o); ++super.put("lib/java/awt/TextComponent.class" , o); ++super.put("lib/java/awt/Dialog.class" , o); ++super.put("lib/java/awt/Font.class" , o); ++super.put("lib/java/awt/Window.class" , o); ++super.put("lib/java/awt/FocusManager.class" , o); ++super.put("lib/java/awt/Panel.class" , o); ++super.put("lib/java/awt/Container.class" , o); ++super.put("lib/java/awt/Graphics.class" , o); ++super.put("lib/java/awt/CheckboxMenuItem.class" , o); ++super.put("lib/java/awt/Canvas.class" , o); ++super.put("lib/java/awt/Frame.class" , o); ++super.put("lib/java/awt/Choice.class" , o); ++super.put("lib/java/awt/Event.class" , o); ++super.put("lib/java/awt/TextArea.class" , o); ++super.put("lib/java/awt/AWTError.class" , o); ++super.put("lib/java/awt/Polygon.class" , o); ++super.put("lib/java/awt/FlowLayout.class" , o); ++super.put("lib/java/awt/Point.class" , o); ++super.put("lib/java/awt/FileDialog.class" , o); ++super.put("lib/java/awt/Scrollbar.class" , o); ++super.put("lib/java/awt/Dimension.class" , o); ++super.put("lib/java/awt/Color.class" , o); ++super.put("lib/java/awt/Button.class" , o); ++super.put("lib/java/awt/LayoutManager.class" , o); ++super.put("lib/java/awt/Rectangle.class" , o); ++super.put("lib/java/awt/BorderLayout.class" , o); ++super.put("lib/java/awt/GridLayout.class" , o); ++super.put("lib/java/awt/GridBagConstraints.class" , o); ++super.put("lib/java/awt/GridBagLayout.class" , o); ++super.put("lib/java/awt/GridBagLayoutInfo.class" , o); ++super.put("lib/java/awt/CardLayout.class" , o); ++super.put("lib/java/awt/MediaTracker.class" , o); ++super.put("lib/java/awt/MediaEntry.class" , o); ++super.put("lib/java/awt/ImageMediaEntry.class" , o); ++super.put("lib/java/awt/AWTException.class" , o); ++super.put("lib/java/net/URL.class" , o); ++super.put("lib/java/net/URLStreamHandlerFactory.class" , o); ++super.put("lib/java/net/InetAddress.class" , o); ++super.put("lib/java/net/UnknownContentHandler.class" , o); ++super.put("lib/java/net/UnknownHostException.class" , o); ++super.put("lib/java/net/URLStreamHandler.class" , o); ++super.put("lib/java/net/URLConnection.class" , o); ++super.put("lib/java/net/MalformedURLException.class" , o); ++super.put("lib/java/net/ContentHandlerFactory.class" , o); ++super.put("lib/java/net/ContentHandler.class" , o); ++super.put("lib/java/net/UnknownServiceException.class" , o); ++super.put("lib/java/net/ServerSocket.class" , o); ++super.put("lib/java/net/PlainSocketImpl.class" , o); ++super.put("lib/java/net/SocketImpl.class" , o); ++super.put("lib/java/net/ProtocolException.class" , o); ++super.put("lib/java/net/SocketException.class" , o); ++super.put("lib/java/net/SocketInputStream.class" , o); ++super.put("lib/java/net/Socket.class" , o); ++super.put("lib/java/net/SocketImplFactory.class" , o); ++super.put("lib/java/net/SocketOutputStream.class" , o); ++super.put("lib/java/net/DatagramPacket.class" , o); ++super.put("lib/java/net/DatagramSocket.class" , o); ++super.put("lib/java/net/URLEncoder.class" , o); ++super.put("lib/java/applet/Applet.class" , o); ++super.put("lib/java/applet/AppletContext.class" , o); ++super.put("lib/java/applet/AudioClip.class" , o); ++super.put("lib/java/applet/AppletStub.class" , o); ++super.put("lib/sun/tools/debug/BreakpointQueue.class" , o); ++super.put("lib/sun/tools/debug/DebuggerCallback.class" , o); ++super.put("lib/sun/tools/debug/RemoteThread.class" , o); ++super.put("lib/sun/tools/debug/StackFrame.class" , o); ++super.put("lib/sun/tools/debug/RemoteAgent.class" , o); ++super.put("lib/sun/tools/debug/AgentConstants.class" , o); ++super.put("lib/sun/tools/debug/AgentIn.class" , o); ++super.put("lib/sun/tools/debug/RemoteObject.class" , o); ++super.put("lib/sun/tools/debug/RemoteStackVariable.class" , o); ++super.put("lib/sun/tools/debug/RemoteValue.class" , o); ++super.put("lib/sun/tools/debug/RemoteClass.class" , o); ++super.put("lib/sun/tools/debug/Agent.class" , o); ++super.put("lib/sun/tools/debug/RemoteBoolean.class" , o); ++super.put("lib/sun/tools/debug/RemoteChar.class" , o); ++super.put("lib/sun/tools/debug/RemoteString.class" , o); ++super.put("lib/sun/tools/debug/NoSessionException.class" , o); ++super.put("lib/sun/tools/debug/Field.class" , o); ++super.put("lib/sun/tools/debug/NoSuchLineNumberException.class" , o); ++super.put("lib/sun/tools/debug/RemoteShort.class" , o); ++super.put("lib/sun/tools/debug/RemoteThreadGroup.class" , o); ++super.put("lib/sun/tools/debug/RemoteInt.class" , o); ++super.put("lib/sun/tools/debug/ResponseStream.class" , o); ++super.put("lib/sun/tools/debug/RemoteDouble.class" , o); ++super.put("lib/sun/tools/debug/LocalVariable.class" , o); ++super.put("lib/sun/tools/debug/BreakpointSet.class" , o); ++super.put("lib/sun/tools/debug/RemoteStackFrame.class" , o); ++super.put("lib/sun/tools/debug/MainThread.class" , o); ++super.put("lib/sun/tools/debug/BreakpointHandler.class" , o); ++super.put("lib/sun/tools/debug/AgentOutputStream.class" , o); ++super.put("lib/sun/tools/debug/RemoteLong.class" , o); ++super.put("lib/sun/tools/debug/RemoteFloat.class" , o); ++super.put("lib/sun/tools/debug/RemoteArray.class" , o); ++super.put("lib/sun/tools/debug/InvalidPCException.class" , o); ++super.put("lib/sun/tools/debug/LineNumber.class" , o); ++super.put("lib/sun/tools/debug/RemoteField.class" , o); ++super.put("lib/sun/tools/debug/NoSuchFieldException.class" , o); ++super.put("lib/sun/tools/debug/RemoteByte.class" , o); ++super.put("lib/sun/tools/debug/EmptyApp.class" , o); ++super.put("lib/sun/tools/debug/RemoteDebugger.class" , o); ++super.put("lib/sun/tools/java/RuntimeConstants.class" , o); ++super.put("lib/sun/tools/java/Constants.class" , o); ++super.put("lib/sun/tools/java/Environment.class" , o); ++super.put("lib/sun/tools/java/ClassPath.class" , o); ++super.put("lib/sun/tools/java/ClassDeclaration.class" , o); ++super.put("lib/sun/tools/java/FieldDefinition.class" , o); ++super.put("lib/sun/tools/java/Type.class" , o); ++super.put("lib/sun/tools/java/ClassNotFound.class" , o); ++super.put("lib/sun/tools/java/ClassType.class" , o); ++super.put("lib/sun/tools/java/ClassDefinition.class" , o); ++super.put("lib/sun/tools/java/Parser.class" , o); ++super.put("lib/sun/tools/java/ClassPathEntry.class" , o); ++super.put("lib/sun/tools/java/CompilerError.class" , o); ++super.put("lib/sun/tools/java/Identifier.class" , o); ++super.put("lib/sun/tools/java/Package.class" , o); ++super.put("lib/sun/tools/java/ClassFile.class" , o); ++super.put("lib/sun/tools/java/Imports.class" , o); ++super.put("lib/sun/tools/java/ArrayType.class" , o); ++super.put("lib/sun/tools/java/AmbiguousField.class" , o); ++super.put("lib/sun/tools/java/MethodType.class" , o); ++super.put("lib/sun/tools/java/Scanner.class" , o); ++super.put("lib/sun/tools/java/SyntaxError.class" , o); ++super.put("lib/sun/tools/java/BinaryClass.class" , o); ++super.put("lib/sun/tools/java/BinaryField.class" , o); ++super.put("lib/sun/tools/java/AmbiguousClass.class" , o); ++super.put("lib/sun/tools/java/BinaryConstantPool.class" , o); ++super.put("lib/sun/tools/java/ScannerInputStream.class" , o); ++super.put("lib/sun/tools/java/BinaryAttribute.class" , o); ++super.put("lib/sun/tools/java/BinaryCode.class" , o); ++super.put("lib/sun/tools/java/BinaryExceptionHandler.class" , o); ++super.put("lib/sun/tools/javac/Main.class" , o); ++super.put("lib/sun/tools/javac/SourceClass.class" , o); ++super.put("lib/sun/tools/javac/CompilerField.class" , o); ++super.put("lib/sun/tools/javac/SourceField.class" , o); ++super.put("lib/sun/tools/javac/BatchEnvironment.class" , o); ++super.put("lib/sun/tools/javac/ErrorConsumer.class" , o); ++super.put("lib/sun/tools/javac/ErrorMessage.class" , o); ++super.put("lib/sun/tools/javac/BatchParser.class" , o); ++super.put("lib/sun/tools/zip/ZipFile.class" , o); ++super.put("lib/sun/tools/zip/ZipEntry.class" , o); ++super.put("lib/sun/tools/zip/ZipFileInputStream.class" , o); ++super.put("lib/sun/tools/zip/ZipConstants.class" , o); ++super.put("lib/sun/tools/zip/ZipFormatException.class" , o); ++super.put("lib/sun/tools/zip/ZipReaderInputStream.class" , o); ++super.put("lib/sun/tools/zip/ZipReader.class" , o); ++super.put("lib/sun/tools/tree/ConstantExpression.class" , o); ++super.put("lib/sun/tools/tree/LocalField.class" , o); ++super.put("lib/sun/tools/tree/Expression.class" , o); ++super.put("lib/sun/tools/tree/IncDecExpression.class" , o); ++super.put("lib/sun/tools/tree/SuperExpression.class" , o); ++super.put("lib/sun/tools/tree/NaryExpression.class" , o); ++super.put("lib/sun/tools/tree/StringExpression.class" , o); ++super.put("lib/sun/tools/tree/UnaryExpression.class" , o); ++super.put("lib/sun/tools/tree/Context.class" , o); ++super.put("lib/sun/tools/tree/ExpressionStatement.class" , o); ++super.put("lib/sun/tools/tree/ConditionVars.class" , o); ++super.put("lib/sun/tools/tree/Node.class" , o); ++super.put("lib/sun/tools/tree/CharExpression.class" , o); ++super.put("lib/sun/tools/tree/CaseStatement.class" , o); ++super.put("lib/sun/tools/tree/LessExpression.class" , o); ++super.put("lib/sun/tools/tree/IntegerExpression.class" , o); ++super.put("lib/sun/tools/tree/SubtractExpression.class" , o); ++super.put("lib/sun/tools/tree/ArrayAccessExpression.class" , o); ++super.put("lib/sun/tools/tree/TryStatement.class" , o); ++super.put("lib/sun/tools/tree/BinaryEqualityExpression.class" , o); ++super.put("lib/sun/tools/tree/Statement.class" , o); ++super.put("lib/sun/tools/tree/AssignSubtractExpression.class" , o); ++super.put("lib/sun/tools/tree/FinallyStatement.class" , o); ++super.put("lib/sun/tools/tree/ForStatement.class" , o); ++super.put("lib/sun/tools/tree/DivRemExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryExpression.class" , o); ++super.put("lib/sun/tools/tree/ShiftRightExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignMultiplyExpression.class" , o); ++super.put("lib/sun/tools/tree/BooleanExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryArithmeticExpression.class" , o); ++super.put("lib/sun/tools/tree/ThrowStatement.class" , o); ++super.put("lib/sun/tools/tree/AssignDivideExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignShiftLeftExpression.class" , o); ++super.put("lib/sun/tools/tree/NewArrayExpression.class" , o); ++super.put("lib/sun/tools/tree/AndExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignBitOrExpression.class" , o); ++super.put("lib/sun/tools/tree/BreakStatement.class" , o); ++super.put("lib/sun/tools/tree/SynchronizedStatement.class" , o); ++super.put("lib/sun/tools/tree/PreDecExpression.class" , o); ++super.put("lib/sun/tools/tree/CompoundStatement.class" , o); ++super.put("lib/sun/tools/tree/DoubleExpression.class" , o); ++super.put("lib/sun/tools/tree/ConvertExpression.class" , o); ++super.put("lib/sun/tools/tree/NullExpression.class" , o); ++super.put("lib/sun/tools/tree/LessOrEqualExpression.class" , o); ++super.put("lib/sun/tools/tree/IdentifierExpression.class" , o); ++super.put("lib/sun/tools/tree/ReturnStatement.class" , o); ++super.put("lib/sun/tools/tree/BitNotExpression.class" , o); ++super.put("lib/sun/tools/tree/LongExpression.class" , o); ++super.put("lib/sun/tools/tree/VarDeclarationStatement.class" , o); ++super.put("lib/sun/tools/tree/MethodExpression.class" , o); ++super.put("lib/sun/tools/tree/ThisExpression.class" , o); ++super.put("lib/sun/tools/tree/BitOrExpression.class" , o); ++super.put("lib/sun/tools/tree/PositiveExpression.class" , o); ++super.put("lib/sun/tools/tree/IfStatement.class" , o); ++super.put("lib/sun/tools/tree/FloatExpression.class" , o); ++super.put("lib/sun/tools/tree/NotEqualExpression.class" , o); ++super.put("lib/sun/tools/tree/InstanceOfExpression.class" , o); ++super.put("lib/sun/tools/tree/NotExpression.class" , o); ++super.put("lib/sun/tools/tree/BitAndExpression.class" , o); ++super.put("lib/sun/tools/tree/DivideExpression.class" , o); ++super.put("lib/sun/tools/tree/ShortExpression.class" , o); ++super.put("lib/sun/tools/tree/RemainderExpression.class" , o); ++super.put("lib/sun/tools/tree/NewInstanceExpression.class" , o); ++super.put("lib/sun/tools/tree/SwitchStatement.class" , o); ++super.put("lib/sun/tools/tree/AddExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignOpExpression.class" , o); ++super.put("lib/sun/tools/tree/EqualExpression.class" , o); ++super.put("lib/sun/tools/tree/PostIncExpression.class" , o); ++super.put("lib/sun/tools/tree/GreaterExpression.class" , o); ++super.put("lib/sun/tools/tree/PostDecExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignExpression.class" , o); ++super.put("lib/sun/tools/tree/WhileStatement.class" , o); ++super.put("lib/sun/tools/tree/ContinueStatement.class" , o); ++super.put("lib/sun/tools/tree/ConditionalExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignAddExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryBitExpression.class" , o); ++super.put("lib/sun/tools/tree/CastExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignBitXorExpression.class" , o); ++super.put("lib/sun/tools/tree/ArrayExpression.class" , o); ++super.put("lib/sun/tools/tree/InlineMethodExpression.class" , o); ++super.put("lib/sun/tools/tree/InlineNewInstanceExpression.class" , o); ++super.put("lib/sun/tools/tree/CodeContext.class" , o); ++super.put("lib/sun/tools/tree/AssignShiftRightExpression.class" , o); ++super.put("lib/sun/tools/tree/UnsignedShiftRightExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignBitAndExpression.class" , o); ++super.put("lib/sun/tools/tree/ShiftLeftExpression.class" , o); ++super.put("lib/sun/tools/tree/CatchStatement.class" , o); ++super.put("lib/sun/tools/tree/IntExpression.class" , o); ++super.put("lib/sun/tools/tree/TypeExpression.class" , o); ++super.put("lib/sun/tools/tree/CommaExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignUnsignedShiftRightExpression.class" , o); ++super.put("lib/sun/tools/tree/ExprExpression.class" , o); ++super.put("lib/sun/tools/tree/AssignRemainderExpression.class" , o); ++super.put("lib/sun/tools/tree/ByteExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryAssignExpression.class" , o); ++super.put("lib/sun/tools/tree/DoStatement.class" , o); ++super.put("lib/sun/tools/tree/DeclarationStatement.class" , o); ++super.put("lib/sun/tools/tree/MultiplyExpression.class" , o); ++super.put("lib/sun/tools/tree/InlineReturnStatement.class" , o); ++super.put("lib/sun/tools/tree/BitXorExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryCompareExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryShiftExpression.class" , o); ++super.put("lib/sun/tools/tree/CheckContext.class" , o); ++super.put("lib/sun/tools/tree/PreIncExpression.class" , o); ++super.put("lib/sun/tools/tree/GreaterOrEqualExpression.class" , o); ++super.put("lib/sun/tools/tree/FieldExpression.class" , o); ++super.put("lib/sun/tools/tree/OrExpression.class" , o); ++super.put("lib/sun/tools/tree/BinaryLogicalExpression.class" , o); ++super.put("lib/sun/tools/tree/NegativeExpression.class" , o); ++super.put("lib/sun/tools/tree/LengthExpression.class" , o); ++super.put("lib/sun/tools/asm/Assembler.class" , o); ++super.put("lib/sun/tools/asm/Instruction.class" , o); ++super.put("lib/sun/tools/asm/LocalVariable.class" , o); ++super.put("lib/sun/tools/asm/ArrayData.class" , o); ++super.put("lib/sun/tools/asm/LocalVariableTable.class" , o); ++super.put("lib/sun/tools/asm/SwitchDataEnumeration.class" , o); ++super.put("lib/sun/tools/asm/ConstantPool.class" , o); ++super.put("lib/sun/tools/asm/ConstantPoolData.class" , o); ++super.put("lib/sun/tools/asm/NameAndTypeConstantData.class" , o); ++super.put("lib/sun/tools/asm/NumberConstantData.class" , o); ++super.put("lib/sun/tools/asm/FieldConstantData.class" , o); ++super.put("lib/sun/tools/asm/TryData.class" , o); ++super.put("lib/sun/tools/asm/Label.class" , o); ++super.put("lib/sun/tools/asm/SwitchData.class" , o); ++super.put("lib/sun/tools/asm/CatchData.class" , o); ++super.put("lib/sun/tools/asm/StringExpressionConstantData.class" , o); ++super.put("lib/sun/tools/asm/NameAndTypeData.class" , o); ++super.put("lib/sun/tools/asm/StringConstantData.class" , o); ++super.put("lib/sun/tools/asm/ClassConstantData.class" , o); ++super.put("lib/sun/tools/ttydebug/TTY.class" , o); ++super.put("lib/sun/tools/javadoc/Main.class" , o); ++super.put("lib/sun/tools/javadoc/DocumentationGenerator.class" , o); ++super.put("lib/sun/tools/javadoc/HTMLDocumentationGenerator.class" , o); ++super.put("lib/sun/tools/javadoc/MIFDocumentationGenerator.class" , o); ++super.put("lib/sun/tools/javadoc/MIFPrintStream.class" , o); ++super.put("lib/sun/net/MulticastSocket.class" , o); ++super.put("lib/sun/net/URLCanonicalizer.class" , o); ++super.put("lib/sun/net/NetworkClient.class" , o); ++super.put("lib/sun/net/NetworkServer.class" , o); ++super.put("lib/sun/net/ProgressData.class" , o); ++super.put("lib/sun/net/ProgressEntry.class" , o); ++super.put("lib/sun/net/TelnetInputStream.class" , o); ++super.put("lib/sun/net/TelnetProtocolException.class" , o); ++super.put("lib/sun/net/TelnetOutputStream.class" , o); ++super.put("lib/sun/net/TransferProtocolClient.class" , o); ++super.put("lib/sun/net/ftp/FtpInputStream.class" , o); ++super.put("lib/sun/net/ftp/FtpClient.class" , o); ++super.put("lib/sun/net/ftp/FtpLoginException.class" , o); ++super.put("lib/sun/net/ftp/FtpProtocolException.class" , o); ++super.put("lib/sun/net/ftp/IftpClient.class" , o); ++super.put("lib/sun/net/nntp/NewsgroupInfo.class" , o); ++super.put("lib/sun/net/nntp/NntpClient.class" , o); ++super.put("lib/sun/net/nntp/UnknownNewsgroupException.class" , o); ++super.put("lib/sun/net/nntp/NntpProtocolException.class" , o); ++super.put("lib/sun/net/nntp/NntpInputStream.class" , o); ++super.put("lib/sun/net/smtp/SmtpPrintStream.class" , o); ++super.put("lib/sun/net/smtp/SmtpClient.class" , o); ++super.put("lib/sun/net/smtp/SmtpProtocolException.class" , o); ++super.put("lib/sun/net/www/auth/Authenticator.class" , o); ++super.put("lib/sun/net/www/auth/basic.class" , o); ++super.put("lib/sun/net/www/content/text/Generic.class" , o); ++super.put("lib/sun/net/www/content/text/plain.class" , o); ++super.put("lib/sun/net/www/content/image/gif.class" , o); ++super.put("lib/sun/net/www/content/image/jpeg.class" , o); ++super.put("lib/sun/net/www/content/image/x_xbitmap.class" , o); ++super.put("lib/sun/net/www/content/image/x_xpixmap.class" , o); ++super.put("lib/sun/net/www/FormatException.class" , o); ++super.put("lib/sun/net/www/MessageHeader.class" , o); ++super.put("lib/sun/net/www/MeteredStream.class" , o); ++super.put("lib/sun/net/www/ProgressReport.class" , o); ++super.put("lib/sun/net/www/MimeEntry.class" , o); ++super.put("lib/sun/net/www/MimeLauncher.class" , o); ++super.put("lib/sun/net/www/MimeTable.class" , o); ++super.put("lib/sun/net/www/URLConnection.class" , o); ++super.put("lib/sun/net/www/UnknownContentException.class" , o); ++super.put("lib/sun/net/www/UnknownContentHandler.class" , o); ++super.put("lib/sun/net/www/protocol/file/Handler.class" , o); ++super.put("lib/sun/net/www/protocol/file/FileURLConnection.class" , o); ++super.put("lib/sun/net/www/protocol/http/Handler.class" , o); ++super.put("lib/sun/net/www/protocol/http/HttpURLConnection.class" , o); ++super.put("lib/sun/net/www/protocol/http/HttpPostBufferStream.class" , o); ++super.put("lib/sun/net/www/protocol/doc/Handler.class" , o); ++super.put("lib/sun/net/www/protocol/verbatim/Handler.class" , o); ++super.put("lib/sun/net/www/protocol/verbatim/VerbatimConnection.class" , o); ++super.put("lib/sun/net/www/protocol/gopher/GopherClient.class" , o); ++super.put("lib/sun/net/www/protocol/gopher/GopherInputStream.class" , o); ++super.put("lib/sun/net/www/http/UnauthorizedHttpRequestException.class" , o); ++super.put("lib/sun/net/www/http/HttpClient.class" , o); ++super.put("lib/sun/net/www/http/AuthenticationInfo.class" , o); ++super.put("lib/sun/awt/HorizBagLayout.class" , o); ++super.put("lib/sun/awt/VerticalBagLayout.class" , o); ++super.put("lib/sun/awt/VariableGridLayout.class" , o); ++super.put("lib/sun/awt/FocusingTextField.class" , o); ++super.put("lib/sun/awt/win32/MToolkit.class" , o); ++super.put("lib/sun/awt/win32/MMenuBarPeer.class" , o); ++super.put("lib/sun/awt/win32/MButtonPeer.class" , o); ++super.put("lib/sun/awt/win32/Win32Image.class" , o); ++super.put("lib/sun/awt/win32/MScrollbarPeer.class" , o); ++super.put("lib/sun/awt/win32/MDialogPeer.class" , o); ++super.put("lib/sun/awt/win32/MCheckboxMenuItemPeer.class" , o); ++super.put("lib/sun/awt/win32/Win32Graphics.class" , o); ++super.put("lib/sun/awt/win32/MListPeer.class" , o); ++super.put("lib/sun/awt/win32/MWindowPeer.class" , o); ++super.put("lib/sun/awt/win32/MMenuItemPeer.class" , o); ++super.put("lib/sun/awt/win32/ModalThread.class" , o); ++super.put("lib/sun/awt/win32/MCanvasPeer.class" , o); ++super.put("lib/sun/awt/win32/MFileDialogPeer.class" , o); ++super.put("lib/sun/awt/win32/MTextAreaPeer.class" , o); ++super.put("lib/sun/awt/win32/MPanelPeer.class" , o); ++super.put("lib/sun/awt/win32/MComponentPeer.class" , o); ++super.put("lib/sun/awt/win32/MCheckboxPeer.class" , o); ++super.put("lib/sun/awt/win32/MLabelPeer.class" , o); ++super.put("lib/sun/awt/win32/Win32FontMetrics.class" , o); ++super.put("lib/sun/awt/win32/MFramePeer.class" , o); ++super.put("lib/sun/awt/win32/MMenuPeer.class" , o); ++super.put("lib/sun/awt/win32/MChoicePeer.class" , o); ++super.put("lib/sun/awt/win32/MTextFieldPeer.class" , o); ++super.put("lib/sun/awt/win32/Win32PrintJob.class" , o); ++super.put("lib/sun/awt/image/URLImageSource.class" , o); ++super.put("lib/sun/awt/image/ImageWatched.class" , o); ++super.put("lib/sun/awt/image/InputStreamImageSource.class" , o); ++super.put("lib/sun/awt/image/ConsumerQueue.class" , o); ++super.put("lib/sun/awt/image/ImageDecoder.class" , o); ++super.put("lib/sun/awt/image/ImageRepresentation.class" , o); ++super.put("lib/sun/awt/image/ImageInfoGrabber.class" , o); ++super.put("lib/sun/awt/image/XbmImageDecoder.class" , o); ++super.put("lib/sun/awt/image/GifImageDecoder.class" , o); ++super.put("lib/sun/awt/image/ImageFetcher.class" , o); ++super.put("lib/sun/awt/image/PixelStore.class" , o); ++super.put("lib/sun/awt/image/JPEGImageDecoder.class" , o); ++super.put("lib/sun/awt/image/PixelStore8.class" , o); ++super.put("lib/sun/awt/image/ImageFetchable.class" , o); ++super.put("lib/sun/awt/image/OffScreenImageSource.class" , o); ++super.put("lib/sun/awt/image/PixelStore32.class" , o); ++super.put("lib/sun/awt/image/ImageFormatException.class" , o); ++super.put("lib/sun/awt/image/FileImageSource.class" , o); ++super.put("lib/sun/awt/image/Image.class" , o); ++super.put("lib/sun/awt/UpdateClient.class" , o); ++super.put("lib/sun/awt/ScreenUpdaterEntry.class" , o); ++super.put("lib/sun/awt/ScreenUpdater.class" , o); ++super.put("lib/sun/misc/Ref.class" , o); ++super.put("lib/sun/misc/MessageUtils.class" , o); ++super.put("lib/sun/misc/Cache.class" , o); ++super.put("lib/sun/misc/CacheEntry.class" , o); ++super.put("lib/sun/misc/CacheEnumerator.class" , o); ++super.put("lib/sun/misc/CEFormatException.class" , o); ++super.put("lib/sun/misc/CEStreamExhausted.class" , o); ++super.put("lib/sun/misc/CRC16.class" , o); ++super.put("lib/sun/misc/CharacterDecoder.class" , o); ++super.put("lib/sun/misc/BASE64Decoder.class" , o); ++super.put("lib/sun/misc/UCDecoder.class" , o); ++super.put("lib/sun/misc/UUDecoder.class" , o); ++super.put("lib/sun/misc/CharacterEncoder.class" , o); ++super.put("lib/sun/misc/BASE64Encoder.class" , o); ++super.put("lib/sun/misc/HexDumpEncoder.class" , o); ++super.put("lib/sun/misc/UCEncoder.class" , o); ++super.put("lib/sun/misc/UUEncoder.class" , o); ++super.put("lib/sun/misc/Timeable.class" , o); ++super.put("lib/sun/misc/TimerTickThread.class" , o); ++super.put("lib/sun/misc/Timer.class" , o); ++super.put("lib/sun/misc/TimerThread.class" , o); ++super.put("lib/sun/misc/ConditionLock.class" , o); ++super.put("lib/sun/misc/Lock.class" , o); ++super.put("lib/sun/audio/AudioDataStream.class" , o); ++super.put("lib/sun/audio/AudioData.class" , o); ++super.put("lib/sun/audio/AudioDevice.class" , o); ++super.put("lib/sun/audio/AudioPlayer.class" , o); ++super.put("lib/sun/audio/AudioStream.class" , o); ++super.put("lib/sun/audio/NativeAudioStream.class" , o); ++super.put("lib/sun/audio/InvalidAudioFormatException.class" , o); ++super.put("lib/sun/audio/AudioTranslatorStream.class" , o); ++super.put("lib/sun/audio/AudioStreamSequence.class" , o); ++super.put("lib/sun/audio/ContinuousAudioDataStream.class" , o); ++super.put("lib/sun/applet/StdAppletViewerFactory.class" , o); ++super.put("lib/sun/applet/TextFrame.class" , o); ++super.put("lib/sun/applet/AppletViewerFactory.class" , o); ++super.put("lib/sun/applet/AppletViewer.class" , o); ++super.put("lib/sun/applet/AppletCopyright.class" , o); ++super.put("lib/sun/applet/AppletAudioClip.class" , o); ++super.put("lib/sun/applet/AppletSecurity.class" , o); ++super.put("lib/sun/applet/AppletThreadGroup.class" , o); ++super.put("lib/sun/applet/AppletClassLoader.class" , o); ++super.put("lib/sun/applet/AppletPanel.class" , o); ++super.put("lib/sun/applet/AppletViewerPanel.class" , o); ++super.put("lib/sun/applet/AppletProps.class" , o); ++super.put("lib/sun/applet/AppletSecurityException.class" , o); ++super.put("lib/sun/applet/AppletZipClassLoader.class" , o); ++super.put("lib/spec/benchmarks/_202_jess/Activation.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Binding.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Context.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/ContextState.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Deffacts.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Deffunction.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Defglobal.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Defrule.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Deftemplate.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Fact.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Funcall.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/GlobalContext.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Jesp.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Jess.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Main.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Node.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Node1.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Node2.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/NodeNot2.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/NodeTerm.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/NullDisplay.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Pattern.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/RU.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Rete.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/ReteCompiler.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/ReteDisplay.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/ReteException.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/StringFunctions.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Successor.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Test1.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Test2.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Token.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/TokenVector.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Userfunction.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/Value.java" , o); ++super.put("lib/spec/benchmarks/_202_jess/ValueVector.java" , o); ++ ++} ++ ++/** ++ Checks whether the given file exists in the list of existing files ++ */ ++public boolean exists(String filename){ ++ ++// System.out.println( "*** "+filename+" = "+containsKey(filename) ); ++ return containsKey(filename); ++ ++} ++} +diff -Nu mpegaudio1/setup.sh mpegaudio/setup.sh +--- mpegaudio1/setup.sh Thu Jan 1 01:00:00 1970 ++++ mpegaudio/setup.sh Sat Nov 30 18:06:34 2002 +@@ -0,0 +1,3 @@ ++mkdir -p spec/benchmarks/_222_mpegaudio ++mv *.class spec/benchmarks/_222_mpegaudio ++ln -s /tmp/output.wav . +diff -Nu mpegaudio1/PrintStream.java mpegaudio/PrintStream.java +--- mpegaudio1/PrintStream.java Thu Jan 1 01:00:00 1970 ++++ mpegaudio/PrintStream.java Sat Nov 30 18:13:49 2002 +@@ -0,0 +1,65 @@ ++/* ++ * %W% %G% ++ * ++ * Copyright (c) 1998 Standard Performance Evaluation Corporation (SPEC) ++ * All rights reserved. ++ * Copyright (c) 1997,1998 Sun Microsystems, Inc. All rights reserved. ++ * ++ * This source code is provided as is, without any express or implied warranty. ++ */ ++ ++package spec.io; ++ ++/** ++ * This class implements a special form of PrintStream that is used by ++ * the benchmarks. The class vaieable spec.harness.Context.out is made ++ * to point to an instance of this class. The purpuse of the class is to ++ * record validity check information with the recorded output. This is done ++ * using one of nine integer values (0-8). 0 means the default validity checking ++ * is to be used and is what a Context.out.println() would employ. The numbers ++ * 1 through 8 are used to set various valitity cheching rules. This class ++ * implements a set of println() type methods that allow the text output to be ++ * does so within the context of a certain validity cheching value. ++ * ++ * These routines will output the valitity check value to the associated ++ * OutputStream unchanged. This will cause them to be output as the character ++ * values \u0000 to \u0008 these values are not normally used (the next one ++ * \u0009 is) so this should not cause a problem. However this is checked for ++ * in ValidityCheckOutputStream. ++ * ++ * @see ConsoleOutputStream ++ * @see ValidityCheckOutputStream ++ */ ++public ++class PrintStream extends java.io.PrintStream { ++ /** ++ * The actual output stream. This is the same as 'out' in our superclass but ++ * kept here as well to avoid a lot of runtime casting. ++ */ ++ ++ /** ++ * Creates a new PrintStream. ++ * @param out the output stream ++ */ ++ public PrintStream(java.io.OutputStream out) { ++ super(out, false); ++ } ++ ++ /** ++ * Print a string in a validity context ++ * @param v the validity context value. ++ * @param s the data to be printed. ++ */ ++ synchronized public void print(char v, String s) { ++ super.print(s); ++ } ++ ++ /** ++ * Print a string in a validity context ++ * @param v the validity context value. ++ * @param s the data to be printed. ++ */ ++ synchronized public void println(char v, String s) { ++ super.println(s); ++ } ++} +--- mpegaudio2/Main.java Mon Dec 9 12:36:17 2002 ++++ mpegaudio/Main.java Mon Dec 9 12:34:26 2002 +@@ -7,15 +7,15 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._222_mpegaudio; +-import spec.harness.*; ++import spec.benchmarks._222_mpegaudio.*; ++//import spec.harness.*; + + +-public class Main implements SpecBenchmark { ++public class Main { + + static long runBenchmark( String[] args ) { + +- int speed = spec.harness.Context.getSpeed(); ++ int speed = 100; + int iter = 1; + String name = "track16.mp3"; + +@@ -34,11 +34,11 @@ + args[0] = "input/"+name; + } + +- spec.harness.Context.out.println( "MPEG Audio - Decoding " + args[0] + " " + iter + " time" + (iter > 1 ? "s" : "") ); ++ System.out.println( "MPEG Audio - Decoding " + args[0] + " " + iter + " time" + (iter > 1 ? "s" : "") ); + long startTime = System.currentTimeMillis(); + + for( int i = 0 ; i < iter ; i++ ) { +- BenchDec.main( args ); ++ JavaDec.main( args ); + } + + return System.currentTimeMillis() - startTime; +diff -Nu mpegaudio2/postoutput.sh mpegaudio/postoutput.sh +--- mpegaudio2/postoutput.sh Thu Jan 1 01:00:00 1970 ++++ mpegaudio/postoutput.sh Mon Dec 9 15:11:24 2002 +@@ -0,0 +1 @@ ++brik -Gb output.wav > mpegaudio.output diff --git a/tests/jvm98/raytrace.diff b/tests/jvm98/raytrace.diff new file mode 100644 index 000000000..82f1761fd --- /dev/null +++ b/tests/jvm98/raytrace.diff @@ -0,0 +1,354 @@ +diff -u raytrace1/CacheIntersectPt.java raytrace/CacheIntersectPt.java +--- raytrace1/CacheIntersectPt.java Wed Jun 17 22:14:38 1998 ++++ raytrace/CacheIntersectPt.java Mon Nov 30 22:21:47 1998 +@@ -9,7 +9,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import IntersectPt; + + /** +diff -u raytrace1/Camera.java raytrace/Camera.java +--- raytrace1/Camera.java Wed Jun 17 22:14:38 1998 ++++ raytrace/Camera.java Mon Nov 30 22:21:47 1998 +@@ -10,7 +10,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Point; + //import Vector; + +diff -u raytrace1/Canvas.java raytrace/Canvas.java +--- raytrace1/Canvas.java Wed Jun 17 22:14:39 1998 ++++ raytrace/Canvas.java Mon Nov 30 22:37:08 1998 +@@ -13,7 +13,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + + + /** +@@ -147,8 +147,8 @@ + int min = Math.min(GetHeight(), GetWidth()); + + for (int i = (min*min)-min; i>0; i -= min-1) { +- spec.io.PrintStream p = (spec.io.PrintStream)spec.harness.Context.out; +- if (Pixels [i] != 0) p.println('1', ""+Pixels[i]); // NS ++ java.io.PrintStream p = (java.io.PrintStream) System.out; ++ if (Pixels [i] != 0) p.println("1"+Pixels[i]); // NS + } + } + +diff -u raytrace1/Color.java raytrace/Color.java +--- raytrace1/Color.java Wed Jun 17 22:14:40 1998 ++++ raytrace/Color.java Mon Nov 30 22:21:47 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + /** + * class Color + */ +diff -u raytrace1/Face.java raytrace/Face.java +--- raytrace1/Face.java Wed Jun 17 22:14:41 1998 ++++ raytrace/Face.java Mon Nov 30 22:21:47 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Point; + + /** +diff -u raytrace1/IntersectPt.java raytrace/IntersectPt.java +--- raytrace1/IntersectPt.java Wed Jun 17 22:14:42 1998 ++++ raytrace/IntersectPt.java Mon Nov 30 22:21:47 1998 +@@ -14,7 +14,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import CacheIntersectPt; + //import ObjectType; + //import ObjNode; +diff -u raytrace1/Light.java raytrace/Light.java +--- raytrace1/Light.java Wed Jun 17 22:14:43 1998 ++++ raytrace/Light.java Mon Nov 30 22:21:47 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Color; + //import Point; + +diff -u raytrace1/LightNode.java raytrace/LightNode.java +--- raytrace1/LightNode.java Wed Jun 17 22:14:44 1998 ++++ raytrace/LightNode.java Mon Nov 30 22:21:47 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Light; + //import LinkNode; + +diff -u raytrace1/LinkNode.java raytrace/LinkNode.java +--- raytrace1/LinkNode.java Wed Jun 17 22:14:45 1998 ++++ raytrace/LinkNode.java Mon Nov 30 22:21:47 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + /** + * class LinkNode + */ +diff -u raytrace1/Main.java raytrace/Main.java +--- raytrace1/Main.java Wed Jun 17 22:14:45 1998 ++++ raytrace/Main.java Mon Nov 30 22:41:06 1998 +@@ -8,18 +8,19 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; +-import spec.harness.*; ++//package spec.benchmarks._205_raytrace; + + +-public class Main implements SpecBenchmark { ++public class Main { + + + static long runBenchmark( String[] args ) { + ++ int speed = 100; ++ + if( args.length == 0 ) { + args = new String[3]; +- args[0] = "" + (200*spec.harness.Context.getSpeed())/100; ++ args[0] = "" + (200 * speed)/100; + args[1] = "200"; + args[2] = "input/time-test.model"; + } +diff -u raytrace1/Material.java raytrace/Material.java +--- raytrace1/Material.java Wed Jun 17 22:14:46 1998 ++++ raytrace/Material.java Mon Nov 30 22:21:47 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Color; + + /** +diff -u raytrace1/MaterialNode.java raytrace/MaterialNode.java +--- raytrace1/MaterialNode.java Wed Jun 17 22:14:47 1998 ++++ raytrace/MaterialNode.java Mon Nov 30 22:21:47 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import LinkNode; + //import Material; + +diff -u raytrace1/ObjNode.java raytrace/ObjNode.java +--- raytrace1/ObjNode.java Wed Jun 17 22:14:49 1998 ++++ raytrace/ObjNode.java Mon Nov 30 22:21:47 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import LinkNode; + //import ObjectType; + +diff -u raytrace1/ObjectType.java raytrace/ObjectType.java +--- raytrace1/ObjectType.java Wed Jun 17 22:14:48 1998 ++++ raytrace/ObjectType.java Mon Nov 30 22:21:47 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import CacheIntersectPt; + //import IntersectPt; + //import Material; +diff -u raytrace1/OctNode.java raytrace/OctNode.java +--- raytrace1/OctNode.java Wed Jun 17 22:14:50 1998 ++++ raytrace/OctNode.java Mon Nov 30 22:21:47 1998 +@@ -14,7 +14,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Face; + //import ObjNode; + //import ObjectType; +diff -u raytrace1/Point.java raytrace/Point.java +--- raytrace1/Point.java Wed Jun 17 22:14:51 1998 ++++ raytrace/Point.java Mon Nov 30 22:21:47 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Vector; + + /** +diff -u raytrace1/PolyTypeObj.java raytrace/PolyTypeObj.java +--- raytrace1/PolyTypeObj.java Wed Jun 17 22:14:53 1998 ++++ raytrace/PolyTypeObj.java Mon Nov 30 22:21:48 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + + //import IntersectPt; + //import Material; +diff -u raytrace1/PolygonObj.java raytrace/PolygonObj.java +--- raytrace1/PolygonObj.java Wed Jun 17 22:14:52 1998 ++++ raytrace/PolygonObj.java Mon Nov 30 22:21:48 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import IntersectPt; + //import Material; + //import Point; +diff -u raytrace1/Ray.java raytrace/Ray.java +--- raytrace1/Ray.java Wed Jun 17 22:14:54 1998 ++++ raytrace/Ray.java Mon Nov 30 22:21:48 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Point; + //import Vector; + +diff -u raytrace1/RayTracer.java raytrace/RayTracer.java +--- raytrace1/RayTracer.java Wed Jun 17 22:14:55 1998 ++++ raytrace/RayTracer.java Tue Nov 26 09:00:21 2002 +@@ -17,9 +17,8 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + +-import spec.harness.*; + + /** + * class RayTracer +@@ -99,9 +98,7 @@ + + } + +- if (Context.getVerify()) { +- canvas.WriteDiag(); +- } ++ canvas.WriteDiag(); + + } + +diff -u raytrace1/Scene.java raytrace/Scene.java +--- raytrace1/Scene.java Wed Jun 17 22:14:56 1998 ++++ raytrace/Scene.java Mon Nov 30 22:29:58 1998 +@@ -14,7 +14,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + + import java.io.*; + +@@ -84,7 +84,7 @@ + int numObj = 0, ObjID = 0; + + try { +- infile = new DataInputStream(new BufferedInputStream( new spec.io.FileInputStream(filename) )); ++ infile = new DataInputStream(new BufferedInputStream( new java.io.FileInputStream(filename) )); + + camera = null; + lights = null; +@@ -628,7 +628,7 @@ + int xstart = section * width/nsections; + int xend = xstart + width/nsections; + +-spec.harness.Context.out.println( "+"+xstart + " to " + (xend-1) + " by " + canvas.GetHeight() ); ++System.out.println( "+"+xstart + " to " + (xend-1) + " by " + canvas.GetHeight() ); + + for (ypixel = 0 ; ypixel < canvas.GetHeight(); ypixel++) { + current = new Point(base); +@@ -645,7 +645,7 @@ + } + base.Add(vertIncr); + } +-spec.harness.Context.out.println( "-"+xstart + " to " + (xend-1) + " by " + canvas.GetHeight() ); ++System.out.println( "-"+xstart + " to " + (xend-1) + " by " + canvas.GetHeight() ); + // } + + } +diff -u raytrace1/SphereObj.java raytrace/SphereObj.java +--- raytrace1/SphereObj.java Wed Jun 17 22:14:57 1998 ++++ raytrace/SphereObj.java Mon Nov 30 22:21:48 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import IntersectPt; + //import Material; + //import ObjectType; +diff -u raytrace1/TriangleObj.java raytrace/TriangleObj.java +--- raytrace1/TriangleObj.java Wed Jun 17 22:14:58 1998 ++++ raytrace/TriangleObj.java Mon Nov 30 22:21:48 1998 +@@ -12,7 +12,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + + //import IntersectPt; + //import Material; +diff -u raytrace1/Vector.java raytrace/Vector.java +--- raytrace1/Vector.java Wed Jun 17 22:14:59 1998 ++++ raytrace/Vector.java Mon Nov 30 22:21:48 1998 +@@ -11,7 +11,7 @@ + * This source code is provided as is, without any express or implied warranty. + */ + +-package spec.benchmarks._205_raytrace; ++//package spec.benchmarks._205_raytrace; + //import Point; + + /** diff --git a/threads/Makefile.in b/threads/Makefile.in deleted file mode 100644 index 6b8cc2667..000000000 --- a/threads/Makefile.in +++ /dev/null @@ -1,281 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -noinst_LIBRARIES = @LIBTHREAD@ -EXTRA_LIBRARIES = libthreads.a - -libthreads_a_SOURCES = locks.c locks.h \ - thread.c thread.h \ - threadio.c threadio.h - -INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/@SYSDEP_DIR@ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -LIBRARIES = $(noinst_LIBRARIES) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libthreads_a_LIBADD = -libthreads_a_OBJECTS = locks.o thread.o threadio.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -DEP_FILES = .deps/locks.P .deps/thread.P .deps/threadio.P -SOURCES = $(libthreads_a_SOURCES) -OBJECTS = $(libthreads_a_OBJECTS) - -all: Makefile $(LIBRARIES) - -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu threads/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: - -clean-noinstLIBRARIES: - -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -libthreads.a: $(libthreads_a_OBJECTS) $(libthreads_a_DEPENDENCIES) - -rm -f libthreads.a - $(AR) cru libthreads.a $(libthreads_a_OBJECTS) $(libthreads_a_LIBADD) - $(RANLIB) libthreads.a - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = threads - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu threads/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -maintainer-clean-depend: - -rm -rf .deps - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $< - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $< - @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \ - < .deps/$(*F).p > .deps/$(*F).P - @-rm -f .deps/$(*F).p -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -clean: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ - clean-generic mostlyclean - -distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \ - distclean-depend distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info dvi \ -installcheck install-exec install-data install uninstall all \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/toolbox/Makefile.in b/toolbox/Makefile.in deleted file mode 100644 index 898911f64..000000000 --- a/toolbox/Makefile.in +++ /dev/null @@ -1,283 +0,0 @@ -# Makefile.in generated automatically by automake 1.3 from Makefile.am - -# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = /bin/sh - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DISTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_alias = @host_alias@ -host_triplet = @host@ -CC = @CC@ -COMPILER_OBJECTS = @COMPILER_OBJECTS@ -COMPILER_SOURCES = @COMPILER_SOURCES@ -GC_OBJ = @GC_OBJ@ -LIBTHREAD = @LIBTHREAD@ -MAKEINFO = @MAKEINFO@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -SYSDEP_DIR = @SYSDEP_DIR@ -THREAD_OBJ = @THREAD_OBJ@ -VERSION = @VERSION@ - -noinst_LIBRARIES = libtoolbox.a - -libtoolbox_a_SOURCES = memory.c memory.h \ - loging.c loging.h \ - chain.c chain.h \ - tree.c tree.h \ - list.c list.h - -INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/@SYSDEP_DIR@ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -LIBRARIES = $(noinst_LIBRARIES) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libtoolbox_a_LIBADD = -libtoolbox_a_OBJECTS = memory.o loging.o chain.o tree.o list.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP = --best -DEP_FILES = .deps/chain.P .deps/list.P .deps/loging.P .deps/memory.P \ -.deps/tree.P -SOURCES = $(libtoolbox_a_SOURCES) -OBJECTS = $(libtoolbox_a_OBJECTS) - -all: Makefile $(LIBRARIES) - -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu toolbox/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: - -clean-noinstLIBRARIES: - -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -libtoolbox.a: $(libtoolbox_a_OBJECTS) $(libtoolbox_a_DEPENDENCIES) - -rm -f libtoolbox.a - $(AR) cru libtoolbox.a $(libtoolbox_a_OBJECTS) $(libtoolbox_a_LIBADD) - $(RANLIB) libtoolbox.a - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = toolbox - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu toolbox/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -maintainer-clean-depend: - -rm -rf .deps - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $< - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $< - @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \ - < .deps/$(*F).p > .deps/$(*F).P - @-rm -f .deps/$(*F).p -info: -dvi: -check: all - $(MAKE) -installcheck: -install-exec: - @$(NORMAL_INSTALL) - -install-data: - @$(NORMAL_INSTALL) - -install: install-exec install-data all - @: - -uninstall: - -install-strip: - $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install -installdirs: - - -mostlyclean-generic: - -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -rm -f Makefile $(DISTCLEANFILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -clean: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ - clean-generic mostlyclean - -distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \ - distclean-depend distclean-generic clean - -rm -f config.status - -maintainer-clean: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info dvi \ -installcheck install-exec install-data install uninstall all \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: -- 2.25.1