This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libart-config check
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: tromey at redhat dot com
- Cc: java at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Aug 2003 20:30:00 +0200
- Subject: Re: [PATCH] libart-config check
- References: <16169.10197.303681.239607@gargle.gargle.HOWL><87wudxz8et.fsf@fleche.redhat.com><200308011808.06032.konqueror@gmx.de><87k79xz5sb.fsf@fleche.redhat.com>
Tom Tromey writes:
> >>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
>
> Michael> I just check upstream libart 2.3.3 and it installs libart-config by
> Michael> default. I think we should support both names.
>
> Ok. Matthias, can you check in your patch?
checked in the attached patch
Brian Jones writes:
> This belongs in classpath's configure too I guess.
unsure how it gets there ...
Matthias
2003-08-04 Matthias Klose <doko@debian.org>
* libart.m4: check for libart-config binary
under the name libart2-config as well.
* configure, aclocal.m4: regenerated.
--- libart.m4~ 2003-01-31 18:54:12.000000000 +0100
+++ libart.m4 2003-07-31 16:04:56.000000000 +0200
@@ -32,7 +32,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=""