]> granicus.if.org Git - python/commitdiff
Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 3 Jan 2011 18:53:50 +0000 (18:53 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 3 Jan 2011 18:53:50 +0000 (18:53 +0000)
the configure script but use $GREP instead.  Patch by Fabian Groffen.

Misc/ACKS
Misc/NEWS
configure
configure.in

index dccb7790742b39ec7cea4f868bef9d7df7fd73da..1cf2cb1c7b546b17ae1f0a252c4d86d41e70c913 100644 (file)
--- 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
index 899eab0cc869fdd0b67f5d96c8d0fa2fa6704768..de4536a53fee222c8f3a0097108103411d9babed 100644 (file)
--- 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.
 
index b143c4ea3b529da10575cc04086f6581213998eb..d454efc1fbc560ed86ab2cf77a177324896ce659 100755 (executable)
--- 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
index bd2d027f11eee25267eaeac8d41e8dfec8b34118..f3a7ee9162a2f19ac69bff3a38e614a8a8f14dcf 100644 (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