net/asterisk-13.x: bump to 13.17.0
[feed/telephony.git] / net / asterisk-13.x / patches / 001-disable-semaphores-check.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -962,19 +962,6 @@ AC_LINK_IFELSE(
4 ]
5 )
6
7 -# Some platforms define sem_init(), but only support sem_open(). joyous.
8 -AC_MSG_CHECKING(for working unnamed semaphores)
9 -AC_RUN_IFELSE(
10 - [AC_LANG_PROGRAM([#include <semaphore.h>],
11 - [sem_t sem; return sem_init(&sem, 0, 0);])],
12 - AC_MSG_RESULT(yes)
13 - AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.]),
14 - AC_MSG_RESULT(no),
15 - AC_MSG_RESULT(cross-compile)
16 - AC_MSG_NOTICE([WARNING: result yes guessed because of cross compilation])
17 - AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.])
18 -)
19 -
20 LIBS="$save_LIBS"
21 CFLAGS="$save_CFLAGS"
22 if test "${ac_cv_pthread_rwlock_timedwrlock}" = "yes"; then