1
0

README.first 1.6 KB

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