From 8c238590dc9ad996710abc28a1868e9f1a41ab0a Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 16 Oct 1999 16:24:42 +0000 Subject: 1999-10-17 Ross Johnson * rwlock.c (pthread_rwlock_destroy): Add cast to remove compile warning. * condvar.c (pthread_cond_broadcast): Only release semaphores if there are waiting threads. 1999-10-15 Ross Johnson * condvar.c (cond_wait_cleanup): New static cleanup handler for cond_timedwait; (cond_timedwait): pthread_cleanup_push args changed; canceling a thread while it's in pthread_cond_wait will now decrement the waiters count and cleanup if it's the last waiter. - Lorin Hochstein and Peter Slacik ; the last waiter will now reset the CV's wasBroadcast flag - Graham Dumpleton . --- configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0896edb..5c4dfac 100644 --- a/configure.in +++ b/configure.in @@ -4,7 +4,11 @@ AC_INIT(pthread.h) AC_CANONICAL_HOST AC_CONFIG_HEADER(config.h) AC_PROG_CC -AC_CHECK_HEADERS([signal.h],signal_h=yes,) + +dnl Abort here if there is no windows.h +AC_CHECK_HEADER([windows.h],,AC_MSG_ERROR([Target system must be Win32])) + +AC_CHECK_HEADER([signal.h],signal_h=yes,) if test x$signal_h = xyes then AC_CACHE_CHECK([for sigset_t], p32_cv_sigset_t, @@ -16,5 +20,4 @@ then fi fi -AC_CHECK_HEADERS(windows.h,,AC_MSG_WARN([Target system must be Win32])) AC_OUTPUT(Makefile) -- cgit v1.2.3