summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-10-17 18:41:24 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-10-17 18:41:24 +0000
commitfb84eff448f5034347d6fab42781dc9fb6b9d91c (patch)
tree0a96795f184e97bca24b6fd0a98e0210a0353616 /configure.ac
parenta13372d29d628f2f56f2a111f69ef6c1a7bb10c5 (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 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9426 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(