mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 19:03:24 +00:00
* configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
since the code is using TFD_NONBLOCK now.
This commit is contained in:
parent
3865ce6754
commit
88e3bc88c7
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2014-08-02 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
* configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
|
||||||
|
since the code is using TFD_NONBLOCK now.
|
||||||
|
|
||||||
2014-07-31 Paul Eggert <eggert@cs.ucla.edu>
|
2014-07-31 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
Simplify timerfd configuration and fix some minor glitches.
|
Simplify timerfd configuration and fix some minor glitches.
|
||||||
|
|
|
@ -3714,9 +3714,10 @@ AC_SUBST(TERMCAP_OBJ)
|
||||||
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>
|
||||||
]],
|
]],
|
||||||
[[timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC);
|
[[timerfd_create (CLOCK_REALTIME,
|
||||||
timerfd_settime (0, TFD_TIMER_ABSTIME, 0, 0);]])],
|
TFD_CLOEXEC | TFD_NONBLOCK);
|
||||||
|
timerfd_settime (0, TFD_TIMER_ABSTIME, 0, 0);]])],
|
||||||
[emacs_cv_have_timerfd=yes],
|
[emacs_cv_have_timerfd=yes],
|
||||||
[emacs_cv_have_timerfd=no])])
|
[emacs_cv_have_timerfd=no])])
|
||||||
if test "$emacs_cv_have_timerfd" = yes; then
|
if test "$emacs_cv_have_timerfd" = yes; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue