* configure.ac: Disable kqueue on Haiku.

This commit is contained in:
Po Lu 2024-06-23 12:52:55 +08:00
parent cb7be6035e
commit 486ea8ef5a

View file

@ -4129,8 +4129,10 @@ case $with_file_notification,$NOTIFY_OBJ in
fi ;;
esac
dnl kqueue is available on BSD-like systems.
case $with_file_notification,$NOTIFY_OBJ in
AS_IF([test "$opsys" != "haiku"], [
dnl kqueue is available on BSD-like systems and Haiku, but Haiku's
dnl implementation cannot monitor filesystem activity.
case $with_file_notification,$NOTIFY_OBJ in
kqueue,* | yes,)
EMACS_CHECK_MODULES([KQUEUE], [libkqueue])
if test "$HAVE_KQUEUE" = "yes"; then
@ -4148,7 +4150,7 @@ case $with_file_notification,$NOTIFY_OBJ in
NOTIFY_SUMMARY="yes (kqueue)"
fi
fi ;;
esac
esac])
dnl g_file_monitor exists since glib 2.18. G_FILE_MONITOR_EVENT_MOVED
dnl has been added in glib 2.24. It has been tested under