mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-24 22:56:00 +00:00
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB so we don't pull in librt
unless we actually need it.
This commit is contained in:
parent
86e7cd9eb1
commit
44230ff5e3
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ AC_CHECK_FUNCS([utrace])
|
|||
|
||||
save_LIBS="${LIBS}"
|
||||
LIBS=""
|
||||
AC_CHECK_LIB(rt, clock_gettime)
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||
RT_LIBS="${LIBS}"
|
||||
LIBS="${save_LIBS}"
|
||||
AC_SUBST(RT_LIBS)
|
||||
|
|
Loading…
Reference in a new issue