This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Fix for bootstrap/3075
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Subject: Re: Patch: Fix for bootstrap/3075
- From: Tom Tromey <tromey at redhat dot com>
- Date: 08 Jun 2001 17:51:41 -0600
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>
- References: <871yovbqjd.fsf@creche.redhat.com> <yddbsny7ork.fsf@xayide.TechFak.Uni-Bielefeld.DE>
- Reply-To: tromey at redhat dot com
>>>>> "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)