[kaffe] [patch] auto* tools and misc make file changes

Timothy Stack stack@cs.utah.edu
Mon Feb 3 10:59:01 2003


hi,

Attached is a patch that makes kaffe work with the latest auto tools
(automake 1.7.2, autoconf 2.57, libtool 1.4.3), its really pretty
painless.  If you want automatic regeneration of Makefile.in's and
Makefile's you should specify '--enable-maintainer-mode' when configuring.
There's also some miscellaneous fixes for 'make dist' and problems
building javalib.  Change log is below.

tim stack


2003-02-03 Timothy S Stack <stack@cs.utah.edu>

	* Makefile.am, 
	config/Makefile.am,
	kaffe/kaffevm/Makefile.am,
	libraries/clib/awt/Makefile.am,
	libraries/clib/awt/qt/Makefile.am,
	libraries/extensions/sound/Makefile.am,
	libraries/extensions/sound/common/Makefile.am,
	libraries/extensions/sound/esd/Makefile.am:
	Fixes for 'make dist'

	* test/regression/Makefile.am:
	Add 'all-am' target that has TestScript as a dependency
	so it will be regenerated automatically.

	* configure.in:
	Use extra options in AC_INIT().  Add AC_SUBST() for
	abssrcdir (used by javalib make file).  Fix typo in
	--with-staticbin comment help.  More jikes detection
	magic.  Split checks for resource.h and getrusage to make
	it work with current automake.  Add explicit check for
	esd.h.

	* developers/autogen.sh:
	Change autoheader command line to work with the latest
	version.

	* kaffe/scripts/compat/Makefile.am:
	Define *_SCRIPTS variables when SUN_COMPAT is not true.

	* libraries/javalib/Makefile.am:
	Fixes for 'make dist'.  The profiles path should use
	$(srcdir) so it works when building in a separate
	directory.  The bootstrap.classlist should use $(abssrcdir)
	so it works when building in a separate directory (the 'cd
	$(LIBDIR)' changes the path and invalidates $(srcdir)).
	Finally, copy over the newly generated rt.jar into the
	source tree.