diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bb8f4bd56..5285581ee 100644 --- a/configure.ac +++ b/configure.ac @@ -587,6 +587,20 @@ else fi ########## +# Do we want to support math functions +# +AC_ARG_ENABLE(threadsafe, +AC_HELP_STRING([--disable-math],[Disable math functions])) +AC_MSG_CHECKING([whether to support math functions]) +if test "$enable_math" = "no"; then + AC_MSG_RESULT([no]) +else + AC_MSG_RESULT([yes]) + OPT_FEATURE_FLAGS="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MATH_FUNCTIONS" + AC_SEARCH_LIBS(ceil, m) +fi + +########## # Do we want to support memsys3 and/or memsys5 # AC_ARG_ENABLE(memsys5, |