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:

  http://ace.cs.wustl.edu/cvsweb/ace-latest.cgi/ACE_wrappers/m4/threads.m4

HTH,
-Ossama
-- 
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8
_______________________________________________
Autoconf mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/autoconf

Reply via email to