mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 12:54:20 +01:00
configure: Add detection of library kvm that is used under OpenBSD
As proposed by Christian Schulte, when compiling WindowMaker on BSD it uses the kvm library to gather information on processes (in the os-dependant file), so we must properly link against the corresponding library, which this patch adds.
This commit is contained in:
committed by
Carlos R. Mafra
parent
6aa43d356c
commit
46c8d6d2bf
@@ -228,6 +228,11 @@ AS_IF([test "x$ac_cv_search_strlcat" = "x-lbsd" -o "x$ac_cv_search_strlcpy" = "x
|
||||
)
|
||||
AC_SUBST(LIBBSD)
|
||||
|
||||
dnl Check for OpenBSD kernel memory interface - kvm(3)
|
||||
dnl ==================================================
|
||||
AS_IF([test "x$WM_OSDEP" = "xbsd"],
|
||||
AC_SEARCH_LIBS([kvm_openfiles], [kvm]) )
|
||||
|
||||
dnl Check for inotify
|
||||
dnl =================
|
||||
AC_CHECK_HEADERS(sys/inotify.h, AC_DEFINE(HAVE_INOTIFY, 1, Check for inotify))
|
||||
|
||||
Reference in New Issue
Block a user