emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117633: * configure.ac (HAVE_TIMERFD): Also check f


From: Paul Eggert
Subject: [Emacs-diffs] trunk r117633: * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
Date: Sat, 02 Aug 2014 21:50:17 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117633
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2014-08-02 14:50:13 -0700
message:
  * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
  
  since the code is using TFD_NONBLOCK now.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-07-31 20:17:01 +0000
+++ b/ChangeLog 2014-08-02 21:50:13 +0000
@@ -1,3 +1,8 @@
+2014-08-02  Paul Eggert  <address@hidden>
+
+       * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
+       since the code is using TFD_NONBLOCK now.
+
 2014-07-31  Paul Eggert  <address@hidden>
 
        Simplify timerfd configuration and fix some minor glitches.

=== modified file 'configure.ac'
--- a/configure.ac      2014-07-31 20:17:01 +0000
+++ b/configure.ac      2014-08-02 21:50:13 +0000
@@ -3714,9 +3714,10 @@
 AC_CACHE_CHECK([for timerfd interface], [emacs_cv_have_timerfd],
   [AC_COMPILE_IFELSE(
      [AC_LANG_PROGRAM([[#include <sys/timerfd.h>
-                     ]],
-                     [[timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC);
-                       timerfd_settime (0, TFD_TIMER_ABSTIME, 0, 0);]])],
+                     ]],
+                     [[timerfd_create (CLOCK_REALTIME,
+                                       TFD_CLOEXEC | TFD_NONBLOCK);
+                       timerfd_settime (0, TFD_TIMER_ABSTIME, 0, 0);]])],
      [emacs_cv_have_timerfd=yes],
      [emacs_cv_have_timerfd=no])])
 if test "$emacs_cv_have_timerfd" = yes; then


reply via email to

[Prev in Thread] Current Thread [Next in Thread]