* 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,7 +4129,9 @@ case $with_file_notification,$NOTIFY_OBJ in
fi ;; fi ;;
esac esac
dnl kqueue is available on BSD-like systems. 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 case $with_file_notification,$NOTIFY_OBJ in
kqueue,* | yes,) kqueue,* | yes,)
EMACS_CHECK_MODULES([KQUEUE], [libkqueue]) EMACS_CHECK_MODULES([KQUEUE], [libkqueue])
@ -4148,7 +4150,7 @@ case $with_file_notification,$NOTIFY_OBJ in
NOTIFY_SUMMARY="yes (kqueue)" NOTIFY_SUMMARY="yes (kqueue)"
fi fi
fi ;; fi ;;
esac esac])
dnl g_file_monitor exists since glib 2.18. G_FILE_MONITOR_EVENT_MOVED 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 dnl has been added in glib 2.24. It has been tested under