aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2014-08-02 14:50:13 -0700
committerPaul Eggert2014-08-02 14:50:13 -0700
commit88e3bc88c74c6293fd3e3d229da893385fdfad7d (patch)
tree2b579d8e2d5231fc335b370bdb5beb01c1bc6780
parent3865ce6754d3e2af77ee4df8269b325cef312b3b (diff)
downloademacs-88e3bc88c74c6293fd3e3d229da893385fdfad7d.tar.gz
emacs-88e3bc88c74c6293fd3e3d229da893385fdfad7d.zip
* configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
since the code is using TFD_NONBLOCK now.
-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