version 1.1.1.3, 2016/11/01 09:56:12
|
version 1.1.1.4.2.1, 2023/09/27 11:08:00
|
Line 33 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 41 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 119 else
|
Line 122 else
|
echo " not found." |
echo " not found." |
fi |
fi |
|
|
|
echo -n "Looking for radius support ..." |
|
if [ "$USE_RADIUS" = no ]; then |
|
echo " disabled." |
|
else if [ -e /usr/include/radlib.h ] |
|
then |
|
echo " found." |
|
echo "#define HAVE_RADIUS 1" >> $CONFIG |
|
|
echo -n "Looking for rad_bind_to() ..." |
echo -n "Looking for rad_bind_to() ..." |
if /usr/bin/grep rad_bind_to /usr/include/radlib.h >/dev/null 2>&1 |
if /usr/bin/grep rad_bind_to /usr/include/radlib.h >/dev/null 2>&1 |
Line 137 then
|
Line 147 then
|
else |
else |
echo " not found." |
echo " not found." |
fi |
fi |
|
fi |
|
fi # RADIUS support |
|
|
echo -n "Looking for ether_ntoa_r() ..." |
echo -n "Looking for ether_ntoa_r() ..." |
if /usr/bin/grep ether_ntoa_r /usr/include/net/ethernet.h >/dev/null 2>&1 |
if /usr/bin/grep ether_ntoa_r /usr/include/net/ethernet.h >/dev/null 2>&1 |