diff options
| author | Paul Eggert | 2014-08-02 14:50:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-08-02 14:50:13 -0700 |
| commit | 88e3bc88c74c6293fd3e3d229da893385fdfad7d (patch) | |
| tree | 2b579d8e2d5231fc335b370bdb5beb01c1bc6780 | |
| parent | 3865ce6754d3e2af77ee4df8269b325cef312b3b (diff) | |
| download | emacs-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-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 7 |
2 files changed, 9 insertions, 3 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-07-31 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2014-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) | |||
| 3714 | AC_CACHE_CHECK([for timerfd interface], [emacs_cv_have_timerfd], | 3714 | AC_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])]) |
| 3722 | if test "$emacs_cv_have_timerfd" = yes; then | 3723 | if test "$emacs_cv_have_timerfd" = yes; then |