summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-09 15:43:44 (GMT)
committerGitHub <noreply@github.com>2017-03-09 15:43:44 (GMT)
commit6f226b5efecc8f15f1adc56be2fa41377523d3a5 (patch)
tree16def9053a0250649a0a72e3129d645f3cf4577d /configure.ac
parent102d25caebf5893493871985cb8433884c23d2cb (diff)
parent3b658d15d320e39149e858f74d00397e76514d9f (diff)
Merge pull request #637 from stilor/macos-sparc-glibc
SPARC glibc (possibly others) misconfigured on macos
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d80a5cd..d10bf71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,6 +163,10 @@ AC_PROG_INSTALL
ACX_WITH_DEPRECATED([grep], [GREP])
AC_ARG_VAR([GREP], [Specify the full path to GNU grep])
+
+# This is not a typo! Prefer GNU grep on macOS if it is installed.
+ACX_PATH_TOOL_REQ([GREP], [ggrep grep], [grep])
+ACX_PATH_TOOL_REQ([EGREP], [gegrep egrep], [egrep])
AC_PROG_GREP
AC_PROG_EGREP
AS_IF([test "$EGREP" != "$GREP -E"],