[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Autoconf] Macro to test for pthreads?

From: Ossama Othman
Subject: Re: [Autoconf] Macro to test for pthreads?
Date: Sun, 17 Sep 2000 19:29:25 -0700
User-agent: Mutt/1.2.5i

Hi Bob,

On Sun, Sep 17, 2000 at 06:40:19PM -0500, Bob Friesenhahn wrote:
> Does anyone have a tried and proven macro they can point me to that
> updates LIBS, CPPFLAGS, and CFLAGS values to support POSIX threads
> across platforms?  The macro in the Autoconf macro repository
> (ACX_PTHREAD) is not proving useful due to not working on common
> platforms (e.g. Solaris).

Take a look at the thread detection macros we use for ACE.  They are
fairly extensive, and should be able to detect drafts 4, 6, 7 and
standard POSIX threads implementations, in addition to Solaris' "UNIX
International" threads (which is of course, not pthreads).

The macros are available at:

Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8

reply via email to

[Prev in Thread] Current Thread [Next in Thread]