[PATCH] libart-config check

Matthias Klose doko@cs.tu-berlin.de
Thu Jul 31 15:09:00 GMT 2003


At least on Debian systems, a newer version of libart-config is
installed under the name libart2-config. the binary libart-config
belongs to an older version, so check for the newer one before.

Ok to checkin?

2003-07-31  Matthias Klose  <doko@debian.org>

	* libart.m4: check for libart-config binary
	  under the name libart2-config.
	* 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