|
|
|
@ -18201,18 +18201,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "X$find_json" = "Xyes"; then |
|
|
|
|
LIBJSON_HOME=/usr/local |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h"; then |
|
|
|
|
have_json_header="yes" |
|
|
|
|
else |
|
|
|
|
if test "X$find_json" = "Xyes"; then |
|
|
|
|
LIBJSON_HOME=/usr |
|
|
|
|
if test -f "$LIBJSON_HOME/include/json/json.h" -o -f "$LIBJSON_HOME/include/json-c/json.h"; then |
|
|
|
|
for p in /usr/local /usr ; do |
|
|
|
|
if test -f "${p}/include/json/json.h" -o -f "${p}/include/json-c/json.h"; then |
|
|
|
|
LIBJSON_HOME=$p |
|
|
|
|
have_json_header="yes" |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
done |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test "X$have_json_header" = "Xyes"; then |
|
|
|
@ -24711,17 +24705,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "X$find_curl" = "Xyes"; then |
|
|
|
|
LIBCURL_HOME=/usr/local |
|
|
|
|
fi |
|
|
|
|
if test -f "$LIBCURL_HOME/bin/curl-config"; then |
|
|
|
|
have_curl="yes" |
|
|
|
|
else |
|
|
|
|
if test "X$find_curl" = "Xyes"; then |
|
|
|
|
LIBCURL_HOME=/usr |
|
|
|
|
if test -f "$LIBCURL_HOME/bin/curl-config"; then |
|
|
|
|
have_curl="yes" |
|
|
|
|
for p in /usr/local /usr ; do |
|
|
|
|
if test -f "${p}/bin/curl-config"; then |
|
|
|
|
LIBCURL_HOME=$p |
|
|
|
|
have_curl="yes" |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
done |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test "X$have_curl" = "Xyes"; then |
|
|
|
|