poke: add optional json-c dependency

From [1]:
"The poke machine-interface uses a protocol to communicate with
clients, which is based on JSON.  poke uses the json-c library to
parse and build JSON strings.
If this library is not found, poke will build without machine-interface
support."

[1] https://git.savannah.nongnu.org/cgit/poke.git/tree/DEPENDENCIES?h=releases/poke-1.2#n55

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Romain Naour
2021-05-06 01:05:45 +02:00
committed by Khem Raj
parent e17e159d93
commit a0f8491b49
+2 -1
View File
@@ -24,8 +24,9 @@ acpaths = "-I ./m4"
EXTRA_OECONF = "--disable-gui \
--disable-libnbd \
--disable-mi \
--with-libreadline-prefix=${STAGING_INCDIR} \
"
PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c"
FILES_${PN} += "${datadir}/emacs/site-lisp"