Browse Source

Re-add the "json" pkg-config file as a compatibility shim.

Also rename the json-c-uninstalled.pc file.
tags/json-c-0.11-20130402
Eric Haszlakiewicz 13 years ago
parent
commit
1f9d199522
5 changed files with 18 additions and 2 deletions
  1. +2
    -1
      .gitignore
  2. +3
    -0
      Makefile.am
  3. +2
    -1
      configure.in
  4. +0
    -0
      json-c-uninstalled.pc.in
  5. +11
    -0
      json.pc.in

+ 2
- 1
.gitignore View File

@@ -11,8 +11,9 @@
/configure
/depcomp
/install-sh
/json.pc
/json-c.pc
/json-uninstalled.pc
/json-c-uninstalled.pc
/libtool
/ltmain.sh
/Makefile


+ 3
- 0
Makefile.am View File

@@ -10,6 +10,9 @@ endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = json-c.pc
if ENABLE_OLDNAME_COMPAT
pkgconfig_DATA += json.pc
endif

libjson_cincludedir = $(includedir)/json-c
libjson_cinclude_HEADERS = \


+ 2
- 1
configure.in View File

@@ -41,9 +41,10 @@ AM_PROG_LIBTOOL

AC_CONFIG_FILES([
Makefile
json.pc
json-c.pc
tests/Makefile
json-uninstalled.pc
json-c-uninstalled.pc
])

AC_OUTPUT


json-uninstalled.pc.in → json-c-uninstalled.pc.in View File


+ 11
- 0
json.pc.in View File

@@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: json-c
Description: JSON implementation in C, compat shim. Use json-c instead.
Version: @VERSION@
Requires: json-c
Libs:
Cflags:

Loading…
Cancel
Save