On 08/02/11 11:12, Eric Blake wrote:
> AC_CHECK_FUNCS_ONCE does not add the mandatory -pthread compiler
> switch, and glibc only provides pthread_sigmask when compiling for
> threads.  This seems fishy to me; it seems like we have a bug in
> pthread_sigmask.m4 for not recognizing glibc's version, and
> populating $(LIB_PTHREAD_SIGMASK) with -pthread as appropriate.

pthread_sigmask depends on threadlib, which means this shouldn't be a problem.
threadlib arranges for -pthread (or whatever) as needed.

GNU Emacs avoids threadlib, and arranges for -pthread (or whatever)
itself.  But that's fine: packages that avoid threadlib are supposed
to know what they're doing.


Reply via email to