summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-03 18:56:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-03 18:56:50 (GMT)
commita75c10526f178e3b570da95454d52220e7870ea6 (patch)
tree6afdb067b61e832f5fcd8380bb7368c362f20900
parentf50a6b6b6d5c7b36e7fbe49266edd3083a23cbb9 (diff)
downloadcpython-a75c10526f178e3b570da95454d52220e7870ea6.zip
cpython-a75c10526f178e3b570da95454d52220e7870ea6.tar.gz
cpython-a75c10526f178e3b570da95454d52220e7870ea6.tar.bz2
Merged revisions 87698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines 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 433d9bf..ef5fce8 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -295,6 +295,7 @@ David Goodger
Hans de Graaff
Eddy De Greef
Duncan Grisby
+Fabian Groffen
Dag Gruneau
Michael Guravage
Lars Gustäbel
diff --git a/Misc/NEWS b/Misc/NEWS
index f9dd5a1..bbedc77 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -96,6 +96,9 @@ Extensions
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 cf6a23b..31a4308 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 87641 .
+# From configure.in Revision: 87649 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for python 3.1.
#
@@ -8878,7 +8878,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 e6be5ca..5c35af2 100644
--- a/configure.in
+++ b/configure.in
@@ -2385,7 +2385,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