This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] Support for sed 3.02.80 (GNU)
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: [PATCH] Support for sed 3.02.80 (GNU)
- From: "Rodrigo Barbosa (aka morcego)" <rodrigob at conectiva dot com dot br>
- Date: Mon, 21 Aug 2000 16:41:12 -0400
A small patch for making configure detect sed 3.02.80 as ok.
The way things are, configure detects it as bad, even is everything
(seens to) work ok with it. I added a new exp on the query, couse
I don't know if there is any version that can give problem and is excluded
by the other queries.
Hope I'm sending it to the right place ...
Off course, few free to change it any way you folks fell needed.
==========================================================================
diff -u glibc-2.1.92/configure glibc-2.1.92-conectiva/configure
--- glibc-2.1.92/configure Wed Aug 9 05:10:25 2000
+++ glibc-2.1.92-conectiva/configure Mon Aug 21 16:31:48 2000
@@ -1613,7 +1613,7 @@
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]*|3.0[2-9].*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
diff -u glibc-2.1.92/configure.in glibc-2.1.92-conectiva/configure.in
--- glibc-2.1.92/configure.in Wed Aug 9 05:10:25 2000
+++ glibc-2.1.92-conectiva/configure.in Mon Aug 21 16:29:09 2000
@@ -533,7 +533,7 @@
[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]*|3.0[2-9].*], SED=: aux_missing=t)
if test -n "$critic_missing"; then
AC_MSG_ERROR([
==========================================================================
--
/* Rodrigo Barbosa - A.K.A. morcego */
/* rodrigob@conectiva.com.br - Conectiva R&D Team */
/* "Quis custodiet custodias?" - Juvenal */
PGP signature