1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Get clock_gettime() from librt where necessary

This commit is contained in:
Moritz Grimm 2017-07-06 17:44:08 +02:00
parent cb77576d0f
commit 912c284a3c

View File

@ -235,6 +235,13 @@ AC_CHECK_FUNCS([sigaction], [
#endif
])
AC_CHECK_FUNC([clock_gettime], [], [
AC_CHECK_LIB([rt], [clock_gettime], [
AX_UNIQVAR_PREPEND([EZ_LIBS], [-lrt])
])
])
dnl ##################
dnl ## MISCELLANEOUS ###################################################