Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in

the configure script but use $GREP instead.  Patch by Fabian Groffen.
This commit is contained in:
Antoine Pitrou 2011-01-03 18:53:50 +00:00
parent c9c83ba896
commit f3fcd9f163
4 changed files with 7 additions and 3 deletions

View File

@ -321,6 +321,7 @@ David Goodger
Hans de Graaff
Eddy De Greef
Duncan Grisby
Fabian Groffen
Eric Groo
Dag Gruneau
Michael Guravage

View File

@ -101,6 +101,9 @@ Library
Build
-----
- Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead. Patch by Fabian Groffen.
- Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 87639 .
# From configure.in Revision: 87646 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.2.
#
@ -8976,7 +8976,7 @@ rm -f conftest*
;;
solaris)
if test -f /etc/netconfig; then
if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
if $GREP -q tcp6 /etc/netconfig; then
ipv6type=$i
ipv6trylibc=yes
fi

View File

@ -2350,7 +2350,7 @@ yes
;;
solaris)
if test -f /etc/netconfig; then
if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
if $GREP -q tcp6 /etc/netconfig; then
ipv6type=$i
ipv6trylibc=yes
fi