Disable the timerfd interface on Cygwin
* configure.ac (emacs_cv_have_timerfd): Set to "no" on Cygwin.
This commit is contained in:
parent
3707ea434f
commit
6d46fa961c
1 changed files with 4 additions and 0 deletions
|
@ -4145,6 +4145,10 @@ AC_SUBST(LIBS_TERMCAP)
|
||||||
AC_SUBST(TERMCAP_OBJ)
|
AC_SUBST(TERMCAP_OBJ)
|
||||||
|
|
||||||
# GNU/Linux-specific timer functions.
|
# 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_CACHE_CHECK([for timerfd interface], [emacs_cv_have_timerfd],
|
||||||
[AC_COMPILE_IFELSE(
|
[AC_COMPILE_IFELSE(
|
||||||
[AC_LANG_PROGRAM([[#include <sys/timerfd.h>
|
[AC_LANG_PROGRAM([[#include <sys/timerfd.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue