]> granicus.if.org Git - json-c/commitdiff
Add a pkgconfig file for uninstalled builds
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 20 Jan 2012 07:29:30 +0000 (12:59 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 26 Apr 2012 07:48:33 +0000 (13:18 +0530)
This allows systems certain types of build setups to work. Specifically, this
will help when building on Android and using json-c as a dependency for another
package.

configure.in
json-uninstalled.pc.in [new file with mode: 0644]

index b2c3cbee026ae2400a6c5ede39e27b32457cd6c3..8b3b19bc71336bfa83c20eac413bf2f72b2d40f4 100644 (file)
@@ -35,6 +35,7 @@ AC_CONFIG_FILES([
 Makefile
 json.pc
 tests/Makefile
+json-uninstalled.pc
 ])
 
 AC_OUTPUT
diff --git a/json-uninstalled.pc.in b/json-uninstalled.pc.in
new file mode 100644 (file)
index 0000000..967f771
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=
+exec_prefix=
+libdir=@abs_top_builddir@
+includedir=@abs_top_srcdir@
+
+Name: json
+Description: JSON implementation in C
+Version: @VERSION@
+Requires:
+Libs:  -L@abs_top_builddir@ -ljson
+Cflags: -I@abs_top_srcdir@