On 29/05/17 16:50, Gert Doering wrote: > Hi, > > On Mon, May 29, 2017 at 02:01:14PM +0100, debbie10t wrote: >> FYI: >> pkg-config was only required for --enable-systemd >> Running './configure' only did not need pkg-config. >> I don't know if it is required for any other options. > > pkg-config is used for OpenSSL checking, but if it's not there, we fall > back to "just see if it works" - because the BSDs do not (all) have > pkg-config files for openssl. > > As systemd is linux specific (today), and linux has pkg-config, it needs > to be there... > > Maybe our configure should point this out more clearly, that is, if > "--enable-systemd" is given and pkg-config cannot be found, complain > about lack of *pkg-config*...
Actually, pkcs11-helper and p11-kit checks also depends on pkg-config ... the systemd pkg-config calls just happens to be run first to bail out if it can't figure out the systemd details. It seems pkg-config first called on pkcs11-helper, then openssl - both which considers "failure" as non-critical. If it is only the openssl.pc missing on some *BSD distros, then I think we can have pkg-config being a requirement which is checked for as early as possible. Otherwise, we'll need to check for pkg-config if pkcs11-helper, p11-kit or systemd is enabled. And for each new dependency with pkg-config support. Btw ... I also see we could utilize pkg-config for lz4 too (at least with lz4-1.7.3) -- kind regards, David Sommerseth OpenVPN Technologies, Inc
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel