On Fri, Jun 29, 2012 at 11:08 AM, Stephan Beal <sgb...@googlemail.com>wrote:
> 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. > I also had to change a couple of 7's to 8's in ctime.c (since "SQLITE_" is 7 characters long whereas "SQLITE4_" is 8). But that plus your changes above seem to do the trick. The changes are now checked in on the trunk. Thanks. > > :-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 > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users