On Tue, 2010-09-28 at 15:28 +0200, Niels Baggesen wrote:
> The man/Makefile.in uses grep -E in place of egrep, which is GNU
> specific.

Actually it isn't. grep -E is posix.

The correct patch would probably be to use the @EGREP@ symbol that
autoconf generates for us.

>  Solaris 8 does not like that.
> 
> --- man/Makefile.in     (revision 19393)
> +++ man/Makefile.in     (working copy)
> @@ -82,7 +82,7 @@
>  manaliases: Makefile
>         touch manaliases
>         @for i in $(MAN3_API) ; do                                \
> -            for j in `sed -n '/^.SH NAME/,/^.SH SYNOPSIS/p' $$i  | sed -e 
> 's/.- .*//' | sed 's/,.*//'  | grep -vE '^.SH ' `; do \
> +            for j in `sed -n '/^.SH NAME/,/^.SH SYNOPSIS/p' $$i  | sed -e 
> 's/.- .*//' | sed 's/,.*//'  | egrep -v '^.SH ' `; do \
>                  echo "making man page alias $$j -> $$i APIs" ;   \
>                  echo ".so man3/$$i" > $$j.3 ;             \
>        done                                                       \

-1 for this patch.

/MF


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to