diff options
author | Fabian Freyer <fabian.freyer@physik.tu-berlin.de> | 2014-08-27 00:42:45 +0200 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-08-28 22:32:09 +0200 |
commit | 22f87a8a38af52abcd25eff9e23abd1f5d753790 (patch) | |
tree | 05f3a53ca51f9c5d64dd19b8fb99dd3b50a6b68b | |
parent | 0e339fbbf63b04a64d6648c4a34dd6a46a068141 (diff) | |
download | crosstool-ng-22f87a8a38af52abcd25eff9e23abd1f5d753790.tar.gz crosstool-ng-22f87a8a38af52abcd25eff9e23abd1f5d753790.tar.bz2 crosstool-ng-22f87a8a38af52abcd25eff9e23abd1f5d753790.zip |
configure: add option to specify grep
Allows users for which GNU grep is not the default grep (e.g. BSD
folks), or is in a weird location.
Reported-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de>
[yann.morin.1998@free.fr: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f8c67be6..9899a3bd 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,11 @@ AC_ARG_WITH([install], [Specify the full PATH to a BSD-compatible install]), [INSTALL=$withval]) AC_PROG_INSTALL +AC_CACHE_VAL([ac_cv_path_GREP], + [AC_ARG_WITH([grep], + AS_HELP_STRING([--with-grep=PATH], + [Specify the full PATH to GNU grep]), + [ac_cv_path_GREP=$withval])]) AC_PROG_GREP AC_PROG_EGREP AS_IF( |