This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

[PATCH] libart-config check


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


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