diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index edda08d..4093938 100644 --- a/configure.ac +++ b/configure.ac @@ -4692,8 +4692,12 @@ fi LIBS_SAVE=$LIBS LIBS="$LIBS $LIBM" -AC_CHECK_FUNCS([acosh asinh atanh erf erfc expm1 finite gamma]) -AC_CHECK_FUNCS([lgamma log1p log2 tgamma]) +AC_CHECK_FUNCS( + [acosh asinh atanh erf erfc expm1 finite gamma lgamma log1p log2 tgamma], + [], + [AC_MSG_ERROR([Python requires C99 compatible libm])] +) +LIBS=$LIBS_SAVE # For multiprocessing module, check that sem_open # actually works. For FreeBSD versions <= 7.2, |