-C Keep\sthe\sfull\sprecision\sof\sintegers\sif\spossible\swhen\scasting\sto\s"numeric".\nTicket\s#2364.\s(CVS\s4012)
-D 2007-05-16T11:55:57
+C Add\sa\s--nostatic\soption\sto\smksqlite3c.tcl.\s\sWith\sthis\soption\sturned\son,\nthe\sextra\s"static"\sstorage\sclass\smarkers\sare\snot\sinserted\sinto\sthe\namalgamation.\s(CVS\s4013)
+D 2007-05-16T13:55:26
F Makefile.in 87b200ad9970907f76df734d29dff3d294c10935
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
F tool/memleak3.tcl 7707006ee908cffff210c98158788d85bb3fcdbf
F tool/mkkeywordhash.c fe15d1cbc61c2b0375634b6d8c1ef24520799ea0
F tool/mkopts.tcl 66ac10d240cc6e86abd37dc908d50382f84ff46e x
-F tool/mksqlite3c.tcl 73453da6ff4e0af53c708922e69447bc393c19d8
+F tool/mksqlite3c.tcl a1c49f75558b32cadae8b4f558af44a2292fb6f3
F tool/mksqlite3internalh.tcl 09152fdc0c5fd779a3ac5759a043f08d2f609248
F tool/omittest.tcl e6b3d6a1285f9813bc1dea53bb522b4b72774710
F tool/opcodeDoc.awk b3a2a3d5d3075b8bd90b7afe24283efdd586659c
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 448d3ef670dce6d27c7d7b1be58088d45f8b6274
-R c8d1b4af067fdea86c8ef5e23b538719
+P 2ac985a38034da87b0fa3837976e1f2164b22672
+R 5e790419b578af9a1263f12ce379977a
U drh
-Z 5f8f6c00eb0bad475fb07ee3737fa3b6
+Z a49104c063bb649dce202b1f8aae51b8
-2ac985a38034da87b0fa3837976e1f2164b22672
\ No newline at end of file
+57e17c7cda23a3b3e1d0a691af07c35c1c644dcc
\ No newline at end of file
# in this file and extract the version number. That information will be
# needed in order to generate the header of the amalgamation.
#
+if {[lsearch $argv --nostatic]>=0} {
+ set addstatic 0
+} else {
+ set addstatic 1
+}
set in [open tsrc/sqlite3.h]
set cnt 0
set VERSION ?????
# process them approprately.
#
proc copy_file {filename} {
- global seen_hdr available_hdr out
+ global seen_hdr available_hdr out addstatic
set tail [file tail $filename]
section_comment "Begin file $tail"
set in [open $filename r]
puts $out "#if 0"
} elseif {[regexp {^#line} $line]} {
# Skip #line directives.
- } elseif {[regexp $declpattern $line] && ![regexp {^static} $line]} {
+ } elseif {$addstatic && [regexp $declpattern $line]
+ && ![regexp {^static} $line]} {
# Add the "static" keyword before internal functions.
puts $out "static $line"
} else {
copy_file tsrc/$file
}
-if 0 {
-puts $out "#ifdef SQLITE_TEST"
-foreach file {
- test1.c
- test2.c
- test3.c
- test4.c
- test5.c
- test6.c
- test7.c
- test8.c
- test_async.c
- test_autoext.c
- test_loadext.c
- test_md5.c
- test_schema.c
- test_server.c
- test_tclvar.c
-} {
- copy_file ../sqlite/src/$file
-}
-puts $out "#endif /* SQLITE_TEST */"
-puts $out "#ifdef SQLITE_TCL"
-copy_file ../sqlite/src/tclsqlite.c
-puts $out "#endif /* SQLITE_TCL */"
-}
-
close $out