90868c3
diff -up sqlite-src-3081001/Makefile.in.old sqlite-src-3081001/Makefile.in
90868c3
--- sqlite-src-3081001/Makefile.in.old	2015-05-11 09:24:56.310577370 +0200
90868c3
+++ sqlite-src-3081001/Makefile.in	2015-05-11 09:25:42.618876370 +0200
90868c3
@@ -995,7 +995,9 @@ smoketest:	testfixture$(TEXE) fuzzershel
90868c3
 
90868c3
 sqlite3_analyzer.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl
90868c3
 	echo "#define TCLSH 2" > $@
90868c3
-	echo "#define SQLITE_ENABLE_DBSTAT_VTAB" >> $@
90868c3
+	echo "#ifndef SQLITE_ENABLE_DBSTAT_VTAB" >> $@
90868c3
+	echo "#define SQLITE_ENABLE_DBSTAT_VTAB 0" >> $@
90868c3
+	echo "#endif" >> $@
90868c3
 	cat sqlite3.c $(TOP)/src/tclsqlite.c >> $@
90868c3
 	echo "static const char *tclsh_main_loop(void){" >> $@
90868c3
 	echo "static const char *zMainloop = " >> $@