mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Avoid exposing pthread details in NSLock.h (as much as possible without
impacting performance). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28612 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e772c54dfa
commit
b367e467d6
8 changed files with 929 additions and 18 deletions
|
@ -854,11 +854,19 @@ if test $ac_cv_header_pthread_h = yes ; then
|
|||
LIBS="$saved_LIBS"
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
fi
|
||||
else
|
||||
AC_MSG_ERROR([Unable to find pthreads (needed for essential thread support).])
|
||||
fi
|
||||
AC_SUBST(HAVE_PTHREAD_H)
|
||||
if test x"$objc_threaded" = x"-pthread"; then
|
||||
LIBS="$LIBS -lpthread"
|
||||
fi
|
||||
AC_CHECK_SIZEOF(pthread_mutex_t)
|
||||
GS_SIZEOF_MUTEX_T=$ac_cv_sizeof_pthread_mutex_t
|
||||
AC_SUBST(GS_SIZEOF_MUTEX_T)
|
||||
AC_CHECK_SIZEOF(pthread_cond_t)
|
||||
GS_SIZEOF_COND_T=$ac_cv_sizeof_pthread_cond_t
|
||||
AC_SUBST(GS_SIZEOF_COND_T)
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# This function needed by StdioStream.m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue