3 @@ -1030,19 +1030,6 @@ AC_LINK_IFELSE(
7 -# Some platforms define sem_init(), but only support sem_open(). joyous.
8 -AC_MSG_CHECKING(for working unnamed semaphores)
10 - [AC_LANG_PROGRAM([#include <semaphore.h>],
11 - [sem_t sem; return sem_init(&sem, 0, 0);])],
13 - AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.]),
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.])
22 if test "${ac_cv_pthread_rwlock_timedwrlock}" = "yes"; then