classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Build system update


From: Mark Wielaard
Subject: Re: [cp-patches] Build system update
Date: Sat, 22 Oct 2005 11:22:44 +0200

hi guilhem,

On Thu, 2005-10-20 at 21:20 +0200, Guilhem Lavaux wrote:
> I have finally merged classpath into kaffe's tree. But to make things 
> work smoothly I had to add a few hooks into configure.ac. This patch 
> adds support for "--with-native-libdir" and "--with-glibj-dir". The 
> first one moves the native libraries to another directory instead of 
> ${libdir}/${PACKAGE} (which is still the default). The second one do the 
> same for the java library.

This is probably an historic mistake now that I think about it. I know
of no other package that does that. But thanks for keeping the default
the same for now.

Are there similar flags for kaffe so it can pick up native jni libraries
and glibj from alternative directories? That would kind of complement
the "big merge" by making it hopefully possible in the future for a
packager to install them from gnu classpath once and reuse them for
multiple runtimes they install.

> 2005-10-20  Guilhem Lavaux  <address@hidden>
> 
>       * configure.ac: Added support for "--with-native-libdir" and
>       "--with-glibj-dir". Generate copy-vmresources.sh
> 
>       * lib/Makefile.am: Call copy-vmresources.sh to fetch possible vm
>       resources from the vmdirs.
> 
>       * lib/copy-vmresources.sh.in: New script file.
> 
>       * lib/gen-classlist.sh.in: Include com/ as base package for the
>       vm directories.
> 
>       *  native/jawt/Makefile.am,
>       native/jni/gtk-peer/Makefile.am,
>       native/jni/java-io/Makefile.am,
>       native/jni/java-lang/Makefile.am,
>       native/jni/java-net/Makefile.am,
>       native/jni/java-nio/Makefile.am,
>       native/jni/java-util/Makefile.am,
>       native/jni/midi-alsa/Makefile.am,
>       native/jni/midi-dssi/Makefile.am,
>       native/jni/qt-peer/Makefile.am,
>       native/jni/xmlj/Makefile.am: Install libraries in nativelibdir
>       and not pkglib.

Looks fine to me. But there is one typo (see below) and I would
appreciate it if you could test with an alternative runtime like jamvm
that currently uses the defaults to see if the "no configure options
given" experience still works out of the box with those.

> +AC_CONFIG_COMMANDS([copy-vmmresources],[chmod 755 lib/copy-vmmetainf.sh])

One m to much, should be copy-vmresources.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]