Message ID | bb1fde1910982b5f703c7f145077a2c2dda3e3a2.1409095485.git.yann.morin.1998@free.fr |
---|---|
State | Accepted |
Headers | show |
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( >
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( >
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(
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> Cc: Fabian Freyer <fabian.freyer@physik.tu-berlin.de> --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+)