From cb29a77c94f813bb6f11f3abebb06b3a2dc039a2 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 20 Jan 2012 12:59:30 +0530 Subject: [PATCH] Add a pkgconfig file for uninstalled builds 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 | 1 + json-uninstalled.pc.in | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 json-uninstalled.pc.in diff --git a/configure.in b/configure.in index b2c3cbe..8b3b19b 100644 --- a/configure.in +++ b/configure.in @@ -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 index 0000000..967f771 --- /dev/null +++ b/json-uninstalled.pc.in @@ -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@ -- 2.40.0