Both util/clixon_util_stream.c and lib/src/clixon_stream.c depend on libcurl. The latter has `#ifdef CLIXON_PUBLISH_STREAMS` but the former does not. So `make util` fails without `--enable-publish` if libcurl is not installed. To preserve the original behavior (libcurl is an implicit dependency), this patch adds a `--without-libcurl` option to indicate this default. The check for libcurl and curl/curl.h is factored out as a separate check before checking for `--enable-publish`. If the two build options are in conflict we exit with a clear error code. Signed-off-by: Joachim Wiberg <troglobit@gmail.com> |
||
|---|---|---|
| .. | ||
| clixon_netconf_ssh_callhome.c | ||
| clixon_netconf_ssh_callhome_client.c | ||
| clixon_restconf_callhome_client.c | ||
| clixon_util_datastore.c | ||
| clixon_util_dispatcher.c | ||
| clixon_util_grpc.c | ||
| clixon_util_json.c | ||
| clixon_util_path.c | ||
| clixon_util_regexp.c | ||
| clixon_util_socket.c | ||
| clixon_util_ssl.c | ||
| clixon_util_stream.c | ||
| clixon_util_validate.c | ||
| clixon_util_xml.c | ||
| clixon_util_xml_mod.c | ||
| clixon_util_xpath.c | ||
| clixon_util_yang.c | ||
| Makefile.in | ||
| README.md | ||
Clixon utils
This directory contains Clixon utility programs, ie, programs that are good to have for testing, analysis, etc, but not an actual part of delivered code.
Look inside C-code for documentation
Note, streams utility may need: libcurl4-openssl-dev or corresponding.