michael@428: Index: Makefile.in michael@428: --- Makefile.in.orig 2009-07-06 16:29:57 +0200 michael@428: +++ Makefile.in 2009-08-12 20:12:13 +0200 michael@428: @@ -187,6 +187,17 @@ michael@428: USE_AMALGAMATION = @USE_AMALGAMATION@ michael@428: LIBOBJ = $(OBJS$(USE_AMALGAMATION)) michael@428: michael@428: +# FTS3 support michael@428: +ifdef FTS3 michael@428: +TCC += -DSQLITE_ENABLE_FTS3 -I$(TOP)/ext/fts3 michael@428: +LIBOBJ += fts3.lo fts3_hash.lo fts3_expr.lo fts3_porter.lo fts3_icu.lo fts3_tokenizer1.lo fts3_tokenizer.lo michael@428: +endif michael@428: + michael@428: +# RTREE support michael@428: +ifdef RTREE michael@428: +TCC += -DSQLITE_ENABLE_RTREE -I$(TOP)/ext/rtree michael@428: +LIBOBJ += rtree.lo michael@428: +endif michael@428: michael@428: # All of the source code files. michael@428: # michael@428: @@ -477,6 +488,24 @@ michael@428: -o $@ $(TOP)/src/shell.c libsqlite3.la \ michael@428: $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)" michael@428: michael@428: +fts3.lo: $(TOP)/ext/fts3/fts3.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3.c michael@428: +fts3_hash.lo: $(TOP)/ext/fts3/fts3_hash.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_hash.c michael@428: +fts3_expr.lo: $(TOP)/ext/fts3/fts3_expr.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_expr.c michael@428: +fts3_icu.lo: $(TOP)/ext/fts3/fts3_icu.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_icu.c michael@428: +fts3_porter.lo: $(TOP)/ext/fts3/fts3_porter.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_porter.c michael@428: +fts3_tokenizer.lo: $(TOP)/ext/fts3/fts3_tokenizer.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer.c michael@428: +fts3_tokenizer1.lo: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/fts3/fts3_tokenizer1.c michael@428: + michael@428: +rtree.lo: $(TOP)/ext/rtree/rtree.c $(HDR) michael@428: + $(LTCOMPILE) -c $(TOP)/ext/rtree/rtree.c michael@428: + michael@428: # This target creates a directory named "tsrc" and fills it with michael@428: # copies of all of the C source code and header files needed to michael@428: # build on the target system. Some of the C source code and header michael@428: Index: configure michael@428: --- configure.orig 2009-08-01 17:04:20 +0200 michael@428: +++ configure 2009-08-12 20:12:13 +0200 michael@428: @@ -6012,11 +6012,7 @@ michael@428: if $ac_preproc_ok; then michael@428: : michael@428: else michael@428: - { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check michael@428: -See \`config.log' for more details." >&5 michael@428: -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check michael@428: -See \`config.log' for more details." >&2;} michael@428: - { (exit 1); exit 1; }; } michael@428: + : michael@428: fi michael@428: michael@428: ac_ext=c michael@428: Index: sqlite3.pc.in michael@428: --- sqlite3.pc.in.orig 2009-05-05 05:39:51 +0200 michael@428: +++ sqlite3.pc.in 2009-08-12 20:12:13 +0200 michael@428: @@ -8,6 +8,5 @@ michael@428: Name: SQLite michael@428: Description: SQL database engine michael@428: Version: @RELEASE@ michael@428: -Libs: -L${libdir} -lsqlite3 michael@428: -Libs.private: @LIBS@ michael@428: +Libs: -L${libdir} -lsqlite3 @LIBS@ michael@428: Cflags: -I${includedir}