autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_FUNC vs. function renaming? (curl on tru64/osf1, threads)


From: Paul Eggert
Subject: Re: AC_CHECK_FUNC vs. function renaming? (curl on tru64/osf1, threads)
Date: Tue, 6 Jul 2021 10:15:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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



reply via email to

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