version 1.1.1.1, 2012/02/21 23:32:47
|
version 1.1.1.3, 2016/11/01 09:56:12
|
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 120 else
|
Line 119 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 |