This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] configure: add option to specify grep


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: "Yann E. MORIN" <yann.morin.1998@free.fr>

Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de>

> 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(
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]