From: Antoine Pitrou Date: Mon, 3 Jan 2011 18:56:50 +0000 (+0000) Subject: Merged revisions 87698 via svnmerge from X-Git-Tag: v3.2.1b1~347^2~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a75c10526f178e3b570da95454d52220e7870ea6;p=thirdparty%2FPython%2Fcpython.git 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. ........ --- diff --git a/Misc/ACKS b/Misc/ACKS index 433d9bf03cc0..ef5fce89ff0c 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 f9dd5a10270c..bbedc77bca54 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 cf6a23b914b9..31a430817ce0 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 e6be5ca66b12..5c35af2d349e 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