mirror of
https://github.com/X11Libre/xf86-video-chips.git
synced 2026-03-24 01:24:44 +00:00
configure.ac: skip building utils on NetBSD
The utils require some Linux specific functions, not available on NetBSD. Since they're pretty unmaintained these days and nobody complaining yet, just disabling them on NetBSD for now. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
216500cfc2
commit
2346c6bcb1
12
configure.ac
12
configure.ac
@@ -74,7 +74,17 @@ int main() {
|
||||
}
|
||||
])], [HAVE_INB=yes], [HAVE_INB=no])
|
||||
AC_MSG_RESULT([$HAVE_INB])
|
||||
AM_CONDITIONAL(BUILD_UTILS, [test x$HAVE_INB = xyes])
|
||||
|
||||
build_utils="$HAVE_INB"
|
||||
|
||||
case $host_os in
|
||||
*netbsd*)
|
||||
build_utils="no"
|
||||
AC_MSG_WARN([NetBSD detected. cant build utils])
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL(BUILD_UTILS, [test "$build_utils" = "yes"])
|
||||
|
||||
AC_SUBST([moduledir])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user