Skip to content

Commit 05a9127

Browse files
committed
Use libm for cos()
1 parent fa32a68 commit 05a9127

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ AC_PROG_MAKE_SET
5555
#AC_FUNC_STRTOD
5656
#AC_CHECK_FUNCS([gettimeofday localtime_r memset pow setlocale sqrt strcasecmp strchr strcspn strdup strerror strrchr strstr strtoul tzset])
5757

58+
# add libm, used for cos()
59+
AC_CHECK_LIB([m], [cos])
60+
5861
# check for libcurl
5962
PKG_CHECK_MODULES([libcurl], [libcurl], [], [AC_MSG_ERROR([libcurl missing])])
6063
CFLAGS="$CFLAGS $libcurl_CFLAGS"

0 commit comments

Comments
 (0)