This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR libjava/32078: Update libtool in classpath
On Tue, May 29, 2007 at 11:33:24AM -0600, Tom Tromey wrote:
> >>>>> "H.J." == H J Lu <hjl@lucon.org> writes:
>
> H.J.> There is no need to add AC_CONFIG_AUX_DIR(../..) if the above is
> H.J.> followed.
>
> If the AC_CONFIG_AUX_DIR approach works, then let's use that.
> This is better because it means future libtool upgrades won't require
> extra hacks for libjava/classpath, and because it means less work when
> importing a new Classpath.
>
> If it doesn't work, let's copy the needed files there.
>
> Can you try this?
>
This patch + my libtool.m4 hack work for me on Linux/x86-64 with
"make", "make check" and "make install".
I didn't update libjava/HACKING nor touch lt* files in classpath since
I don't know much about classpath. Someone who is familiar with
classpath should look into them.
H.J.
---
2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
PR libjava/32078
* configure.ac: Add AC_CONFIG_AUX_DIR(../..).
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
--- libjava/classpath/configure.ac.libtool 2007-03-19 15:03:07.000000000 -0700
+++ libjava/classpath/configure.ac 2007-05-29 11:30:46.000000000 -0700
@@ -9,6 +9,10 @@ dnl define([AC_CACHE_SAVE], )dnl
AC_INIT([GNU Classpath],[0.94-pre],[classpath@gnu.org],[classpath])
AC_CONFIG_SRCDIR(java/lang/System.java)
+dnl GCJ LOCAL
+AC_CONFIG_AUX_DIR(../..)
+dnl END GCJ LOCAL
+
AC_CANONICAL_TARGET
dnl GCJ LOCAL