patch-configure_ac 657 B

12345678910111213141516171819
  1. --- asterisk-12.3.0.orig/configure.ac 2014-05-13 02:25:17.000000000 +0200
  2. +++ asterisk-12.3.0/configure.ac 2014-06-09 20:12:05.000000000 +0200
  3. @@ -855,16 +855,6 @@ AC_LINK_IFELSE(
  4. ]
  5. )
  6. -# Some platforms define sem_init(), but only support sem_open(). joyous.
  7. -AC_MSG_CHECKING(for working unnamed semaphores)
  8. -AC_RUN_IFELSE(
  9. - [AC_LANG_PROGRAM([#include <semaphore.h>],
  10. - [sem_t sem; return sem_init(&sem, 0, 0);])],
  11. - AC_MSG_RESULT(yes)
  12. - AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.]),
  13. - AC_MSG_RESULT(no)
  14. -)
  15. -
  16. LIBS="$save_LIBS"
  17. CFLAGS="$save_CFLAGS"
  18. if test "${ac_cv_pthread_rwlock_timedwrlock}" = "yes"; then