OPT_FLAGS := -O2 -g -Wall
endif
+PKGCONFIG=$(shell pkg-config --version)
+ifeq ($(PKGCONFIG),)
+$(error "No pkg-config. Cannot continue");
+endif
+
# Allow people to override OpenSSL and build it statically, if they need
# a special build for the DTLS support. $(OPENSSL) points to the build
# dir; there's no need to install it anywhere (we link it statically).
Some distributions like Fedora have packages; otherwise you can
download it and type '<TT>make</TT>' to build it. To build it,
you'll want development packages for <TT>libxml2</TT>, <TT>zlib</TT>
- and obviously <TT>OpenSSL</TT> to be installed.
+ and obviously <TT>OpenSSL</TT> to be installed. You will also need
+ <tt>pkg-config</tt>.
</LI>
<LI>Install a <TT>vpnc-script</TT>.<BR>
This script is what sets up all the addresses and routes for you; it's the
<UL>
<LI><B>OpenConnect HEAD</B><BR>
<UL>
+ <LI>Be more explicit about requiring <TT>pkg-config</TT>.</LI>
<LI>Invoke script with <tt>reason=reconnect</tt> on CSTP reconnect.</LI>
<LI>Add <TT>--non-inter</TT> option to avoid all user input.</LI>
</UL><BR>
<H2>Requirements</H2>
The basic text-mode client uses the following libraries:
<UL>
+ <LI><B>pkg-config</B></LI>
<LI><B>OpenSSL</B> — ideally at least 0.9.8m, although all versions from 0.9.7 onwards will work for basic connectivity. See note on DTLS compatibility below.</LI>
<LI><B>libxml2</B></LI>
<LI><B>zlib</B></LI>
<hr>
<address>David Woodhouse <<A HREF="mailto:dwmw2@infradead.org">dwmw2@infradead.org</A>></address>
<!-- hhmts start -->
-Last modified: Sun May 29 09:23:23 BST 2011
+Last modified: Sun May 29 09:24:58 BST 2011
<!-- hhmts end -->
</body> </html>