configure.ac: check if -lrt is necessary for clock_gettime()
This commit is contained in:
parent
8ed9f779cd
commit
1451344221
@ -159,6 +159,8 @@ dnl ---------------------------------------------------------------------------
|
|||||||
dnl Header/Library Checks
|
dnl Header/Library Checks
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||||
|
|
||||||
AC_SEARCH_LIBS([syslog], [bsd socket inet],
|
AC_SEARCH_LIBS([syslog], [bsd socket inet],
|
||||||
[AC_DEFINE(HAVE_SYSLOG, 1, [Define if syslog() is available])])
|
[AC_DEFINE(HAVE_SYSLOG, 1, [Define if syslog() is available])])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user