This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Fix for bootstrap/3075
Tom Tromey writes:
> 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.)
Still fails the same way.
> 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)
>
I cannot see how this should work: if you do an objdir build (completely
out of srcdir), ac_aux_dir will again be absolute
(i.e. $srcdir/<somewhere>), and prepending ../ to that just cannot work.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE