/ Check-in [76ec0b3d]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the --enable-threadsafe option to the configure script. Ticket #1378. (CVS 2623)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 76ec0b3d3a6cc82965e4f993375780b954c53dd1
User & Date: drh 2005-08-24 18:04:52
Context
2005-08-25
12:45
When the left-hand side of an IN operator is constant and the right-hand side is a SELECT, recognize that the IN operator is not constant. Ticket #1380. (CVS 2624) check-in: fc9e0460 user: drh tags: trunk
2005-08-24
18:04
Fix the --enable-threadsafe option to the configure script. Ticket #1378. (CVS 2623) check-in: 76ec0b3d user: drh tags: trunk
17:07
Additional defense against the rowid-fifo overflow problem. (CVS 2622) check-in: 881dcf5f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

    48     48   
    49     49   # The library that programs using readline() must link against.
    50     50   #
    51     51   LIBREADLINE = @TARGET_READLINE_LIBS@
    52     52   
    53     53   # Should the database engine be compiled threadsafe
    54     54   #
    55         -OPTS += -DTHREADSAFE=@THREADSAFE@
           55  +TCC += -DTHREADSAFE=@THREADSAFE@
    56     56   
    57     57   # The pthreads library if needed
    58     58   #
    59     59   LIBPTHREAD=@TARGET_THREAD_LIB@
    60     60   
    61     61   # Flags controlling use of the in memory btree implementation
    62     62   #
................................................................................
   419    419   	$(LTCOMPILE) -DTCL_USE_STUBS=1 -o $@ -c $(TOP)/src/tclsqlite.c
   420    420   
   421    421   tclsqlite3:	tclsqlite-shell.lo libsqlite3.la
   422    422   	$(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \
   423    423   		 libsqlite3.la $(LIBTCL)
   424    424   
   425    425   testfixture$(TEXE):	$(TOP)/src/tclsqlite.c $(TESTSRC) $(COMMONOBJ)
   426         -	$(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 $(THREADSAFE) $(TEMP_STORE)\
          426  +	$(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 $(TEMP_STORE) \
   427    427   	-o testfixture \
   428         -	$(TESTSRC) $(TOP)/src/tclsqlite.c $(COMMONOBJ) $(LIBTCL)
          428  +	$(TESTSRC) $(TOP)/src/tclsqlite.c $(COMMONOBJ) $(LIBTCL) $(LIBPTHREAD)
   429    429   
   430    430   crashtest$(TEXE): $(TOP)/src/tclsqlite.c $(TOP)/src/os_test.c $(TESTSRC) $(COMMONOBJ)
   431    431   	$(LTLINK) -DOS_TEST=1 -DTCLSH=1 -DSQLITE_TEST=1 \
   432    432   	-o crashtest $(TOP)/src/os_test.c \
   433         -	$(TESTSRC) $(TOP)/src/tclsqlite.c $(COMMONOBJ) $(LIBTCL)
          433  +	$(TESTSRC) $(TOP)/src/tclsqlite.c $(COMMONOBJ) $(LIBTCL) $(LIBPTHREAD)
   434    434   
   435    435   
   436    436   
   437    437   fulltest:	testfixture$(TEXE) sqlite3$(TEXE) crashtest$(TEXE)
   438    438   	./testfixture $(TOP)/test/all.test
   439    439   
   440    440   test:	testfixture$(TEXE) sqlite3$(TEXE)