summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-08 12:42:43 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-08 12:42:43 +0000
commit97bec22f7f0faa0832353188f285df056722d82c (patch)
treeb09822562819c6bf8505c436416d6978b25a969e /configure.ac
parent464594813d247c3c0265df7c168cb9d9d0ccde23 (diff)
astribank_is_starting: use semop if no semtimedop
astribank_is_starting should use a timeout for the semaphore, but if the GNU-specific semtimedop() is not available, we'll just fall back to using semop with no time out. Not as good, but better than nothing. (closes issue #16783) Reported by: abelbeck Merged revisions 9426 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.4@9736 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 35e51e1..752d671 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,8 @@ AST_C_DEFINE_CHECK([DAHDI23], [DAHDI_CONFIG_NTTE], [dahdi/user.h])
AST_EXT_LIB_CHECK([NEWT], [newt], [newtBell], [newt.h])
AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h])
+AC_CHECK_FUNCS([semtimedop])
+
PBX_HDLC=0
AC_MSG_CHECKING([for GENERIC_HDLC_VERSION version 4 in linux/hdlc.h])
AC_COMPILE_IFELSE(