about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f2540bb5c3..6f79207139 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-01  Andreas Jaeger  <aj@suse.de>
+
+	* configure.in: Output as/ld as name if version is too old.
+
 2003-03-31  Daniel Jacobowitz  <drow@mvista.com>
 
 	* configure.in: Don't require an installed C library in the test
diff --git a/configure b/configure
index 420334ff32..e5d3205af8 100755
--- a/configure
+++ b/configure
@@ -3401,7 +3401,7 @@ echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
 echo "${ECHO_T}$ac_prog_version" >&6
 fi
 if test $ac_verc_fail = yes; then
-  AS=: critic_missing=t
+  AS=: critic_missing="$critic_missing as"
 fi
 
 for ac_prog in $LD
@@ -3462,7 +3462,7 @@ echo $ECHO_N "checking version of $LD... $ECHO_C" >&6
 echo "${ECHO_T}$ac_prog_version" >&6
 fi
 if test $ac_verc_fail = yes; then
-  LD=: critic_missing=t
+  LD=: critic_missing="$critic_missing ld"
 fi
 
 
diff --git a/configure.in b/configure.in
index f48a9e8f10..083929cc38 100644
--- a/configure.in
+++ b/configure.in
@@ -682,10 +682,10 @@ AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in
 # 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="$critic_missing as")
 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="$critic_missing ld")
 
 # We need the physical current working directory.  We cannot use the
 # "pwd -P" shell builtin since that's not portable.  Instead we try to