Check whether we need -lm for fmod.

Apparently, fmod may be in -lm even if cos isn't.

Change-Id: Ifef1246ccd1ae1e17e4bbbab120c6181092c7786
Reviewed-on: https://code.wireshark.org/review/19827
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-01-28 13:07:27 -08:00
parent 9bf42ae4dc
commit aaac50cfde
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ AC_SYS_LARGEFILE
# Check if we need to link with libm
#
AC_SEARCH_LIBS([cos], [m])
AC_SEARCH_LIBS([fmod], [m])
#
# Check for C99 math functions.