Georg Schwarz wrote:
Am 20.12.2006 um 17:37 schrieb Matthew Woehlke:
Here is what I get on IRIX 6.5:
$ echo foo | /sbin/grep -e 'fo\?'
$ echo foo | grep -e 'fo\?'
foo
$ grep --version
grep (GNU grep) 2.5.1
on IRIX 5.3 however:
lorenz 54% echo foo | /sbin/grep -e 'fo\?'
Illegal option -- e
Usage: grep -hblcnsvi pattern file ...
Ah, well then, that would certainly be why configure doesn't like that
grep. :-)
Anyway, setting GREP=/sbin/grep works fine (probably the tests are
skipped)
Yes, you are probably telling it (incorrectly) that /sbin/grep is OK.
Don't do that. :-)
(Honestly, if you are then able to build gzip I guess you are OK, but
you should probably get or build GNU grep.)
OK.
I'm still wondering how I can get away with a grep that does not support
-e. It seems it is not needed at all to build gzip?
Could be, that's why I said "if you are then able to build gzip I guess
you are OK". :-)
--
Matthew
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!