This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] find libart2-config executable
- From: Michael Koch <konqueror at gmx dot de>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: java at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Michael Koch <konqueror at gmx dot de>
- Date: Sat, 3 Jan 2004 12:19:25 +0100
- Subject: Re: [patch] find libart2-config executable
- References: <16374.41726.608646.767997@gargle.gargle.HOWL>
On Sat, Jan 03, 2004 at 12:09:50PM +0100, Matthias Klose wrote:
> This is an "old" patch, somehow it vanished during some checkins ...
> It's needed to find the correct libart-config executable on Debian
> systems. It's still in libart.m4, but not in aclocal.m4. How was this
> file regenerated, if not from libart.m4?
>
> Matthias
>
> --- libjava/aclocal.m4~ 2004-01-02 12:28:12.000000000 +0100
> +++ libjava/aclocal.m4 2004-01-03 11:59:31.000000000 +0100
> @@ -960,7 +960,10 @@
> fi
> fi
>
> - AC_PATH_PROG(LIBART_CONFIG, libart-config, no)
> + AC_PATH_PROG(LIBART_CONFIG, libart2-config, no)
> + if test "$LIBART_CONFIG" = "no" ; then
> + AC_PATH_PROG(LIBART_CONFIG, libart-config, no)
> + fi
> min_libart_version=ifelse([$1], ,0.2.5,$1)
> AC_MSG_CHECKING(for LIBART - version >= $min_libart_version)
> no_libart=""
>
Thx for finding this. This definitely should be fixed again.
I think the problem is that aclocal.m4 was generated by "aclocal"
instead of "aclocal -I .". This mess will hopefully be gone with
--enable-maintianer-mode when the atofriends update is done.
Michael