This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libart-config check


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]