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 Hans de Graaff
Eddy De Greef Eddy De Greef
Duncan Grisby Duncan Grisby
Fabian Groffen
Eric Groo Eric Groo
Dag Gruneau Dag Gruneau
Michael Guravage Michael Guravage

View File

@ -101,6 +101,9 @@ Library
Build 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 - Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly. and DragonFly BSD. Patch by Nicolas Joly.

4
configure vendored
View File

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

View File

@ -2350,7 +2350,7 @@ yes
;; ;;
solaris) solaris)
if test -f /etc/netconfig; then 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 ipv6type=$i
ipv6trylibc=yes ipv6trylibc=yes
fi fi