Patch for libgrypt autoconf macro

Evgeny Grin k2k at yandex.ru
Fri Mar 7 10:02:26 CET 2014



07.03.2014, 00:46, "Werner Koch" <wk at gnupg.org>:
> On Thu,  6 Mar 2014 17:47, k2k at yandex.ru said:
> Back to your patch:
>
>  -- Macro: AC_PROG_GREP
>      Look for the best available 'grep' or 'ggrep' that accepts the
>      longest input lines possible, and that supports multiple '-e'
>      options.  Set the output variable 'GREP' to whatever is chosen.
>      *Note Limitations of Usual Tools: grep, for more information about
>      portability problems with the 'grep' command family.  The result
>      can be overridden by setting the 'GREP' variable and is cached in
>      the 'ac_cv_path_GREP' variable.
>
> However, that extra feature test is simply not required in this case.

Extra test is not required, but test for grep, sed and awk is performed almost always by generated configure.
And main advantage is not using some "tested" grep, but is ability to simple override name/path of used host tools.

-- 
Best Wishes,
Evgeny Grin



More information about the Gcrypt-devel mailing list