Code

configure: also check for clockgettime()
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 5 Jul 2016 13:31:28 +0000 (15:31 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 14 Jul 2016 09:48:02 +0000 (11:48 +0200)
commit6e83f8b261a05afe7bf9fdb9005c4c1aa3e97fed
treea66c3df39457d2f1c213fd7e9288870097dc8051
parent831914ee662ca3858337f217da510c7fe1147972
configure: also check for clockgettime()

clock_gettime() is also in -lrt so we also need to
check for it.

Use AC_SEARCH_LIBS() instead of our canned combo of
AC_CHECK_FUNC() + AC_CHECK_LIB(). AC_SEARCH_LIBS()
will automatically add the necessary -l flags to the
LIBS variable, so we don't need out AM_CONDITIONAL()
construct either, now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
configure.ac
src/Makefile.am