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>
178 lines
4.5 KiB
C
178 lines
4.5 KiB
C
/* include/clixon_config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Location for apps to find default config file */
|
|
#undef CLIXON_DEFAULT_CONFIG
|
|
|
|
/* Enable publish of notification streams using SSE and curl */
|
|
#undef CLIXON_PUBLISH_STREAMS
|
|
|
|
/* Clixon major release */
|
|
#undef CLIXON_VERSION_MAJOR
|
|
|
|
/* Clixon minor release */
|
|
#undef CLIXON_VERSION_MINOR
|
|
|
|
/* Clixon path version */
|
|
#undef CLIXON_VERSION_PATCH
|
|
|
|
/* Clixon version string */
|
|
#undef CLIXON_VERSION_STRING
|
|
|
|
/* Enable YANG patch, RFC 8072 */
|
|
#undef CLIXON_YANG_PATCH
|
|
|
|
/* Enable YANG schema mount, RFC 8528 */
|
|
#undef CLIXON_YANG_SCHEMA_MOUNT
|
|
|
|
/* Define to 1 if you have the `alphasort' function. */
|
|
#undef HAVE_ALPHASORT
|
|
|
|
/* Define to 1 if you have the <cligen/cligen.h> header file. */
|
|
#undef HAVE_CLIGEN_CLIGEN_H
|
|
|
|
/* Define to 1 if you have the <curl/curl.h> header file. */
|
|
#undef HAVE_CURL_CURL_H
|
|
|
|
/* Define to 1 if you have the `getpeereid' function. */
|
|
#undef HAVE_GETPEEREID
|
|
|
|
/* Define to 1 if you have the `getresuid' function. */
|
|
#undef HAVE_GETRESUID
|
|
|
|
/* Set to true to enable Native HTTP/1 */
|
|
#undef HAVE_HTTP1
|
|
|
|
/* Define to 1 if you have the `inet_aton' function. */
|
|
#undef HAVE_INET_ATON
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the `cligen' library (-lcligen). */
|
|
#undef HAVE_LIBCLIGEN
|
|
|
|
/* Define to 1 if you have the `crypto' library (-lcrypto). */
|
|
#undef HAVE_LIBCRYPTO
|
|
|
|
/* Define to 1 if you have the `curl' library (-lcurl). */
|
|
#undef HAVE_LIBCURL
|
|
|
|
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
#undef HAVE_LIBDL
|
|
|
|
/* Define to 1 if you have the `fcgi' library (-lfcgi). */
|
|
#undef HAVE_LIBFCGI
|
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
#undef HAVE_LIBM
|
|
|
|
/* Define to 1 if you have the `netsnmp' library (-lnetsnmp). */
|
|
#undef HAVE_LIBNETSNMP
|
|
|
|
/* Define to 1 if you have the `netsnmpagent' library (-lnetsnmpagent). */
|
|
#undef HAVE_LIBNETSNMPAGENT
|
|
|
|
/* Define to 1 if you have the `nghttp2' library (-lnghttp2). */
|
|
#undef HAVE_LIBNGHTTP2
|
|
|
|
/* Define to 1 if you have the `socket' library (-lsocket). */
|
|
#undef HAVE_LIBSOCKET
|
|
|
|
/* Define to 1 if you have the `ssl' library (-lssl). */
|
|
#undef HAVE_LIBSSL
|
|
|
|
/* Define to 1 if you have the `xml2' library (-lxml2). */
|
|
#undef HAVE_LIBXML2
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
|
|
#undef HAVE_NET_SNMP_NET_SNMP_CONFIG_H
|
|
|
|
/* Define to 1 if you have the <nghttp2/nghttp2.h> header file. */
|
|
#undef HAVE_NGHTTP2_NGHTTP2_H
|
|
|
|
/* Define to 1 if you have the `setns' function. */
|
|
#undef HAVE_SETNS
|
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
#undef HAVE_SIGACTION
|
|
|
|
/* Define to 1 if you have the `sigvec' function. */
|
|
#undef HAVE_SIGVEC
|
|
|
|
/* Have getsockopt SO_PEERCRED */
|
|
#undef HAVE_SO_PEERCRED
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the `strlcpy' function. */
|
|
#undef HAVE_STRLCPY
|
|
|
|
/* Define to 1 if you have the `strndup' function. */
|
|
#undef HAVE_STRNDUP
|
|
|
|
/* Define to 1 if you have the `strsep' function. */
|
|
#undef HAVE_STRSEP
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if you have the `versionsort' function. */
|
|
#undef HAVE_VERSIONSORT
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* SSH binary */
|
|
#undef SSH_BIN
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Restconf package */
|
|
#undef WITH_RESTCONF
|
|
|
|
/* Use fcgi restconf mode */
|
|
#undef WITH_RESTCONF_FCGI
|
|
|
|
/* Use native restconf mode */
|
|
#undef WITH_RESTCONF_NATIVE
|
|
|
|
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
|
`char[]'. */
|
|
#undef YYTEXT_POINTER
|
|
|
|
#include <clixon_custom.h>
|