version 1.1.1.1, 2012/02/21 23:32:47
|
version 1.1.1.4, 2019/10/22 13:49:55
|
Line 15 else
|
Line 15 else
|
fi |
fi |
|
|
echo -n "Looking for ng_car ..." |
echo -n "Looking for ng_car ..." |
if [ -e /usr/include/netgraph/ng_car.h \ | if [ -e /usr/include/netgraph/ng_car.h ] |
-o -e /usr/local/include/netgraph/ng_car.h ] | |
then |
then |
echo " found." |
echo " found." |
echo "#define HAVE_NG_CAR 1" >> $CONFIG |
echo "#define HAVE_NG_CAR 1" >> $CONFIG |
Line 34 else
|
Line 33 else
|
fi |
fi |
|
|
echo -n "Looking for ng_ipacct ..." |
echo -n "Looking for ng_ipacct ..." |
if [ -e /usr/include/netgraph/ng_ipacct.h \ | if [ "$USE_NG_IPACCT" = no ]; then |
| echo " disabled." |
| else if [ -e /usr/include/netgraph/ng_ipacct.h \ |
-o -e /usr/local/include/netgraph/ng_ipacct.h ] |
-o -e /usr/local/include/netgraph/ng_ipacct.h ] |
then |
then |
echo " found." |
echo " found." |
Line 42 then
|
Line 43 then
|
else |
else |
echo " not found." |
echo " not found." |
fi |
fi |
|
fi |
|
|
echo -n "Looking for ng_mppc ..." |
echo -n "Looking for ng_mppc ..." |
if [ -e /usr/include/netgraph/ng_mppc.h \ |
if [ -e /usr/include/netgraph/ng_mppc.h \ |
Line 120 else
|
Line 122 else
|
echo " not found." |
echo " not found." |
fi |
fi |
|
|
|
|
|
echo -n "Looking for rad_bind_to() ..." |
|
if /usr/bin/grep rad_bind_to /usr/include/radlib.h >/dev/null 2>&1 |
|
then |
|
echo " found." |
|
echo "#define HAVE_RAD_BIND 1" >> $CONFIG |
|
else |
|
echo " not found." |
|
fi |
|
|
|
echo -n "Looking for rad_cvt_addr6() ..." |
|
if /usr/bin/grep rad_cvt_addr6 /usr/include/radlib.h >/dev/null 2>&1 |
|
then |
|
echo " found." |
|
echo "#define HAVE_RAD_ADDR6 1" >> $CONFIG |
|
else |
|
echo " not found." |
|
fi |
|
|
|
echo -n "Looking for ether_ntoa_r() ..." |
|
if /usr/bin/grep ether_ntoa_r /usr/include/net/ethernet.h >/dev/null 2>&1 |
|
then |
|
echo " found." |
|
echo "#define HAVE_NTOA_R 1" >> $CONFIG |
|
else |
|
echo " not found." |
|
fi |