mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
To support static linking we need to explicitly specify the pthreads library which is referenced (but not used on modern Linux kernels at least). * m4/timer_time.m4 (LIB_TIMER_TIME): Add -lpthread when newer GLIBC is detected as that contains the pthread emulation. * modules/timer-time: Depend on threadlib to pull in the appropriate library to link
28 lines
363 B
Plaintext
28 lines
363 B
Plaintext
Description:
|
|
Check for timer_settime. Within HAVE_TIMER_SETTIME one can
|
|
assume timer_create, timer_delete and timer_gettime are available too.
|
|
|
|
Files:
|
|
m4/timer_time.m4
|
|
|
|
Depends-on:
|
|
extensions
|
|
threadlib
|
|
|
|
configure.ac:
|
|
gl_TIMER_TIME
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<time.h>
|
|
|
|
Link:
|
|
$(LIB_TIMER_TIME)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Pádraig Brady, Paul Eggert, Jim Meyering
|