Commit Graph

91 Commits

Author SHA1 Message Date
drh
a961d3a198 Merge enhancements from trunk.
FossilOrigin-Name: c446c8841192054c97ba5003fb6185b135a687b36c10fe0986e627282955520a
2018-08-23 14:54:45 +00:00
drh
8fa622d62b Fix various --enable and --disable options on the top-level configure
script.

FossilOrigin-Name: 6fd7e8ceb96981cff023653a54b85bea0e1da3d706cd9f4383f5c5533213ef4d
2018-06-11 19:47:14 +00:00
drh
748b8fda90 Forward port the geopoly extension functions into the r-tree extension,
with the idea of creating a new spatial index based on simply polygons.

FossilOrigin-Name: 0593aac88a8c25ddafba4c29a181ee083dfc3dab44335feb6f12fdea6ce7fb27
2018-05-25 19:22:47 +00:00
drh
56c9311c63 Enhance the configure script to detect zLib.
FossilOrigin-Name: e3b6e22049caf78bc4153ded8dc295fe30ad320323d921f16bd794ef30f1b115
2017-11-24 16:55:48 +00:00
drh
0b11bcb3e4 Update the configure script so that it looks for tclsh8.7 ahead of tclsh8.6.
FossilOrigin-Name: 0a12915b373cd0491a58d8f7a645711c620c70efced623e6b40aa01f23284157
2017-09-22 00:24:44 +00:00
drh
83bebddbd9 Add the --enable-update-limit option to the ./configure script.
FossilOrigin-Name: 64a8ae68381b7fbb29b659901ca7ce8d50510e4753758d5761f7e41539288cef
2017-08-28 17:00:12 +00:00
drh
8c9ed054b3 Fix an issue with OPT_FEATURE_FLAGS in configure.ac.
FossilOrigin-Name: 43ce3bd3a4b41ea757e308e563d6c1bf7f9c09f10e4766c536d0bf1042c45613
2017-05-29 17:43:06 +00:00
drh
32d0eba4c2 Attempt to remove bash-isms from configure.ac. Use -O0 with --enable-debug.
FossilOrigin-Name: 71ed35ccf7c0f6c49118a44cf6621f46b9ea883e4a74d51b8b1ade6d9a95413a
2017-04-05 10:54:14 +00:00
drh
223b4bb3f7 Change the --enable-debug option on configure so that it enables the
".selecttrace" and ".wheretrace" commands in the command-line shell.

FossilOrigin-Name: 2331192b4ca6a169b6ac0daafb21ceb7c390de65
2016-11-17 13:54:21 +00:00
drh
5d513ba08c If both MEMSYS3 and MEMSYS5 are enabled, than automatically disable MEMSYS3.
FossilOrigin-Name: ccc22e14dc5d910d632807f49484be54dc2fde83
2016-07-25 11:57:21 +00:00
drh
6fe4c184fb Another attempt at getting --enable-memsysN working.
FossilOrigin-Name: 5f40e6ad599eea59a5adc3a11d6f7998872736b4
2016-07-25 11:39:24 +00:00
drh
26197d1b62 Fix the --enable-memsysN options in configure so that they actually work.
FossilOrigin-Name: 679552550e085497b98478bbe28056d99fe4aab4
2016-07-25 11:32:09 +00:00
drh
c530b9c65b Add --enable-memsys3 and --enable-memsys5 options to the configure script.
FossilOrigin-Name: 67e1dc9842dc8a6ae5edef21bdb2ef6d3f4a17b7
2016-07-25 11:27:22 +00:00
drh
6831474341 Update the configure script with additional hints on the location of
tclConfig.sh, hints needed by the latest versions of Xcode.

FossilOrigin-Name: 90411a28168f6dacf08242a25bed7d6269041417
2016-05-23 00:10:58 +00:00
drh
5e18d40200 Turn the session extension off by default. Enable using --enable-session on
configure scripts, or using the SESSION=1 argument to nmake on Windows.

FossilOrigin-Name: e462cde2a50c39cc2f8d8624aada19280b8226eb
2016-05-03 13:14:18 +00:00
drh
e32a256acd Update the configure script to detect pread/pwrite and update os_unix.c to
use those routines if they are available.

FossilOrigin-Name: 2cffb9e50bed77d1079603f5b4a71b7559de7294
2016-03-04 02:38:00 +00:00
drh
ba60fbb621 Fix for pthread detection in the configure scripts.
FossilOrigin-Name: 47633ffdbfead3ce7b1f6560660df99f950d24f8
2016-01-28 02:47:32 +00:00
drh
13c808a9fc Look for pthread_mutexattr_init() instead of pthread_create() in autoconf
scripts, to work around issues with ASAN.

