[Top][All Lists]

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

Re: `CHECK_LIB', `CHECK_FUNC' and macros

From: Steven G. Johnson
Subject: Re: `CHECK_LIB', `CHECK_FUNC' and macros
Date: Fri, 04 Jun 2004 13:19:02 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113

Ludovic Court├Ęs wrote:
Hi again,

Both `AC_CHECK_LIB' and `AC_CHECK_FUNC' check whether a *symbol* can be
found in the given library (or in one of `$LIBS').  However, on Tru64
UNIX 5.1 (aka. Digital UNIX, OSF1, ...) <pthread.h> does the following:

  #define pthread_create __pthread_create

Note that pthreads are generally quite painful to detect properly on a wide variety of systems, since there is wide variety in flags etc.; you might want to use my ACX_PTHREAD macro at the autoconf macro repository.


reply via email to

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