[PATCH 2/3] configure: add option to specify grep
Fabian Freyer
fabian.freyer@physik.tu-berlin.de
Wed Aug 27 00:04:00 GMT 2014
Messed up that SoB-order, sorry!
On 27/08/14 01:27, Yann E. MORIN wrote:
> 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>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
> ---
> configure.ac | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index f8c67be..9899a3b 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(
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20140827/c5fcd307/attachment.sig>
More information about the crossgcc
mailing list