Be more verbose in configure

Andreas Jaeger aj@suse.de
Tue Apr 17 04:11:00 GMT 2001


Ulrich Drepper <drepper@redhat.com> writes:

> Andreas Jaeger <aj@suse.de> writes:
> 
> > Ok to commit?
> 
> I'm not sure this is the best solution.  We should probably move all
> the critical tests together, immediately followed by the test and exit
> message.  Then the same for the non-critical programs.

Like this?

Andreas

2001-04-17  Andreas Jaeger  <aj@suse.de>

	* configure.in: Move test for critical programs up.

============================================================
Index: configure.in
--- configure.in	2001/04/09 03:59:43	1.312
+++ configure.in	2001/04/17 11:10:50
@@ -564,6 +564,14 @@
   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
   [3.79* | 3.[89]*], critic_missing=t)
 
+
+if test -n "$critic_missing"; then
+AC_MSG_ERROR([
+*** Some critical program is missing or too old.
+*** Check the INSTALL file for required versions.])
+fi
+
+
 AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
   [0.[1-9][0-9].* | [1-9].*], MSGFMT=: aux_missing=t)
@@ -590,12 +598,6 @@
 # AC_CHECK_PROG_VER(AS, $AS, --version,
 #   [GNU assembler.* \([0-9]*\.[0-9.]*\(-ia64-[0-9]*\)*\)],
 #   [2.10.[1-9]* | 2.1[1-9]* | 2.9-ia64-*], AS=: critic_missing=t)
-
-if test -n "$critic_missing"; then
-AC_MSG_ERROR([
-*** Some critical program is missing or too old.
-*** Check the INSTALL file for required versions.])
-fi
 
 test -n "$aux_missing" && AC_MSG_WARN([
 *** An auxiliary program is missing or too old;


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list