You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Havard <br...@kheldar.apana.org.au> on 1999/10/21 18:57:45 UTC

Re: cvs commit: apache-2.0/src/lib/apr/include apr_portable.h

On 21 Oct 1999 16:43:16 -0000, rbb@hyperreal.org wrote:

>rbb         99/10/21 09:43:12
>
>  Modified:    src/lib/apr/include apr_portable.h
>  Log:
>  Remove the check for HAVE_PTHREAD_H from the common code for ap_get_thread*.
>  This was an unecessary check, although the APR_HAS_THREADS is required.

Ok, cool. Now I just have to get APR_HAS_THREADS to always be defined on OS/2
as it currently just tests for libpthread. Any hints? I'm not an autoconf
expert just yet.

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Re: cvs commit: apache-2.0/src/lib/apr/include apr_portable.h

Posted by Ryan Bloom <rb...@raleigh.ibm.com>.
> Ok, cool. Now I just have to get APR_HAS_THREADS to always be defined on OS/2
> as it currently just tests for libpthread. Any hints? I'm not an autoconf
> expert just yet.

Two suggestions:

1)  Look for APR_HAS_THREADS in configure.in.  It should be easy to
follow.

2)  If it is always going to be defined for OS/2, you could just put 

#if OS2
#define APR_HAS_THREADS
#endif

in aclocal.h in the meantime, until you figure out autoconf well enough to
do it the "right way"

Ryan

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		It's a beautiful sight to see good dancers 
			doing simple steps.  It's a painful sight to
			see beginners doing complicated patterns.