Skip to content

Commit f3fcd9f

Browse files
committed
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.
1 parent c9c83ba commit f3fcd9f

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ David Goodger
321321
Hans de Graaff
322322
Eddy De Greef
323323
Duncan Grisby
324+
Fabian Groffen
324325
Eric Groo
325326
Dag Gruneau
326327
Michael Guravage

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ Library
101101
Build
102102
-----
103103

104+
- Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
105+
the configure script but use $GREP instead. Patch by Fabian Groffen.
106+
104107
- Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
105108
and DragonFly BSD. Patch by Nicolas Joly.
106109

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 87639 .
2+
# From configure.in Revision: 87646 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.65 for python 3.2.
55
#
@@ -8976,7 +8976,7 @@ rm -f conftest*
89768976
;;
89778977
solaris)
89788978
if test -f /etc/netconfig; then
8979-
if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
8979+
if $GREP -q tcp6 /etc/netconfig; then
89808980
ipv6type=$i
89818981
ipv6trylibc=yes
89828982
fi

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2350,7 +2350,7 @@ yes
23502350
;;
23512351
solaris)
23522352
if test -f /etc/netconfig; then
2353-
if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then
2353+
if $GREP -q tcp6 /etc/netconfig; then
23542354
ipv6type=$i
23552355
ipv6trylibc=yes
23562356
fi

0 commit comments

Comments
 (0)