aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dfef7037fe..0fc361060fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12014-08-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
4 since the code is using TFD_NONBLOCK now.
5
12014-07-31 Paul Eggert <eggert@cs.ucla.edu> 62014-07-31 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Simplify timerfd configuration and fix some minor glitches. 8 Simplify timerfd configuration and fix some minor glitches.
diff --git a/configure.ac b/configure.ac
index 4f3fde56af2..7e101aa9fc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3714,9 +3714,10 @@ AC_SUBST(TERMCAP_OBJ)
3714AC_CACHE_CHECK([for timerfd interface], [emacs_cv_have_timerfd], 3714AC_CACHE_CHECK([for timerfd interface], [emacs_cv_have_timerfd],
3715 [AC_COMPILE_IFELSE( 3715 [AC_COMPILE_IFELSE(
3716 [AC_LANG_PROGRAM([[#include <sys/timerfd.h> 3716 [AC_LANG_PROGRAM([[#include <sys/timerfd.h>
3717 ]], 3717 ]],
3718 [[timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC); 3718 [[timerfd_create (CLOCK_REALTIME,
3719 timerfd_settime (0, TFD_TIMER_ABSTIME, 0, 0);]])], 3719 TFD_CLOEXEC | TFD_NONBLOCK);
3720 timerfd_settime (0, TFD_TIMER_ABSTIME, 0, 0);]])],
3720 [emacs_cv_have_timerfd=yes], 3721 [emacs_cv_have_timerfd=yes],
3721 [emacs_cv_have_timerfd=no])]) 3722 [emacs_cv_have_timerfd=no])])
3722if test "$emacs_cv_have_timerfd" = yes; then 3723if test "$emacs_cv_have_timerfd" = yes; then