Merge branch '1.1'
authorPetri Lehtinen <petri@digip.org>
Sun, 17 Jan 2010 11:57:20 +0000 (13:57 +0200)
committerPetri Lehtinen <petri@digip.org>
Sun, 17 Jan 2010 11:57:20 +0000 (13:57 +0200)
Conflicts:
Makefile.am

.gitignore
Makefile.am
configure.ac
jansson.pc.in [new file with mode: 0644]

index a2baa14..4c4115c 100644 (file)
@@ -22,3 +22,4 @@ missing
 *.la
 stamp-h1
 *.pyc
+*.pc
index 185eaab..a141cd5 100644 (file)
@@ -2,3 +2,6 @@ EXTRA_DIST = CHANGES LICENSE README.rst
 SUBDIRS = doc src test
 
 check-local: html
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = jansson.pc
index d28a5e4..917c04a 100644 (file)
@@ -19,6 +19,7 @@ AC_PROG_LIBTOOL
 # Checks for library functions.
 
 AC_CONFIG_FILES([
+        jansson.pc
         Makefile
         doc/Makefile
         src/Makefile
diff --git a/jansson.pc.in b/jansson.pc.in
new file mode 100644 (file)
index 0000000..d9bf4da
--- /dev/null
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=${prefix}/include
+
+Name: Jansson
+Description: Library for encoding, decoding and manipulating JSON data
+Version: @VERSION@
+Libs: -L${libdir} -ljansson
+Cflags: -I${includedir}