At Fri, 15 Oct 2004 10:09:01 -0400,
Craig Rodrigues wrote:
> Joe Orton wrote:
> >On Thu, Oct 14, 2004 at 07:14:40PM -0400, Craig Rodrigues wrote:
> >
> >>checking for LIBS needed for pthreads... (cached) -lpthread
> >> adding "-lpthread" to LIBS
> >>checking for pthread.h... (cached) yes

Hmm, I cannot reproduce this on my 4-stable box.  Can someone try to
test with this patch and show me lines around this message?


--- apr-1.0.0/build/apr_hints.m4.orig   Fri Oct 15 23:57:00 2004
+++ apr-1.0.0/build/apr_hints.m4        Fri Oct 15 23:58:07 2004
@@ -142,11 +142,14 @@
         else
             os_version=000000
         fi
+       echo "  os_version is $os_version"
         # 502102 is when libc_r switched to libpthread (aka libkse).
         if test $os_version -ge "502102"; then
+         echo "    use 1st choice."
           apr_cv_pthreads_cflags="none"
           apr_cv_pthreads_lib="-lpthread"
         else
+         echo "    use 2nd choice."
           APR_ADDTO(CPPFLAGS, [-D_THREAD_SAFE -D_REENTRANT])
           APR_SETIFNULL(enable_threads, [no])
         fi


-- 
Jun Kuriyama <[EMAIL PROTECTED]> // IMG SRC, Inc.
             <[EMAIL PROTECTED]> // FreeBSD Project

Reply via email to