From d00975720cdb4837623c065cb1781f61740a975c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 4 Jul 2009 15:54:54 +0200 Subject: [PATCH] Fixed compilation of GNU/kFreeBSD LIBRESOLV should be used on GNU/kFreeBSD. Thanks to Petr Salinger for noticing that. --- lib/configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/configure b/lib/configure index 69f4272..eec225a 100755 --- a/lib/configure +++ b/lib/configure @@ -23,6 +23,7 @@ echo_n "Configuring libpci for your system..." 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` @@ -89,7 +90,9 @@ case $sys in 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" -- 2.39.5