Fix configure check for AS/LD.

Andreas Jaeger aj@suse.de
Tue Apr 1 06:39:00 GMT 2003


I just got a message that "t" is missing while running configure on a
system with old binutils.

Ok to commit the appended patch ?

Andreas

2003-04-01  Andreas Jaeger  <aj@suse.de>

	* configure.in: Output binutils as name if version is too old.

============================================================
Index: configure.in
--- configure.in	29 Mar 2003 08:15:27 -0000	1.389
+++ configure.in	1 Apr 2003 06:38:58 -0000
@@ -682,10 +682,10 @@ AC_SUBST(MIG)dnl Needed by sysdeps/mach/
 # Accept binutils 2.13 or newer.
 AC_CHECK_PROG_VER(AS, $AS, --version,
 		  [GNU assembler.* \([0-9]*\.[0-9.]*\)],
-		  [2.1[3-9]*], AS=: critic_missing=t)
+		  [2.1[3-9]*], AS=: critic_missing=binutils)
 AC_CHECK_PROG_VER(LD, $LD, --version,
 		  [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
-		  [2.1[3-9]*], LD=: critic_missing=t)
+		  [2.1[3-9]*], LD=: critic_missing=binutils)
 
 # We need the physical current working directory.  We cannot use the
 # "pwd -P" shell builtin since that's not portable.  Instead we try to

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