This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Install libjava binaries only for primary multilib (PR libgcj/33764)


Jakub Jelinek wrote:
Hi!

make install in libjava installs binaries from all multilib
builds into the same --bindir, so it is just a matter of timing
which ABI wins.  The following patch only installs the binaries
for the primary multilib, for all other multilibs they
are just noinst_PROGRAMS (built and used during the build and make check,
but not installed).
Tested on x86_64-linux, ok for trunk?

2008-11-12 Jakub Jelinek <jakub@redhat.com>

	PR libgcj/33764
libjava/
	* configure.ac (INSTALL_BINARIES): New AM_CONDITIONAL.
	* Makefile.am: If not INSTALL_BINARIES, use noinst_PROGRAMS
	instead of bin_PROGRAMS for binaries.
	* configure: Regenerated.
	* Makefile.in: Regenerated.
libjava/classpath/
	* configure.ac (INSTALL_BINARIES): New AM_CONDITIONAL.
	* tools/Makefile.am: If not INSTALL_BINARIES, use noinst_PROGRAMS
	instead of bin_PROGRAMS for binaries.
	* configure: Regenerated.
	* tools/Makefile.in: Regenerated.


FWIW, I think this is a good idea.


David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]