[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: Re: AC_CHECK_FUNC vs. function renaming? (curl on tru64/osf1, threads)
From: Paul Eggert <eggert () cs ! ucla ! edu>
Date: 2021-07-06 17:15:29
Message-ID: a0c11d12-a5f4-a6d5-f61d-48161ba3d8b2 () cs ! ucla ! edu
[Download RAW message or body]
On 7/6/21 1:19 AM, Jay K wrote:
> My intuition would be more like:
>
> #include <pthread.h>
>
> int main()
> {
> return (int)pthread_create;
> }
It should be easy to change curl's configure.ac to do that. But
pthread_create is a bigger portability minefield than just that. See the
Gnulib pthread module, e.g.:
https://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=m4/pthread_h.m4
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic