On Fri, Jun 29, 2012 at 4:38 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> Other than that i simply did s/sqlite3/sqlite4/g and all went just fine,
> so i wouldn't expect any problems with s/SQLITE_/SQLITE4_/g.
>

This actually works.

Here's what i did (incrementally via trial/error), from the 'src' dir:

  544  perl -i -pe 's|SQLITE_|SQLITE4_|g' *.c ../tool/*.tcl
  545  perl -i -pe 's|SQLITE_|SQLITE4_|g' ../Makefile*
  547  perl -i -pe 's|SQLITE_|SQLITE4_|g' *.in
  549  perl -i -pe 's|SQLITE_|SQLITE4_|g' *.h
  550  perl -i -pe 's|SQLITE_|SQLITE4_|g' ../test/*.*
  551  perl -i -pe 's|SQLITE_|SQLITE4_|g' *.y

make clean; make

i made the same changes in my client and now its amalgamation builds just
fine with both v3 and v4 enabled.

:-D

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to