]> git.ipfire.org Git - thirdparty/collectd.git/commit
configure.ac: if neither UPSCONN{,_t} type was found, refuse to build NUT plugin
authorJim Klimov <jimklimov+nut@gmail.com>
Wed, 31 Aug 2022 13:32:46 +0000 (15:32 +0200)
committerMatthias Runge <mrunge@matthias-runge.de>
Thu, 8 Sep 2022 06:58:29 +0000 (08:58 +0200)
commitab5d14f93f4d0a5785e57e2a5c77275f5f65701c
tree165d7eeceb945bc69c15b80cae62fe705da19819
parentd409ffa2a64cac3fc2abe2bb86ec3a80cb34d0a6
configure.ac: if neither UPSCONN{,_t} type was found, refuse to build NUT plugin

NOTE: src/nut.c also has pragmas to error out in this situation,
but that handling is compiler-dependent and happens too late in
the checkout/configure/build loop.

Presumably this inability to find the type in the earlier-found header file
is also triggered by build environment "inconsistencies" like lack of basic
types in the libc implementation (maybe highlighting the need for additional
headers or macros for the platform).
configure.ac