65 lines
1.2 KiB
Plaintext
65 lines
1.2 KiB
Plaintext
$NetBSD: patch-ad,v 1.2 2007/02/19 19:50:48 joerg Exp $
|
|
|
|
--- configure.orig 2004-12-21 21:57:05.000000000 +0000
|
|
+++ configure
|
|
@@ -795,11 +795,15 @@ fi
|
|
|
|
uname=`uname`
|
|
|
|
+if test "$uname" = "DragonFly"; then
|
|
+ LIBS="$LIBS -lkinfo"
|
|
+fi
|
|
+
|
|
case $uname in
|
|
Linux*)
|
|
WANT_SYSINFO=yes
|
|
;;
|
|
- FreeBSD*)
|
|
+ FreeBSD*|DragonFly*)
|
|
WANT_KVM=yes
|
|
;;
|
|
NetBSD*)
|
|
@@ -839,7 +843,7 @@ else
|
|
fi
|
|
|
|
|
|
-if test x$uname = xFreeBSD; then
|
|
+if test x$uname = xFreeBSD || test x$uname = xDragonFly; then
|
|
BUILD_FREEBSD_TRUE=
|
|
BUILD_FREEBSD_FALSE='#'
|
|
else
|
|
@@ -924,14 +928,14 @@ fi
|
|
|
|
|
|
|
|
-if test x$want_seti == xyes; then
|
|
+if test x$want_seti = xyes; then
|
|
BUILD_SETI_TRUE=
|
|
BUILD_SETI_FALSE='#'
|
|
else
|
|
BUILD_SETI_TRUE='#'
|
|
BUILD_SETI_FALSE=
|
|
fi
|
|
-if test x$want_seti == xyes; then
|
|
+if test x$want_seti = xyes; then
|
|
cat >> confdefs.h <<\EOF
|
|
#define SETI 1
|
|
EOF
|
|
@@ -949,14 +953,14 @@ fi
|
|
|
|
|
|
|
|
-if test x$want_nvctrl == xyes; then
|
|
+if test x$want_nvctrl = xyes; then
|
|
BUILD_NVCTRL_TRUE=
|
|
BUILD_NVCTRL_FALSE='#'
|
|
else
|
|
BUILD_NVCTRL_TRUE='#'
|
|
BUILD_NVCTRL_FALSE=
|
|
fi
|
|
-if test x$want_nvctrl == xyes; then
|
|
+if test x$want_nvctrl = xyes; then
|
|
cat >> confdefs.h <<\EOF
|
|
#define NVCTRL 1
|
|
EOF
|