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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 8 15:02:33 CST 2008


Author: mmichelson
Date: Sat Nov  8 15:02:32 2008
New Revision: 155512

URL: http://svn.digium.com/view/asterisk?view=rev&rev=155512
Log:
The autoconf and menuselect stuff for timerfd support
is included in this commit, but NOTHING ELSE!

Modified:
    team/mmichelson/res_timing_timerfd/autoconf/ast_c_compile_check.m4
    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/autoconf/ast_c_compile_check.m4
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/autoconf/ast_c_compile_check.m4?view=diff&rev=155512&r1=155511&r2=155512
==============================================================================
--- team/mmichelson/res_timing_timerfd/autoconf/ast_c_compile_check.m4 (original)
+++ team/mmichelson/res_timing_timerfd/autoconf/ast_c_compile_check.m4 Sat Nov  8 15:02:32 2008
@@ -26,6 +26,7 @@
 	    ],
 	    [       AC_MSG_RESULT(no) ] 
 	)
+	AC_SUBST(PBX_$1)
 	CPPFLAGS="${saved_cppflags}"
     fi
 ])

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=155512&r1=155511&r2=155512
==============================================================================
--- team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in (original)
+++ team/mmichelson/res_timing_timerfd/build_tools/menuselect-deps.in Sat Nov  8 15:02:32 2008
@@ -52,3 +52,4 @@
 VPB=@PBX_VPB@
 WINARCH=@PBX_WINARCH@
 ZLIB=@PBX_ZLIB@
+TIMERFD=@PBX_TIMERFD@

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=155512&r1=155511&r2=155512
==============================================================================
--- team/mmichelson/res_timing_timerfd/configure.ac (original)
+++ team/mmichelson/res_timing_timerfd/configure.ac Sat Nov  8 15:02:32 2008
@@ -645,6 +645,7 @@
 AST_EXT_LIB_CHECK([CEIL], [m], [ceil])
 
 AST_C_COMPILE_CHECK([GETIFADDRS], [struct ifaddrs *p; getifaddrs(&p)], [ifaddrs.h], , [getifaddrs() support])
+AST_C_COMPILE_CHECK([TIMERFD], [timerfd_create(0,0); timerfd_settime(0,0,NULL,NULL);], [sys/timerfd.h], , [timerfd support])
 
 GSM_INTERNAL="yes"
 AC_SUBST(GSM_INTERNAL)

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=155512&r1=155511&r2=155512
==============================================================================
--- team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in (original)
+++ team/mmichelson/res_timing_timerfd/include/asterisk/autoconfig.h.in Sat Nov  8 15:02:32 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=155512&r1=155511&r2=155512
==============================================================================
--- team/mmichelson/res_timing_timerfd/makeopts.in (original)
+++ team/mmichelson/res_timing_timerfd/makeopts.in Sat Nov  8 15:02:32 2008
@@ -251,3 +251,4 @@
 
 # if poll is not present, let the makefile know.
 POLL_AVAILABLE=@HAS_POLL@
+TIMERFD_INCLUDE=@TIMERFD_INCLUDE@

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=155512&r1=155511&r2=155512
==============================================================================
--- team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c (original)
+++ team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c Sat Nov  8 15:02:32 2008
@@ -22,6 +22,10 @@
  *
  * \brief timerfd timing interface 
  */
+
+/*** MODULEINFO
+	<depend>timerfd</depend>
+ ***/
 
 #include "asterisk.h"
 




More information about the asterisk-commits mailing list