Re: `CHECK_LIB', `CHECK_FUNC' and macros

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

 



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.


Steven



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux