From a04271b63afbed133e470813421d03cd23896e99 Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 4 Jun 2011 14:01:37 +0000 Subject: [PATCH] prefer GNU's grep over Oracle's broken one --- configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index dd875ca4c..e1f66c658 100644 --- a/configure.ac +++ b/configure.ac @@ -254,12 +254,16 @@ AC_PROG_YACC AC_PROG_AWK AC_PROG_INSTALL AC_PROG_LN_S -AC_CHECK_PROG(SED,sed,sed,false) -AC_CHECK_PROG(GREP,grep,grep,false) -AC_CHECK_PROG(SORT,sort,sort,false) + +# prefer GNU variants over, say, Oracle's or Apples +AC_CHECK_PROGS(SED,gsed sed,false) +AC_CHECK_PROGS(GREP,ggrep grep,false) +AC_CHECK_PROGS(SORT,gsort sort,false) + AC_CHECK_PROG(GROFF,groff,groff,false) AC_CHECK_PROG(PS2PDF,ps2pdf,ps2pdf,false) AC_CHECK_PROG(PS2PDF,pstopdf,pstopdf,false) + PKG_PROG_PKG_CONFIG AC_ARG_WITH(tclsh, -- 2.40.0