diff configure.ac @ 16132:43e6415393ff

build: check for grep in configure and then use it in build process. * configure.ac: Add call to AC_PROG_GREP. * build-aux/common.mk: substitute environment variable GREP with value from configure. Use $(GREP) in commands. * build-aux/find-files-with-tests.sh: use $(GREP) instead of grep in commands.
author Rik <rik@octave.org>
date Tue, 26 Feb 2013 16:52:33 -0800
parents 63163e8eaef3
children 236be6179785
line wrap: on
line diff
--- a/configure.ac	Tue Feb 26 15:22:12 2013 -0800
+++ b/configure.ac	Tue Feb 26 16:52:33 2013 -0800
@@ -97,6 +97,7 @@
 
 ## Programs used in Makefiles.
 AC_PROG_AWK
+AC_PROG_GREP
 OCTAVE_PROG_FIND
 OCTAVE_PROG_SED
 OCTAVE_PROG_PERL