Hi,

On Mon, May 29, 2017 at 05:43:52PM +0200, David Sommerseth wrote:
> > 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.

On the BSDs (and Solaris) we can't assume pkg-config support.  So everything
that is not linux specific has to fall back to "just try and see if linking
works".

> Btw ... I also see we could utilize pkg-config for lz4 too (at least
> with lz4-1.7.3)

This happens to have a pkg-config entry on FreeBSD, but it's called
"liblz4.pc"... go figure :-)

(And I did not check the other ones)

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP 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

Reply via email to