FossilOrigin-Name: 9c3a0dc2e8bf202cd846841bd5d4ea67aa189c1a
2016-01-13 21:23:48 +00:00
drh
e44b835e63 Add the --enable-editline option to various autoconf scripts.
FossilOrigin-Name: 866f0277781dedf0db287ec5902a138406a172e3
2015-10-30 14:25:57 +00:00
drh
fdefc36792 Update makefiles to remove all uses of "awk" - to make building SQLite easier
on Windows systems.  The only requirements now are tclsh, a C compiler, and
common file utilities.

FossilOrigin-Name: 4bd0d43db7c1877f2d8a8d2f2a48f24a10f0c3b8
2015-10-14 20:03:00 +00:00
drh
ce1d9f546b Add configure script options --enable-fts5 and --enable-json1. Automatically
search for -lm when using --enable-fts5.

FossilOrigin-Name: a0c44f1d46f1f31043d66f20c8dc0df53db15c30
2015-10-09 12:48:33 +00:00
drh
48cc9a31e1 Convert the tool/tostr.awk script into tool/tostr.tcl. Remove two obsolete
Makefiles.  Purge NAWK from the configure script and from unix makefiles.
There are still two uses of NAWK in Makefile.msc.

FossilOrigin-Name: 5b6775215327a89232f5059653747a18e83b8b4b
2015-10-07 12:36:42 +00:00
drh
f960a64d29 Updates to configure.ac to help it find where the TCL libraries hidden
on Ubuntu 14.04.

FossilOrigin-Name: c864ff912db8bc0a3c3ecc1ceac61a25332e76c5
2015-05-30 22:57:49 +00:00
drh
d881ce8fa7 Fix configure.ac and Makefile.in so that they generate pkgIndex.tcl correctly.
FossilOrigin-Name: 3deff25249c59b7fc1b6eb65dda39736955679c6
2015-03-31 17:01:52 +00:00
drh
3931112eab Fix the spelling of "malloc_usable_size" in configure and configure.ac.
FossilOrigin-Name: 8f45217cbafef2297cdcec3fd69f4371dfb83922
2015-01-15 17:38:35 +00:00
drh
8567d40609 Add detection of the isnan() library function to the configure script. Make
the code responsive to the HAVE_ISNAN configuration option.

FossilOrigin-Name: 46f3aba2692d74c29ab5c1f24a6daac600fd6af8
2015-01-10 18:22:06 +00:00
drh
05c7e0bdb6 Autoconf configure script updates: (1) remove the long-obsolete
--enable-cross-thread-connections option.  (2) remove the --with-hints= options.
(3) Extension loading is enabled by default.  (4) Check for strchrnull()
(5) Update the --help text.

FossilOrigin-Name: 5004063ce4c8816125372ecc5fd52140489306dd
2015-01-10 14:27:17 +00:00
mistachkin
fe27b08934 Update list of supported Tcl shells to include 8.6. Remove stray OS2 references.
FossilOrigin-Name: ecd52ccf650ce2a4ab93c7c482289c1bc4768eeb
2013-08-28 18:06:26 +00:00
mistachkin
f344a5e70e Stop using the TCL_LIBS configuration variable when linking with Tcl. Remove superfluous 'rm' command.
FossilOrigin-Name: e1feab9834fe829d43ae895cc575ad269a36668c
2012-12-06 00:16:51 +00:00
drh
e74f4651da Change autoconf so that the --with-tcl=DIR option will override the
TCL configuration that is found using tclsh.

FossilOrigin-Name: 772d0de3f311f2035f8a42f01371c96c9fa587ce
2012-08-15 16:06:54 +00:00
drh
86c5a930e2 Add an autoconf test for malloc.h and use the results of that test to
conditionally #include the malloc.h header file.

FossilOrigin-Name: 16a471129d497f45935b5d00df7ce9ec731ee498
2012-02-08 12:13:28 +00:00
drh
6a8ab6d9cb For the mem1.c system malloc implementation, use the malloc_usable_size()
function if the HAVE_MALLOC_USABLE_SIZE macro is defined.  Update autoconf
to look for that function when configuring.

FossilOrigin-Name: 2e8ab3cedfebc33a831837792b523d1aa7cdc6b7
2011-11-09 01:53:25 +00:00
drh
dbe4b88aac Rework the autoconf script to better deal with utime() and dlopen().
FossilOrigin-Name: f69ed286ffb3f62f5cb5c1f7df55fa4d2468b472
2011-06-20 18:00:17 +00:00
drh
697e965299 Remove the obsolete compile-time option SQLITE_THREAD_OVERRIDE_LOCK
from the autoconf makefile.  Needed only for LinuxThreads, which we no
longer support.

