Patch: Fix for bootstrap/3075
Tom Tromey
tromey@redhat.com
Fri Jun 8 12:54:00 GMT 2001
>>>>> "Rainer" == Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:
Rainer> This patch seems to have broken a sparc-sun-solaris2.5.1 bootstrap:
Thanks.
Rainer> While $(srcdir) is absolute, it's passed to --with-auxdir as a
Rainer> non-existant relative directory ;-(
Another case I failed to consider :-(.
auxdir handling really sucks, and automake makes it worse.
I plan to fix that.
Meanwhile, is there any way you could try the appended patch?
(I know this is no good for Windows. libjava doesn't build on Windows
anyway.)
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 19:52:30
@@ -23,7 +23,16 @@
# 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=
+ case "$ac_aux_dir" in
+ /*)
+ sub_auxdir="$ac_aux_dir"
+ ;;
+ *)
+ sub_auxdir="../$ac_aux_dir"
+ ;;
+ esac
+ ac_configure_args="$ac_configure_args --with-auxdir=../$sub_aux_dir"
fi
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
More information about the Java-patches
mailing list