diff options
author | a.rottmann <a.rottmann@noemail.net> | 2003-03-24 09:39:32 +0000 |
---|---|---|
committer | a.rottmann <a.rottmann@noemail.net> | 2003-03-24 09:39:32 +0000 |
commit | c7e9383a9ec0fbb4d9ff2ee907dc580a46d0ea91 (patch) | |
tree | a48a00eb4a3f3ab11a3c03e479ae7492c2f12dab | |
parent | 113088ec685755a8abc94ddadc7d0e57dba9c914 (diff) | |
download | sqlite-c7e9383a9ec0fbb4d9ff2ee907dc580a46d0ea91.tar.gz sqlite-c7e9383a9ec0fbb4d9ff2ee907dc580a46d0ea91.zip |
Added pkg-config support. (CVS 880)
FossilOrigin-Name: ec1c5a611307047dd0049353e989e75dcaffaa45
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | configure.ac | 13 | ||||
-rw-r--r-- | manifest | 17 | ||||
-rw-r--r-- | manifest.uuid | 2 | ||||
-rw-r--r-- | sqlite.pc.in | 12 |
5 files changed, 35 insertions, 11 deletions
diff --git a/Makefile.in b/Makefile.in index c05220bc3..bff52564e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -398,6 +398,8 @@ install: sqlite libsqlite.la sqlite.h $(LIBTOOL) $(INSTALL) sqlite $(exec_prefix)/bin $(INSTALL) -d $(prefix)/include $(INSTALL) -m 0644 sqlite.h $(prefix)/include + $(INSTALL) -d $(exec_prefix)/lib/pkgconfig; \ + $(INSTALL) -m 0644 sqlite.pc $(exec_prefix)/lib/pkgconfig; \ clean: rm -f *.lo *.la *.o sqlite libsqlite.la sqlite.h opcodes.* diff --git a/configure.ac b/configure.ac index a2897c5f5..eb7aa88bc 100644 --- a/configure.ac +++ b/configure.ac @@ -138,7 +138,7 @@ AC_INIT(src/sqlite.h.in) dnl Put the RCS revision string after AC_INIT so that it will also dnl show in in configure. # The following RCS revision string applies to configure.in -# $Revision: 1.1 $ +# $Revision: 1.2 $ ######### # Programs needed @@ -154,6 +154,12 @@ if test "$program_prefix" = "NONE"; then fi AC_SUBST(program_prefix) +if test -f VERSION; then + VERSION=`cat VERSION` + echo "Version set to $VERSION" +fi +AC_SUBST(VERSION) + ######### # Check to see if the --with-hints=FILE option is used. If there is none, # then check for a files named "$host.hints" and ../$hosts.hints where @@ -474,4 +480,7 @@ AC_CHECK_FUNC(usleep, [TARGET_CFLAGS="$TARGET_CFLAGS -DHAVE_USLEEP=1"]) ######### # Generate the output files. # -AC_OUTPUT(Makefile) +AC_OUTPUT([ +Makefile +sqlite.pc +]) @@ -1,6 +1,6 @@ -C Record\sthe\sdatabase\sname\sin\saddition\sto\sthe\stable\sname\sfor\sDELETE,\sINSERT,\nand\sUPDATE\sstatements.\s(CVS\s879) -D 2003-03-20T01:16:58 -F Makefile.in 6606854b1512f185b8e8c779b8d7fc2750463d64 +C Added\spkg-config\ssupport.\s(CVS\s880) +D 2003-03-24T09:39:32 +F Makefile.in 6917c2149a586f11b47c428f2ba748eb1da04f69 F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd F VERSION e5b03976c56deafa24511d6ef17d64a28679e9bd @@ -8,7 +8,7 @@ F aclocal.m4 11faa843caa38fd451bc6aeb43e248d1723a269d F config.guess f38b1e93d1e0fa6f5a6913e9e7b12774b9232588 F config.sub f14b07d544ca26b5d698259045136b783e18fc7f F configure 9303d975dbd577fbe61e615045ddc02015b59fb5 x -F configure.ac 38e2e5594cab99eb3a753b0614fcc36f4ddbbb48 +F configure.ac 222ba4ebf74c05114a2b4922843ec57e3d41b7c8 F doc/lemon.html f0f682f50210928c07e562621c3b7e8ab912a538 F doc/report1.txt a031aaf37b185e4fa540223cb516d3bccec7eeac F install-sh 9d4de14ab9fb0facae2f48780b874848cbf2f895 @@ -18,6 +18,7 @@ F main.mk 8b10c5df8a21cdd343986a90c75247bafaebb3aa F publish.sh 86b5e8535830a2588f62ce1d5d1ef00e1dede23a F spec.template 238f7db425a78dc1bb7682e56e3834c7270a3f5e F sqlite.1 83f4a9d37bdf2b7ef079a82d54eaf2e3509ee6ea +F sqlite.pc.in 30552343140c53304c2a658c080fbe810cd09ca2 F src/auth.c f37bfc9451b8c1fa52f34adff474560018892729 F src/btree.c 327819bb858d534072f5004973f8bcdd50f133d6 F src/btree.h 8209bfadf5845d4fdaa60f471bb360f894cd4095 @@ -155,7 +156,7 @@ F www/speed.tcl cb4c10a722614aea76d2c51f32ee43400d5951be F www/sqlite.tcl ae3dcfb077e53833b59d4fcc94d8a12c50a44098 F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331 F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218 -P 875da9eed981bfa27b98e95025f9fdbed74b4098 -R 08491389f4b4be3f29552d1284957d26 -U drh -Z 9eb95d01444da0b85f74b43fda15e074 +P a5d8fc95ee58dc3205a0bbbcadaa3b9c902a941b +R a8fe95c2de5f541cf49bf9d25d653c41 +U a.rottmann +Z 04b1b20eb280020ef59c5860e69b752c diff --git a/manifest.uuid b/manifest.uuid index 446ef24f0..e242091c9 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -a5d8fc95ee58dc3205a0bbbcadaa3b9c902a941b
\ No newline at end of file +ec1c5a611307047dd0049353e989e75dcaffaa45
\ No newline at end of file diff --git a/sqlite.pc.in b/sqlite.pc.in new file mode 100644 index 000000000..16ed41c3d --- /dev/null +++ b/sqlite.pc.in @@ -0,0 +1,12 @@ +# Package Information for pkg-config + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: SQLite +Description: SQL database engine +Version: @VERSION@ +Libs: -L${libdir} -lsqlite +Cflags: -I${includedir} |