> 2023-10-15 Bruno Haible
>
> pthread-spin: Fix link errors on FreeBSD 5.2.1/i386.
> * m4/pthread-spin.m4 (gl_PTHREAD_SPIN): Test not only whether
>defines the pthread_spinlock_t type, but also whether the
> function pthread_spin_init is actually defined.
This patch w
On FreeBSD 5.2.1/i386, I see these link errors:
../gllib/libgnu.a(mtx.o): In function `mtx_timedlock':
/usr/home/bruno/testdir-all/build/gllib/../../gllib/mtx.c:257: undefined
reference to `pthread_mutex_timedlock'
gmake[4]: *** [test-mtx] Error 1
test-pthread-spin.o: In function `lock_mutator_t