mirror of https://github.com/xzeldon/htop.git
Check if clock_gettime needs linking of librt
This commit is contained in:
parent
8149823d56
commit
ab60f59ed8
|
@ -100,6 +100,7 @@ AC_CHECK_FUNCS([\
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_SEARCH_LIBS([dlopen], [dl dld])
|
AC_SEARCH_LIBS([dlopen], [dl dld])
|
||||||
|
AC_SEARCH_LIBS([clock_gettime], [rt])
|
||||||
|
|
||||||
save_cflags="${CFLAGS}"
|
save_cflags="${CFLAGS}"
|
||||||
CFLAGS="${CFLAGS} -std=c99"
|
CFLAGS="${CFLAGS} -std=c99"
|
||||||
|
|
Loading…
Reference in New Issue