mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-30 02:28:31 +00:00
Link with -lbsd on GNU/kFreeBSD to find optreset (sf.net #3387121)
This commit is contained in:
parent
906dbb5b89
commit
422cc24ba2
@ -60,6 +60,7 @@ case $uname in
|
|||||||
FreeBSD*|GNU/kFreeBSD*)
|
FreeBSD*|GNU/kFreeBSD*)
|
||||||
WANT_KVM=yes
|
WANT_KVM=yes
|
||||||
WANT_DEVSTAT=yes
|
WANT_DEVSTAT=yes
|
||||||
|
WANT_OPTRESET=yes
|
||||||
;;
|
;;
|
||||||
# NetBSD*)
|
# NetBSD*)
|
||||||
# WANT_KVM=yes
|
# WANT_KVM=yes
|
||||||
@ -731,6 +732,17 @@ if test x$WANT_KVM = xyes; then
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl optreset
|
||||||
|
dnl
|
||||||
|
|
||||||
|
if test x$WANT_OPTRESET = xyes; then
|
||||||
|
AC_CHECK_LIB(bsd, optreset,
|
||||||
|
conky_LIBS="$conky_LIBS -lbsd",
|
||||||
|
AC_MSG_ERROR([Could not find optreset in -lbsd.])
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl devstat
|
dnl devstat
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user