]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Added pkg-config support. (CVS 880)
authora.rottmann <a.rottmann@noemail.net>
Mon, 24 Mar 2003 09:39:32 +0000 (09:39 +0000)
committera.rottmann <a.rottmann@noemail.net>
Mon, 24 Mar 2003 09:39:32 +0000 (09:39 +0000)
FossilOrigin-Name: ec1c5a611307047dd0049353e989e75dcaffaa45

Makefile.in
configure.ac
manifest
manifest.uuid
sqlite.pc.in [new file with mode: 0644]

index c05220bc3716784d8274efee75ee1b8f60534da4..bff52564e0e75e891c09001b38ed79af65ac0547 100644 (file)
@@ -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.*
index a2897c5f5a25a6de3d71c80cba998ab12a77f841..eb7aa88bc80128d5bd8d141f4d8499cf0af24078 100644 (file)
@@ -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
+])
index 29ccadec49bc0aef52f31642bed9f32d3d87ff26..2417b0f24061ca1853f0695fa781bec73001dce7 100644 (file)
--- a/manifest
+++ b/manifest
@@ -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
index 446ef24f08ad0361bd74e04b9b0ef21d44cba061..e242091c9d6959d55ed1a536b3736a340fd82b06 100644 (file)
@@ -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 (file)
index 0000000..16ed41c
--- /dev/null
@@ -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}