[configure] explictly check for 'fabs' and some other math functions to incl -lm

This commit is contained in:
whatdoineed2do/Ray 2020-08-17 14:34:20 +01:00 committed by ejurgensen
parent 11de4c09bc
commit fc5df02d29
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@ AC_SEARCH_LIBS([pthread_setname_np], [pthread],
[AC_SEARCH_LIBS([pthread_set_name_np], [pthread], [AC_SEARCH_LIBS([pthread_set_name_np], [pthread],
[AC_CHECK_FUNCS([pthread_set_name_np])])]) [AC_CHECK_FUNCS([pthread_set_name_np])])])
AC_SEARCH_LIBS([log10], [m])
AC_SEARCH_LIBS([lrint], [m])
AC_SEARCH_LIBS([fabs], [m])
dnl Large File Support (LFS) dnl Large File Support (LFS)
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_TYPE_OFF_T AC_TYPE_OFF_T