Merge branch 'obsd-master'

Also add a check for -lm via AC_SEARCH_LIBS in configure.ac for
portablility fixes.
This commit is contained in:
Thomas Adam
2020-03-11 17:23:38 +00:00
4 changed files with 151 additions and 4 deletions

View File

@ -122,6 +122,9 @@ AC_REPLACE_FUNCS([ \
])
AC_FUNC_STRNLEN
# Look for libm
AC_SEARCH_LIBS(sqrt, m)
# Look for clock_gettime. Must come before event_init.
AC_SEARCH_LIBS(clock_gettime, rt)