]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
missed these on timerfd commit
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Jun 2011 21:24:30 +0000 (16:24 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Jun 2011 21:24:41 +0000 (16:24 -0500)
Makefile.am
configure.in

index 95c53dd1287392b627969524a66ce1b890705c66..eb43ba40294f7dc404f4033d87aed13249438912 100644 (file)
@@ -124,6 +124,10 @@ CORE_CFLAGS += -I$(switch_srcdir)/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
 CORE_LIBS   += libs/libedit/src/.libs/libedit.a
 endif
 
+if ENABLE_TIMERFD_WRAPPER
+CORE_CFLAGS += -DTIMERFD_WRAP
+endif
+
 ##
 ## libfreeswitch
 ##
index c396ffa3d670fdd3349aec9efeef1697a4c6c494..49969268d0d194f7cc410246432794f0fb30d751 100644 (file)
@@ -390,6 +390,11 @@ if test "$ac_cv_found_odbc" = "yes" ; then
   enable_core_odbc_support="yes"
 fi
 
+AC_ARG_ENABLE(enable-timerfd-wrapper,     
+       [AS_HELP_STRING([--enable-timerfd-wrapper], [timerfd is in the kernel but not in your libc])],,[enable_timer_fd_wrapper="yes"])
+AM_CONDITIONAL([ENABLE_TIMERFD_WRAPPER],[test "x$enable_timer_fd_wrapper" != "xno"])
+
+
 AC_CHECK_LIB(z, inflateReset, have_libz=yes, have_libz=no)
 if test "x$have_libz" = "xyes"  ; then
 APR_ADDTO(SWITCH_AM_LDFLAGS, -lz)