Check if we need -lm for fe[gs]etenv()

This commit is contained in:
Frank Denis 2013-04-18 10:37:32 +02:00
parent b64beede1d
commit 707dcb0c44
2 changed files with 3 additions and 0 deletions

View File

@ -169,6 +169,7 @@ return sizeof(x) / CHAR_BIT != 16U
dnl Checks for functions and headers
AC_CHECK_FUNC(clock_gettime, , [AC_CHECK_LIB(rt, clock_gettime)])
AC_CHECK_FUNC(fegetenv, , [AC_CHECK_LIB(m, fegetenv)])
AC_CHECK_FUNCS([SecureZeroMemory])

View File

@ -10,6 +10,8 @@ Public domain.
#include "crypto_onetimeauth.h"
#pragma STDC FENV_ACCESS ON
typedef uint8_t uchar;
typedef int32_t int32;
typedef uint32_t uint32;