1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Math functions are enabled by default in the main configure script.

FossilOrigin-Name: b7456e0715c63308b7b3acf49eb66ecd947481400d4688ae459e2e1499447bcd
This commit is contained in:
drh
2021-03-09 16:35:14 +00:00
parent 24ec37c3b3
commit 42c93b5e9f
4 changed files with 34 additions and 34 deletions

32
configure vendored
View File

@ -903,8 +903,8 @@ with_readline_inc
enable_debug
enable_amalgamation
enable_load_extension
enable_all
enable_math
enable_all
enable_memsys5
enable_memsys3
enable_fts3
@ -1558,8 +1558,8 @@ Optional Features:
separately
--disable-load-extension
Disable loading of external extensions
--enable-all Enable FTS4, FTS5, Geopoly, JSON, RTree, Sessions
--disable-math Disable math functions
--enable-all Enable FTS4, FTS5, Geopoly, JSON, RTree, Sessions
--enable-memsys5 Enable MEMSYS5
--enable-memsys3 Enable MEMSYS3
--enable-fts3 Enable the FTS3 extension
@ -11421,16 +11421,6 @@ else
OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
fi
########
# The --enable-all argument is short-hand to enable
# multiple extensions.
# Check whether --enable-all was given.
if test "${enable_all+set}" = set; then :
enableval=$enable_all;
fi
##########
# Do we want to support math functions
#
@ -11441,7 +11431,10 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support math functions" >&5
$as_echo_n "checking whether to support math functions... " >&6; }
if test "${enable_fts5}" = "yes" -o "${enable_all}" = "yes" ; then
if test "$enable_math" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
OPT_FEATURE_FLAGS="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MATH_FUNCTIONS"
@ -11501,11 +11494,18 @@ if test "$ac_res" != no; then :
fi
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
########
# The --enable-all argument is short-hand to enable
# multiple extensions.
# Check whether --enable-all was given.
if test "${enable_all+set}" = set; then :
enableval=$enable_all;
fi
##########
# Do we want to support memsys3 and/or memsys5
#