[PATCH] libart-config check

Matthias Klose doko@cs.tu-berlin.de
Mon Aug 4 18:33:00 GMT 2003


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=""



More information about the Java mailing list