timer-time: link explicitly with pthreads on glibc
authorPádraig Brady <P@draigBrady.com>
Tue, 6 Mar 2012 15:02:40 +0000 (15:02 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 10 Mar 2012 13:51:47 +0000 (13:51 +0000)
commitd0738c7634890553f4405677888f4d4d2726e93b
tree7275804f3337950c96dfe8e74caca6067e7d8a45
parent7e105c7957aab59bbf060758c2b3e285feaea229
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
ChangeLog
m4/timer_time.m4
modules/timer-time