[asterisk-commits] mmichelson: branch mmichelson/res_timing_timerfd r155173 - in /team/mmichelso...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 6 19:31:35 CST 2008


Author: mmichelson
Date: Thu Nov  6 19:31:34 2008
New Revision: 155173

URL: http://svn.digium.com/view/asterisk?view=rev&rev=155173
Log:
This contains the autoconf and menuselect-related necessities
for timerfd support. I have confirmed that on my work machine,
res_timing_timerfd is not selectable in menuselect. I need
to verify that on my laptop it is. Bye!


Modified:
    team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in
    team/mmichelson/res_timing_timerfd/configure
    team/mmichelson/res_timing_timerfd/configure.ac
    team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in
    team/mmichelson/res_timing_timerfd/makeopts.in
    team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c

Modified: team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in?view=diff&rev=155173&r1=155172&r2=155173
==============================================================================
--- team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in (original)
+++ team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in Thu Nov  6 19:31:34 2008
@@ -46,6 +46,7 @@
 OPENSSL=@PBX_OPENSSL@
 SUPPSERV=@PBX_SUPPSERV@
 TONEZONE=@PBX_TONEZONE@
+TIMERFD=@PBX_TIMERFD@
 UNIXODBC=@PBX_UNIXODBC@
 USB=@PBX_USB@
 VORBIS=@PBX_VORBIS@

Modified: team/mmichelson/res_timing_timerfd/configure.ac
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/configure.ac?view=diff&rev=155173&r1=155172&r2=155173
==============================================================================
--- team/mmichelson/res_timing_timerfd/configure.ac (original)
+++ team/mmichelson/res_timing_timerfd/configure.ac Thu Nov  6 19:31:34 2008
@@ -341,6 +341,8 @@
 		AC_DEFINE([HAVE_TIMERSUB], 1, [Define to 1 if your system defines timersub.]),
 	AC_MSG_RESULT(no)
 )
+
+AST_C_COMPILE_CHECK([TIMERFD], [timerfd_create(CLOCK_MONOTONIC,0); timerfd_settime(0,0,NULL,NULL))], [sys/timerfd.h], , [timerfd support])
 
 AC_CHECK_HEADER([sys/poll.h], 
    [HAS_POLL=1]

Modified: team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in?view=diff&rev=155173&r1=155172&r2=155173
==============================================================================
--- team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in (original)
+++ team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in Thu Nov  6 19:31:34 2008
@@ -993,6 +993,12 @@
 
 /* Define to 1 if you have the <termios.h> header file. */
 #undef HAVE_TERMIOS_H
+
+/* Define if your system has the TIMERFD headers. */
+#undef HAVE_TIMERFD
+
+/* Define TIMERFD headers version */
+#undef HAVE_TIMERFD_VERSION
 
 /* Define to 1 if your system defines timersub. */
 #undef HAVE_TIMERSUB

Modified: team/mmichelson/res_timing_timerfd/makeopts.in
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/makeopts.in?view=diff&rev=155173&r1=155172&r2=155173
==============================================================================
--- team/mmichelson/res_timing_timerfd/makeopts.in (original)
+++ team/mmichelson/res_timing_timerfd/makeopts.in Thu Nov  6 19:31:34 2008
@@ -251,3 +251,5 @@
 
 # if poll is not present, let the makefile know.
 POLL_AVAILABLE=@HAS_POLL@
+
+TIMERFD=@TIMERFD@

Modified: team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c?view=diff&rev=155173&r1=155172&r2=155173
==============================================================================
--- team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c (original)
+++ team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c Thu Nov  6 19:31:34 2008
@@ -22,6 +22,10 @@
  *
  * \brief timerfd timing interface 
  */
+
+/*** MODULEINFO
+	<depend>timerfd</depend>
+ ***/
 
 #include "asterisk.h"
 




More information about the asterisk-commits mailing list