mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
include pthread.h in configure check, by Yavor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31194 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
20220c48f5
commit
2df1f50945
3 changed files with 436 additions and 548 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-08-23 Riccardo Mottola (patch by Yavor Doganov)
|
||||
|
||||
* configure.ac: Include pthread.h in check program
|
||||
* configure: Regenerate
|
||||
|
||||
2010-08-20 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/ObjectiveC2/runtime.c: Made objc_disposeClassPair() a no-op
|
||||
|
|
|
@ -1788,14 +1788,14 @@ if test $ac_cv_header_pthread_h = yes ; then
|
|||
fi
|
||||
GS_SIZEOF_COND_T=$ac_cv_sizeof_pthread_cond_t
|
||||
AC_SUBST(GS_SIZEOF_COND_T)
|
||||
AC_CHECK_ALIGNOF(pthread_mutex_t,,[AC_INCLUDES_DEFAULT
|
||||
AC_CHECK_ALIGNOF(pthread_mutex_t,[AC_INCLUDES_DEFAULT
|
||||
#include <pthread.h>])
|
||||
GS_ALIGNOF_MUTEX_T=$ac_cv_alignof_pthread_mutex_t
|
||||
if test $ac_cv_alignof_pthread_mutex_t = 0 ; then
|
||||
AC_MSG_ERROR([Unable to find align of pthread_mutex_t (required).])
|
||||
fi
|
||||
AC_SUBST(GS_ALIGNOF_MUTEX_T)
|
||||
AC_CHECK_ALIGNOF(pthread_cond_t,,[AC_INCLUDES_DEFAULT
|
||||
AC_CHECK_ALIGNOF(pthread_cond_t,[AC_INCLUDES_DEFAULT
|
||||
#include <pthread.h>])
|
||||
if test $ac_cv_alignof_pthread_cond_t = 0 ; then
|
||||
AC_MSG_ERROR([Unable to find align of pthread_cond_t (required).])
|
||||
|
|
Loading…
Reference in a new issue