[EMAIL PROTECTED] dixit:

>Author: wbx
>Date: 2006-07-02 11:20:12 +0200 (Sun, 02 Jul 2006)
>New Revision: 162
>
>Modified:
>   trunk/freewrt/package/libdnet/Makefile
>Log:
>do not activate bpf, fix build on BSD

The checks in aclocal.m4 are totally wrong. All of the following
(and possibly more) access parts of the build system:

AC_DNET_BSD_BPF         existence of /dev/bpf0 (joke: even wrong on BSD)
AC_DNET_LINUX_PROCFS    cat /proc/sys/kernel/ostype
AC_DNET_LINUX_PF_PACKET test -f /usr/include/netpacket/packet.h (should
                        use AC_TRY_COMPILE instead)
AC_DNET_STREAMS_MIB2    test -f /usr/include/inet/mib2.h -a -c /dev/ip
                        (yikes, even worse)
AC_DNET_STREAMS_ROUTE   grep RTSTR_SEND /usr/include/net/route.h
AC_DNET_IOCTL_ARP       uses 'case $host_os' after correctly trying to
                        figure out via AC_EGREP_CPP, only affects IRIX
AC_DNET_RAWIP_HOST_OFFLEN       case "$host_os" in
AC_DNET_RAWIP_COOKED    case "$host_os" in

You definitively want to fix more there.

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to