about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 242c60164f..9db8282650 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-21  Ulrich Drepper  <drepper@redhat.com>
+
+	* configure.in: Allow sed versions like 3.02.8.
+	Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
+
 2000-08-21  Marko Myllynen  <myllynen@lut.fi>
 
 	* inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
diff --git a/configure b/configure
index af45f4f2e7..1a016ccfdd 100755
--- a/configure
+++ b/configure
@@ -1613,7 +1613,7 @@ echo "configure:1613: checking version of $SED" >&5
   ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
   case $ac_prog_version in
     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
-    3.0[2-9]|3.[1-9]*|[4-9]*)
+    3.0[2-9]*|3.[1-9]*|[4-9]*)
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
 
@@ -2173,7 +2173,7 @@ else
 fi
 
 
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
diff --git a/configure.in b/configure.in
index 3bd422e822..dacf558851 100644
--- a/configure.in
+++ b/configure.in
@@ -533,7 +533,7 @@ AC_CHECK_PROG_VER(MAKEINFO, makeinfo, --version,
   [3.1[1-9] | 3.[2-9][0-9] | 4.* | 1.6[89] | 1.7[0-9]], MAKEINFO=: aux_missing=t)
 AC_CHECK_PROG_VER(SED, gsed sed, --version,
   [GNU sed version \([0-9]*\.[0-9.]*\)],
-  [3.0[2-9]|3.[1-9]*|[4-9]*], SED=: aux_missing=t)
+  [3.0[2-9]*|3.[1-9]*|[4-9]*], SED=: aux_missing=t)
 
 if test -n "$critic_missing"; then
 AC_MSG_ERROR([