mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
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>
This commit is contained in:
parent
0e339fbbf6
commit
22f87a8a38
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user