[PATCH] Support for sed 3.02.80 (GNU)
Rodrigo Barbosa (aka morcego)
rodrigob@conectiva.com.br
Mon Aug 21 12:49:00 GMT 2000
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([
==========================================================================
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5oZPnn5NdOMMM/nERAuSyAJ9KdCPPUPHjzDaZE7qdB5XwpTXDngCbBleX
nr8Gt18ZghGAap3lZuzM65w=
=/QyB
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list