Hash :
d0738c76
Author :
Date :
2012-03-06T15:02:40
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
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