]> code.delx.au - gnu-emacs/commit
Better port of pthread usage to FreeBSD
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Mar 2015 21:14:07 +0000 (14:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Mar 2015 21:18:30 +0000 (14:18 -0700)
commita68aa2e15be21297d6e8dccb2bcd86422fdebe15
treefa74a9e62d303f7f8fbb713241e884e4b967be25
parent3ffcf0e3dedb94e065733dc0a5923d7fef42de49
Better port of pthread usage to FreeBSD

* configure.ac (ac_func_list): Omit pthread_sigmask, since
we check for that ourselves rather than relying on gnulib.
(HAVE_PTHREAD, LIB_PTHREAD, _THREAD_SAFE): Port better to FreeBSD,
by also checking for pthread_create, pthread_self, pthread_sigmask.
Tighten the test for pthread_atfork while we're at it.
Fixes: bug#20136
ChangeLog
configure.ac