1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/timer-time
Pádraig Brady d0738c7634 timer-time: link explicitly with pthreads on glibc
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
2012-03-10 13:51:47 +00:00

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