]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable the timerfd interface on Cygwin
authorKen Brown <kbrown@cornell.edu>
Fri, 22 Feb 2019 14:53:52 +0000 (09:53 -0500)
committerKen Brown <kbrown@cornell.edu>
Fri, 22 Feb 2019 15:12:33 +0000 (10:12 -0500)
* configure.ac (emacs_cv_have_timerfd): Set to "no" on Cygwin.

configure.ac

index d5e802a961f250c3963db1ab663c2a60cac47f52..097c3bc68afecd1fd2ca6f81d9431d808bb52053 100644 (file)
@@ -4145,6 +4145,10 @@ AC_SUBST(LIBS_TERMCAP)
 AC_SUBST(TERMCAP_OBJ)
 
 # GNU/Linux-specific timer functions.
+# Bug#34618.
+if test "$opsys" = "cygwin"; then
+  emacs_cv_have_timerfd=no
+fi
 AC_CACHE_CHECK([for timerfd interface], [emacs_cv_have_timerfd],
   [AC_COMPILE_IFELSE(
      [AC_LANG_PROGRAM([[#include <sys/timerfd.h>