if test "x$ac_cv_lib_json_json_tokener_new" != "xyes"; then
have_json="no"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: json-c libraries not found. Use --with-jsonc-lib-dir=<path>." >&5
+$as_echo "$as_me: WARNING: json-c libraries not found. Use --with-jsonc-lib-dir=<path>." >&2;}
fi
fi
$as_echo "$as_me: WARNING: libcouchbase libraries not found. Use --with-libcouchbase-lib-dir=<path>." >&2;}
fi
- if test "x$have_couchbase" != "xyes"; then
- fail="$fail json-c"
- fi
-
- if test "x$have_couchbase" = "xno"; then
+ if test x"$have_couchbase" != x"yes"; then
fail="$fail libcouchbase"
fi
FR_SMART_CHECK_LIB([json], [json_tokener_new])
if test "x$ac_cv_lib_json_json_tokener_new" != "xyes"; then
have_json="no"
+ AC_MSG_WARN([json-c libraries not found. Use --with-jsonc-lib-dir=<path>.])
fi
fi
AC_MSG_WARN([libcouchbase libraries not found. Use --with-libcouchbase-lib-dir=<path>.])
fi
- if test "x$have_couchbase" != "xyes"; then
- fail="$fail json-c"
- fi
-
- if test "x$have_couchbase" = "xno"; then
+ if test x"$have_couchbase" != x"yes"; then
fail="$fail libcouchbase"
fi