Patch: Fix for bootstrap/3075

Tom Tromey tromey@redhat.com
Fri Jun 8 16:37:00 GMT 2001


>>>>> "Rainer" == Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:

>> This patch fixes bootstrap/3075.
>> With this patch installed I can configure and build (with
>> --enable-languages=java) both in srcdir and in a separate directory.
>> I tested this on my x86 Linux box.

Rainer> This patch seems to have broken a sparc-sun-solaris2.5.1 bootstrap:

Here's my followup patch, which I'm also checking in.
This ought to work in any scenario.

2001-06-08  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuilt.
	* configure.in: Compute new aux dir using `pwd'.

Tom

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.in,v
retrieving revision 1.73.2.11
diff -u -r1.73.2.11 configure.in
--- configure.in	2001/06/08 17:58:16	1.73.2.11
+++ configure.in	2001/06/08 23:36:48
@@ -23,7 +23,8 @@
    # Sigh.  Libtool's macro doesn't do the right thing.
    INCLTDL="-I\$(top_srcdir)/libltdl $INCLTDL"
    # FIXME: this is a hack.
-   ac_configure_args="$ac_configure_args --with-auxdir=../$ac_aux_dir"
+   sub_auxdir="`cd $ac_aux_dir && pwd`"
+   ac_configure_args="$ac_configure_args --with-auxdir=$sub_auxdir"
 fi
 AC_SUBST(INCLTDL)
 AC_SUBST(LIBLTDL)



More information about the Java-patches mailing list