blob: 6676228ad674cfe43af4d4761a5d13c302ff830f [file] [log] [blame]
danf6f8ac62013-05-27 17:19:58 +00001
2This file describes how to use the files in this directory to create a new
3version of the "autoconf-amalgamation" package.
4
51. The following files should have executable permission:
6
7 chmod 755 install-sh
8 chmod 755 missing
9 chmod 755 depcomp
10 chmod 755 config.sub
11 chmod 755 config.guess
12
132. Copy new versions of the following SQLite files into this directory:
14
15 sqlite3.c
16 sqlite3.h
17 sqlite3ext.h
18 sqlite3.1
19 sqlite3.pc.in
20 shell.c
21
223. Update the SQLite version number in the AC_INIT macro in file
23 configure.ac:
24
25 AC_INIT(sqlite, 3.6.3, http://www.sqlite.org)
26
274. Run the following commands to push the version number change through
28 to the generated files.
29
30 aclocal
31 autoconf
32 automake
33
345. Create the tclsqlite3.c file in the tea/generic directory. As follows:
35
36 mkdir -p tea/generic
37 echo "#ifdef USE_SYSTEM_SQLITE" > tea/generic/tclsqlite3.c
38 echo "# include <sqlite3.h>" >> tea/generic/tclsqlite3.c
39 echo "#else" >> tea/generic/tclsqlite3.c
40 echo "#include \"../../sqlite3.c\"" >> tea/generic/tclsqlite3.c
41 echo "#endif" >> tea/generic/tclsqlite3.c
42 cat ../src/tclsqlite.c >> tea/generic/tclsqlite3.c
43
446. Update the SQLite version in the AC_INIT macro in file tea/configure.in:
45
46 AC_INIT([sqlite], [3.6.3])
47
487. From the 'tea' directory, run the following commands:
49
50 autoconf
51 rm -rf autom4te.cache
52
538. Run "./configure && make dist". This builds a distribution package
54 named something like "sqlite-3.6.3.tar.gz". Rename to
55 "sqlite-amalgamation-3.6.3.tar.gz" and use.
56
57