summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-03 18:53:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-03 18:53:50 (GMT)
commitf3fcd9f1630f9bc7dda60858b3e9ade7400b3060 (patch)
tree753591c4533bb3df7f8615b331ae0d5bb3e69472
parentc9c83ba8969c166f617da24c6af54a479373adf9 (diff)
downloadcpython-f3fcd9f1630f9bc7dda60858b3e9ade7400b3060.zip
cpython-f3fcd9f1630f9bc7dda60858b3e9ade7400b3060.tar.gz
cpython-f3fcd9f1630f9bc7dda60858b3e9ade7400b3060.tar.bz2
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.
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
4 files changed, 7 insertions, 3 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index dccb779..1cf2cb1 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -321,6 +321,7 @@ David Goodger
Hans de Graaff
Eddy De Greef
Duncan Grisby
+Fabian Groffen
Eric Groo
Dag Gruneau
Michael Guravage
diff --git a/Misc/NEWS b/Misc/NEWS
index 899eab0..de4536a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.
diff --git a/configure b/configure
index b143c4e..d454efc 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.in b/configure.in
index bd2d027..f3a7ee9 100644
--- a/configure.in
+++ b/configure.in
@@ -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