summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorArnon Yaari <wiggin15@yahoo.com>2020-04-01 15:19:09 (GMT)
committerGitHub <noreply@github.com>2020-04-01 15:19:09 (GMT)
commit5dd836030e0e399b21ab0865ae0d93934bdb3930 (patch)
tree91b5e7ff3d298832b6d97b32bad6fa9076137a50 /configure
parenteacc07439591c97f69ab4a3d17391b009cd78ae2 (diff)
downloadcpython-5dd836030e0e399b21ab0865ae0d93934bdb3930.zip
cpython-5dd836030e0e399b21ab0865ae0d93934bdb3930.tar.gz
cpython-5dd836030e0e399b21ab0865ae0d93934bdb3930.tar.bz2
bpo-38527: fix configure script for Solaris (GH-16845)
On Solaris, the regular "grep" command may be an old version that fails to search a binary file. We need to use the correct command (ggrep, in our case), which is found by the configure script earlier. Automerge-Triggered-By: @pablogsal
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 893d0e1..a7a3ac2 100755
--- a/configure
+++ b/configure
@@ -14340,10 +14340,10 @@ _ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
-if grep noonsees conftest.$ac_objext >/dev/null ; then
+if $GREP noonsees conftest.$ac_objext >/dev/null ; then
ax_cv_c_float_words_bigendian=yes
fi
-if grep seesnoon conftest.$ac_objext >/dev/null ; then
+if $GREP seesnoon conftest.$ac_objext >/dev/null ; then
if test "$ax_cv_c_float_words_bigendian" = unknown; then
ax_cv_c_float_words_bigendian=no
else