zgrep: do not assume standard 'grep' has -e
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Oct 2012 06:15:26 +0000 (23:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Oct 2012 06:16:05 +0000 (23:16 -0700)
commit60b3f4eb672a85de28ecaad47ed426f8c8fe6c32
tree37e061073445afdd8c24e54c93615e69371c2bbb
parent953e93ec52c660d5c3ef91f8ab463aa1be965b38
zgrep: do not assume standard 'grep' has -e

On Solaris 11, /usr/bin/grep -e does not work.
Problem reported by Petr Sumbera in
<http://lists.gnu.org/archive/html/bug-gzip/2012-10/msg00003.html>.
* Makefile.am (.in): Substitute @GREP@.
* configure.ac (AC_PROG_GREP): Invoke.
* zgrep.in (grep): Use @GREP@.
Makefile.am
configure.ac
zgrep.in