|
|
27025e |
From cb6d2019766a6c8c5516fd8859cedf0052f03293 Mon Sep 17 00:00:00 2001
|
|
|
27025e |
From: Petr Mensik <pemensik@redhat.com>
|
|
|
27025e |
Date: Thu, 25 Jul 2019 11:37:57 +0200
|
|
|
27025e |
Subject: [PATCH] Skip support of jsoncpp
|
|
|
27025e |
|
|
|
27025e |
Bind cannot be compiled when jsoncpp-devel is installed. Remove support
|
|
|
27025e |
for jsoncpp, use only json-c-devel. Bind 9.15 has already support for
|
|
|
27025e |
--with-json-c, do not yet introduce it.
|
|
|
27025e |
---
|
|
|
27025e |
configure.ac | 17 ++---------------
|
|
|
27025e |
1 file changed, 2 insertions(+), 15 deletions(-)
|
|
|
27025e |
|
|
|
27025e |
diff --git a/configure.ac b/configure.ac
|
|
|
27025e |
index 6d05337..5ce83b5 100644
|
|
|
27025e |
--- a/configure.ac
|
|
|
27025e |
+++ b/configure.ac
|
|
|
27025e |
@@ -2594,15 +2594,7 @@ case "$use_libjson" in
|
|
|
27025e |
auto|yes)
|
|
|
27025e |
for d in /usr /usr/local /opt/local
|
|
|
27025e |
do
|
|
|
27025e |
- if test -f "${d}/include/json/json.h"
|
|
|
27025e |
- then
|
|
|
27025e |
- if test ${d} != /usr
|
|
|
27025e |
- then
|
|
|
27025e |
- libjson_cflags="-I ${d}/include"
|
|
|
27025e |
- LIBS="$LIBS -L${d}/lib"
|
|
|
27025e |
- fi
|
|
|
27025e |
- have_libjson="yes"
|
|
|
27025e |
- elif test -f "${d}/include/json-c/json.h"
|
|
|
27025e |
+ if test -f "${d}/include/json-c/json.h"
|
|
|
27025e |
then
|
|
|
27025e |
if test ${d} != /usr
|
|
|
27025e |
then
|
|
|
27025e |
@@ -2615,12 +2607,7 @@ case "$use_libjson" in
|
|
|
27025e |
done
|
|
|
27025e |
;;
|
|
|
27025e |
*)
|
|
|
27025e |
- if test -f "${use_libjson}/include/json/json.h"
|
|
|
27025e |
- then
|
|
|
27025e |
- libjson_cflags="-I${use_libjson}/include"
|
|
|
27025e |
- LIBS="$LIBS -L${use_libjson}/lib"
|
|
|
27025e |
- have_libjson="yes"
|
|
|
27025e |
- elif test -f "${use_libjson}/include/json-c/json.h"
|
|
|
27025e |
+ if test -f "${use_libjson}/include/json-c/json.h"
|
|
|
27025e |
then
|
|
|
27025e |
libjson_cflags="-I${use_libjson}/include"
|
|
|
27025e |
LIBS="$LIBS -L${use_libjson}/lib"
|
|
|
27025e |
--
|
|
|
27025e |
2.20.1
|
|
|
27025e |
|