mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-28 17:48:39 +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*)
|
||||
WANT_KVM=yes
|
||||
WANT_DEVSTAT=yes
|
||||
WANT_OPTRESET=yes
|
||||
;;
|
||||
# NetBSD*)
|
||||
# WANT_KVM=yes
|
||||
@ -731,6 +732,17 @@ if test x$WANT_KVM = xyes; then
|
||||
)
|
||||
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 devstat
|
||||
dnl
|
||||
|
Loading…
x
Reference in New Issue
Block a user