FossilOrigin-Name: 09f6c053ff9239c22ecf527ae579446c6e21e550
2010-12-21 00:20:53 +00:00
drh
d7ceb372aa Update the makefiles to prefer TCL version 8.5 instead of 8.4.
FossilOrigin-Name: 8118de2af33557f75b4f2f1b1194a21d46ccf7fe
2010-07-27 16:42:22 +00:00
danielk1977
6f050aa2bf Tests for the new asynchronous IO API. (CVS 6549)
FossilOrigin-Name: 11b2564e7159168cd0815bb9bc93688586fad1e0
2009-04-25 08:39:14 +00:00
vapier
faa68dbb7d add a sanity check to make sure the configure script and VERSION file are always in sync (CVS 6420)
FossilOrigin-Name: 1b9da6d73f603e66d078463c3571dda86ceedfb3
2009-04-01 07:38:31 +00:00
vapier
6d120f39aa unify TCLLIBDIR handling with libtclsqlite3.so and use libtool to install it rather than custom tclinstaller.tcl ... this integrates better with autotools and avoids relinking issues (RPATH pointing to builddir) (CVS 6210)
FossilOrigin-Name: 3a049ca761f36d0fdb3b5b5f254c00210b373e9e
2009-01-28 04:46:14 +00:00
vapier
695f097075 use AC_MSG_xxx funcs rather than echo (CVS 6208)
FossilOrigin-Name: ed08025ad2c5c9e52732ad91192e1c6d58272c87
2009-01-26 21:43:16 +00:00
vapier
fe7e82e4be (#3449) search for tclConfig.sh first by asking tclsh itself where it is (CVS 6207)
FossilOrigin-Name: ff2912dc1483bf934c94bd7866b4ec314a0d784f
2009-01-26 21:39:33 +00:00
drh
8b72747db0 Fix the --enable-tempstore option on the configure script. Ticket #3599 (CVS 6194)
FossilOrigin-Name: c2eabb99fe852142e54f35f423f766411d7ba6c0
2009-01-19 18:18:40 +00:00
shane
b1cd7308dc Updated configure/makefiles to handle SQLITE_ENABLE* compile options. Made sure makefile passes command line options (OPTS=-Dfoo) to the compiler. Add -DSQLITE_COVERAGE_TEST=1 if gcov being used. (CVS 5838)
FossilOrigin-Name: acb106e51f8bb7449a0e214075c559cc66497277
2008-10-22 18:27:31 +00:00
pweilbacher
dac8e249af remove OS/2 compiler flags that aren't really necessary (CVS 5594)
FossilOrigin-Name: b688c68c3d70dc69adc2d1a08ddcf5899a115646
2008-08-22 13:58:55 +00:00
danielk1977
33a14781c8 Modify the configure script to avoid using the += operator. Not all shells support it. (CVS 5535)
FossilOrigin-Name: f167b2745d491a1adb2b6c869b2169cd6fa53af8
2008-08-04 14:50:05 +00:00
shane
fbededef48 "configure" support updated. Removed unused features. Added parsing of CFLAGS and CPPFLAGS to extract OMIT options to pass to lemon and mkkeywordhash. (CVS 5446)
FossilOrigin-Name: c67aa5057deda6419e1f205118bf09957d599c15
2008-07-22 05:05:01 +00:00
danielk1977
29bafeabcd Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311)
FossilOrigin-Name: cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
2008-06-26 10:41:19 +00:00
mlcreech
636a995de9 Add AC_SYS_LARGEFILE to ensure large file support, update autotools-related files.
Ticket #3094. (CVS 5087)

FossilOrigin-Name: 2b1e455c46a184311a3a2e83b4f9345d2e34f497
2008-05-05 22:52:56 +00:00
mlcreech
57ee05248d Fix #3053: bashism (CVS 5006)
FossilOrigin-Name: 7217cecee71fbc992acd07b4ac90c1929e2207ae
2008-04-14 22:57:55 +00:00
mlcreech
aac7b93ea4 Add a configure option for using gcov (makes things easier for versions of
GCC that fail to build otherwise) (CVS 4947)

FossilOrigin-Name: 7d1e79716246b0dd4a64d7c9575b2300e0f6123e
2008-04-01 02:45:22 +00:00
mlcreech
2379706c79 Make out-of-tree builds work as expected when using configure script (CVS 4893)
FossilOrigin-Name: e2d05ea3c3e4a11bc1c0cc4c4403a445b9c2b64d
2008-03-20 02:25:35 +00:00