[Snort-devel] Snort 1.8.7 configure on Solaris 2.5.1, 2.7, 2.8 Intel

Chris Green cmg at ...402...
Mon Aug 19 04:28:04 EDT 2002


Andy_Bach at ...1543... writes:

> Hi.
>
> Solaris grep (2.5.1, 2.7 and 2.8 on Intel) doesn't have a '-q' option, so 
> the test:
>
> # any sparc platform has to have this one defined.
> if eval "echo $host_cpu|grep -iq sparc"; then
>      cat >> confdefs.h <<\EOF
> #define WORDS_MUSTALIGN 1
> EOF
>
> so you see:
> checking whether byte ordering is bigendian... (cached) no
> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . . .
>
> However,  the :
> /usr/xpg4/bin/grep
>
> has a -q

That has already been fixed in snort-1.9
-- 
Chris Green <cmg at ...402...>
Don't use a big word where a diminutive one will suffice.




More information about the Snort-devel mailing list