LIBRESOLV should be used on GNU/kFreeBSD.
Thanks to Petr Salinger for noticing that.
if [ -z "$HOST" ] ; then
sys=`uname -s`
rel=`uname -r`
+ realsys="$sys"
if [ "$sys" = "AIX" -a -x /usr/bin/oslevel -a -x /usr/sbin/lsattr ]
then
rel=`/usr/bin/oslevel`
echo_n " fbsd-device"
echo >>$c '#define PCI_HAVE_PM_FBSD_DEVICE'
echo >>$c '#define PCI_PATH_FBSD_DEVICE "/dev/pci"'
- LIBRESOLV=
+ if [ "$realsys" != "GNU/kFreeBSD" ] ; then
+ LIBRESOLV=
+ fi
;;
openbsd)
echo_n " obsd-device"