Ticket #12230: macports-pthreadlibs.patch
File macports-pthreadlibs.patch, 579 bytes (added by afb@…, 17 years ago) |
---|
-
foundation.m4
110 110 # Test if pthreads are required to link against 111 111 # libobjc - this is the case on FreeBSD. 112 112 113 if test x"${PTHREAD_LIBS}" = x; then 114 # Make sure that PTHREAD_LIBS has been set 115 AC_CHECK_LIB(pthread, pthread_attr_init, PTHREAD_LIBS="-lpthread") 116 fi 113 117 AC_MSG_CHECKING([if linking libobjc requires pthreads]) 114 118 AC_CACHE_VAL(mp_cv_objc_req_pthread, [ 115 119 # First, test if objc links without pthreads