]> git.ipfire.org Git - thirdparty/strongswan.git/blame - configure.in
_copyright: Replicate copyright text here instead of calling libfreeswan.
[thirdparty/strongswan.git] / configure.in
CommitLineData
f2c2d395
MW
1dnl configure.in for linux strongSwan
2dnl Copyright (C) 2006 Martin Willi
3dnl Hochschule fuer Technik Rapperswil
8b3b4a24 4dnl
f2c2d395
MW
5dnl This program is free software; you can redistribute it and/or modify it
6dnl under the terms of the GNU General Public License as published by the
7dnl Free Software Foundation; either version 2 of the License, or (at your
8dnl option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
8b3b4a24 9dnl
f2c2d395
MW
10dnl This program is distributed in the hope that it will be useful, but
11dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13dnl for more details.
14
15dnl ===========================
16dnl initialize & set some vars
17dnl ===========================
18
1527307e 19AC_INIT(strongSwan,5.0.0rc1)
5e5f0bd4 20AM_INIT_AUTOMAKE(tar-ustar)
e455ae13 21AC_CONFIG_MACRO_DIR([m4/config])
a47486b5 22PKG_PROG_PKG_CONFIG
f2c2d395 23
db26d00e
MW
24dnl =================================
25dnl check --enable-xxx & --with-xxx
26dnl =================================
27
b7b56533
MW
28m4_include(m4/macros/with.m4)
29
30ARG_WITH_SUBST([default-pkcs11], [/usr/lib/opensc-pkcs11.so], [set the default PKCS11 library])
31ARG_WITH_SUBST([random-device], [/dev/random], [set the device to read real random data from])
32ARG_WITH_SUBST([urandom-device], [/dev/urandom], [set the device to read pseudo random data from])
33ARG_WITH_SUBST([strongswan-conf], [${sysconfdir}/strongswan.conf], [set the strongswan.conf file location])
34ARG_WITH_SUBST([resolv-conf], [${sysconfdir}/resolv.conf], [set the file to use in DNS handler plugin])
35ARG_WITH_SUBST([piddir], [/var/run], [set path for PID and UNIX socket files])
36ARG_WITH_SUBST([ipsecdir], [${libexecdir%/}/ipsec], [set installation path for ipsec tools])
60d62b9e
TB
37ARG_WITH_SUBST([ipseclibdir], [${libdir%/}/ipsec], [set installation path for ipsec libraries])
38ARG_WITH_SUBST([plugindir], [${ipseclibdir%/}/plugins], [set the installation path of plugins])
19db8e9e 39ARG_WITH_SUBST([imcvdir], [${ipseclibdir%/}/imcvs], [set the installation path of IMC and IMV dynamic librariers])
b64f3336 40ARG_WITH_SUBST([nm-ca-dir], [/usr/share/ca-certificates], [directory the NM backend uses to look up trusted root certificates])
b7b56533
MW
41ARG_WITH_SUBST([linux-headers], [\${top_srcdir}/src/include], [set directory of linux header files to use])
42ARG_WITH_SUBST([routing-table], [220], [set routing table to use for IPsec routes])
43ARG_WITH_SUBST([routing-table-prio], [220], [set priority for IPsec routing table])
44
946be4d3 45ARG_WITH_SET([capabilities], [no], [set capability dropping library. Currently supported values are "libcap" and "native"])
3e35a6e7 46ARG_WITH_SET([mpz_powm_sec], [yes], [use the more side-channel resistant mpz_powm_sec in libgmp, if available])
db26d00e 47
fc16b361
MV
48if test -n "$PKG_CONFIG"; then
49 systemdsystemunitdir_default=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
50fi
51ARG_WITH_SET([systemdsystemunitdir], [$systemdsystemunitdir_default], [directory for systemd service files])
52AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno])
53AC_SUBST(systemdsystemunitdir)
54
195307b5 55AC_ARG_WITH(
6b9290ff
MW
56 [xauth-module],
57 AS_HELP_STRING([--with-xauth-module=lib],[set the path to the XAUTH module]),
58 [AC_DEFINE_UNQUOTED(XAUTH_DEFAULT_LIB, "$withval")],
195307b5
AS
59)
60
25b12c69
MW
61AC_ARG_WITH(
62 [user],
c7e0f07c 63 AS_HELP_STRING([--with-user=user],[change user of the daemons to "user" after startup (default is "root").]),
25b12c69
MW
64 [AC_DEFINE_UNQUOTED(IPSEC_USER, "$withval") AC_SUBST(ipsecuser, "$withval")],
65 [AC_SUBST(ipsecuser, "root")]
66)
67
68AC_ARG_WITH(
69 [group],
c7e0f07c 70 AS_HELP_STRING([--with-group=group],[change group of the daemons to "group" after startup (default is "root").]),
25b12c69
MW
71 [AC_DEFINE_UNQUOTED(IPSEC_GROUP, "$withval") AC_SUBST(ipsecgroup, "$withval")],
72 [AC_SUBST(ipsecgroup, "root")]
6874bf69
MW
73)
74
b803bc82
MW
75m4_include(m4/macros/enable-disable.m4)
76
77ARG_ENABL_SET([curl], [enable CURL fetcher plugin to fetch files via libcurl. Requires libcurl.])
2ca52c80 78ARG_ENABL_SET([soup], [enable soup fetcher plugin to fetch from HTTP via libsoup. Requires libsoup.])
b803bc82
MW
79ARG_ENABL_SET([ldap], [enable LDAP fetching plugin to fetch files via libldap. Requires openLDAP.])
80ARG_DISBL_SET([aes], [disable AES software implementation plugin.])
81ARG_DISBL_SET([des], [disable DES/3DES software implementation plugin.])
82ARG_ENABL_SET([blowfish], [enable Blowfish software implementation plugin.])
83ARG_ENABL_SET([md4], [enable MD4 software implementation plugin.])
84ARG_DISBL_SET([md5], [disable MD5 software implementation plugin.])
85ARG_DISBL_SET([sha1], [disable SHA1 software implementation plugin.])
86ARG_DISBL_SET([sha2], [disable SHA256/SHA384/SHA512 software implementation plugin.])
87ARG_DISBL_SET([fips-prf], [disable FIPS PRF software implementation plugin.])
88ARG_DISBL_SET([gmp], [disable GNU MP (libgmp) based crypto implementation plugin.])
89ARG_DISBL_SET([random], [disable RNG implementation on top of /dev/(u)random.])
04024b5d 90ARG_DISBL_SET([nonce], [disable nonce generation plugin.])
b803bc82 91ARG_DISBL_SET([x509], [disable X509 certificate implementation plugin.])
c2e5cee4 92ARG_DISBL_SET([revocation], [disable X509 CRL/OCSP revocation check plugin.])
01d30381 93ARG_DISBL_SET([constraints], [disable advanced X509 constraint checking plugin.])
b803bc82
MW
94ARG_DISBL_SET([pubkey], [disable RAW public key support plugin.])
95ARG_DISBL_SET([pkcs1], [disable PKCS1 key decoding plugin.])
5ec525c1 96ARG_DISBL_SET([pkcs8], [disable PKCS8 private key decoding plugin.])
b803bc82
MW
97ARG_DISBL_SET([pgp], [disable PGP key decoding plugin.])
98ARG_DISBL_SET([dnskey], [disable DNS RR key decoding plugin.])
99ARG_DISBL_SET([pem], [disable PEM decoding plugin.])
100ARG_DISBL_SET([hmac], [disable HMAC crypto implementation plugin.])
c0d39c20 101ARG_DISBL_SET([cmac], [disable CMAC crypto implementation plugin.])
b803bc82 102ARG_DISBL_SET([xcbc], [disable xcbc crypto implementation plugin.])
71c87e34 103ARG_ENABL_SET([af-alg], [enable AF_ALG crypto interface to Linux Crypto API.])
b803bc82
MW
104ARG_ENABL_SET([test-vectors], [enable plugin providing crypto test vectors.])
105ARG_ENABL_SET([mysql], [enable MySQL database support. Requires libmysqlclient_r.])
106ARG_ENABL_SET([sqlite], [enable SQLite database support. Requires libsqlite3.])
107ARG_DISBL_SET([stroke], [disable charons stroke (pluto compatibility) configuration backend.])
108ARG_ENABL_SET([medsrv], [enable mediation server web frontend and daemon plugin.])
109ARG_ENABL_SET([medcli], [enable mediation client configuration database plugin.])
110ARG_ENABL_SET([smp], [enable SMP configuration and control interface. Requires libxml.])
111ARG_ENABL_SET([sql], [enable SQL database configuration backend.])
112ARG_ENABL_SET([smartcard], [enable smartcard support.])
113ARG_ENABL_SET([cisco-quirks], [enable support of Cisco VPN client.])
114ARG_ENABL_SET([leak-detective], [enable malloc hooks to find memory leaks.])
115ARG_ENABL_SET([lock-profiler], [enable lock/mutex profiling code.])
61706107 116ARG_ENABL_SET([unit-tester], [enable unit tests on IKEv2 daemon startup.])
b76b867c 117ARG_ENABL_SET([load-tester], [enable load testing plugin for IKEv2 daemon.])
68eb610d 118ARG_ENABL_SET([eap-sim], [enable SIM authentication module for EAP.])
b803bc82 119ARG_ENABL_SET([eap-sim-file], [enable EAP-SIM backend based on a triplet file.])
80dca77a 120ARG_ENABL_SET([eap-sim-pcsc], [enable EAP-SIM backend based on a smartcard reader. Requires libpcsclite.])
39468219
MW
121ARG_ENABL_SET([eap-aka], [enable EAP AKA authentication module.])
122ARG_ENABL_SET([eap-aka-3gpp2], [enable EAP AKA backend implementing 3GPP2 algorithms in software. Requires libgmp.])
d2c35874 123ARG_ENABL_SET([eap-simaka-sql], [enable EAP-SIM/AKA backend based on a triplet/quintuplet SQL database.])
edcb2dd3
MW
124ARG_ENABL_SET([eap-simaka-pseudonym], [enable EAP-SIM/AKA pseudonym storage plugin.])
125ARG_ENABL_SET([eap-simaka-reauth], [enable EAP-SIM/AKA reauthentication data storage plugin.])
b803bc82 126ARG_ENABL_SET([eap-identity], [enable EAP module providing EAP-Identity helper.])
68eb610d
AS
127ARG_ENABL_SET([eap-md5], [enable EAP MD5 (CHAP) authentication module.])
128ARG_ENABL_SET([eap-gtc], [enable PAM based EAP GTC authentication module.])
68eb610d
AS
129ARG_ENABL_SET([eap-mschapv2], [enable EAP MS-CHAPv2 authentication module.])
130ARG_ENABL_SET([eap-tls], [enable EAP TLS authentication module.])
131ARG_ENABL_SET([eap-ttls], [enable EAP TTLS authentication module.])
1be296df 132ARG_ENABL_SET([eap-peap], [enable EAP PEAP authentication module.])
d93e2e54 133ARG_ENABL_SET([eap-tnc], [enable EAP TNC trusted network connect module.])
68eb610d 134ARG_ENABL_SET([eap-radius], [enable RADIUS proxy authentication module.])
3d44d735 135ARG_ENABL_SET([xauth-generic], [enable generic XAuth backend.])
85fc1eb6 136ARG_ENABL_SET([xauth-eap], [enable XAuth backend using EAP methods to verify passwords.])
c77af768 137ARG_ENABL_SET([tnc-ifmap], [enable TNC IF-MAP module.])
70fd2d1a 138ARG_ENABL_SET([tnc-pdp], [enable TNC policy decision point module.])
8dcc56dc
AS
139ARG_ENABL_SET([tnc-imc], [enable TNC IMC module.])
140ARG_ENABL_SET([tnc-imv], [enable TNC IMV module.])
4e8e74fc 141ARG_ENABL_SET([tnccs-11], [enable TNCCS 1.1 protocol module.])
6d0e9cf0 142ARG_ENABL_SET([tnccs-20], [enable TNCCS 2.0 protocol module.])
f652995b 143ARG_ENABL_SET([tnccs-dynamic], [enable dynamic TNCCS protocol discovery module.])
510f37ab
AS
144ARG_ENABL_SET([imc-test], [enable IMC test module.])
145ARG_ENABL_SET([imv-test], [enable IMV test module.])
d9cdab92
AS
146ARG_ENABL_SET([imc-scanner], [enable IMC port scanner module.])
147ARG_ENABL_SET([imv-scanner], [enable IMV port scanner module.])
4a492a8d
AS
148ARG_ENABL_SET([imc-attestation],[enable IMC attestation module.])
149ARG_ENABL_SET([imv-attestation],[enable IMV attestation module.])
b803bc82
MW
150ARG_DISBL_SET([kernel-netlink], [disable the netlink kernel interface.])
151ARG_ENABL_SET([kernel-pfkey], [enable the PF_KEY kernel interface.])
152ARG_ENABL_SET([kernel-pfroute], [enable the PF_ROUTE kernel interface.])
153ARG_ENABL_SET([kernel-klips], [enable the KLIPS kernel interface.])
dab05604
MW
154ARG_DISBL_SET([socket-default], [disable default socket implementation for charon.])
155ARG_ENABL_SET([socket-raw], [enable raw socket implementation of charon, enforced if pluto is enabled])
9ed1bb48 156ARG_ENABL_SET([socket-dynamic], [enable dynamic socket implementation for charon])
0d7b48a3 157ARG_ENABL_SET([farp], [enable ARP faking plugin that responds to ARP requests to peers virtual IP])
b803bc82
MW
158ARG_ENABL_SET([nat-transport], [enable NAT traversal with IPsec transport mode in pluto.])
159ARG_DISBL_SET([vendor-id], [disable the sending of the strongSwan vendor ID in pluto.])
160ARG_DISBL_SET([xauth-vid], [disable the sending of the XAUTH vendor ID.])
161ARG_ENABL_SET([dumm], [enable the DUMM UML test framework.])
162ARG_ENABL_SET([fast], [enable libfast (FastCGI Application Server w/ templates.])
163ARG_ENABL_SET([manager], [enable web management console (proof of concept).])
164ARG_ENABL_SET([mediation], [enable IKEv2 Mediation Extension.])
165ARG_ENABL_SET([integrity-test], [enable integrity testing of libstrongswan and plugins.])
3de510ca 166ARG_DISBL_SET([load-warning], [disable the charon/pluto plugin load option warning in starter.])
ccdd3a4c
TB
167ARG_ENABL_SET([pluto], [enable the IKEv1 keying daemon pluto.])
168ARG_DISBL_SET([ikev1], [disable IKEv1 protocol support in charon.])
e51a28fd 169ARG_DISBL_SET([ikev2], [disable IKEv2 protocol support in charon.])
26ec52a4 170ARG_DISBL_SET([xauth], [disable xauth plugin.])
b803bc82 171ARG_DISBL_SET([threads], [disable the use of threads in pluto. Charon always uses threads.])
d52c3779 172ARG_DISBL_SET([adns], [disable the use of adns in pluto (disables opportunistic encryption).])
e51a28fd 173ARG_DISBL_SET([charon], [disable the IKEv1/IKEv2 keying daemon charon.])
b803bc82
MW
174ARG_DISBL_SET([tools], [disable additional utilities (openac, scepclient and pki).])
175ARG_DISBL_SET([scripts], [disable additional utilities (found in directory scripts).])
e78ec86d 176ARG_ENABL_SET([conftest], [enforce Suite B conformance test framework.])
b803bc82
MW
177ARG_DISBL_SET([updown], [disable updown firewall script plugin.])
178ARG_DISBL_SET([attr], [disable strongswan.conf based configuration attribute plugin.])
24779482 179ARG_ENABL_SET([attr-sql], [enable SQL based configuration attribute plugin.])
beaa048e 180ARG_ENABL_SET([dhcp], [enable DHCP based attribute provider plugin.])
4819ec6a 181ARG_DISBL_SET([resolve], [disable resolve DNS handler plugin.])
b803bc82
MW
182ARG_ENABL_SET([padlock], [enables VIA Padlock crypto plugin.])
183ARG_ENABL_SET([openssl], [enables the OpenSSL crypto plugin.])
184ARG_ENABL_SET([gcrypt], [enables the libgcrypt plugin.])
185ARG_ENABL_SET([agent], [enables the ssh-agent signing plugin.])
6e862e21 186ARG_ENABL_SET([pkcs11], [enables the PKCS11 token support plugin.])
272f0e1a 187ARG_ENABL_SET([ctr], [enables the Counter Mode wrapper crypto plugin.])
80a93a13 188ARG_ENABL_SET([ccm], [enables the CCM AEAD wrapper crypto plugin.])
1a649810 189ARG_ENABL_SET([gcm], [enables the GCM AEAD wrapper crypto plugin.])
5f9e62c5 190ARG_ENABL_SET([addrblock], [enables RFC 3779 address block constraint support.])
b803bc82 191ARG_ENABL_SET([uci], [enable OpenWRT UCI configuration plugin.])
55699f03 192ARG_ENABL_SET([android], [enable Android specific plugin.])
f79161e8 193ARG_ENABL_SET([maemo], [enable Maemo specific plugin.])
1c7a733e 194ARG_ENABL_SET([nm], [enable NetworkManager backend.])
e67f5136 195ARG_ENABL_SET([ha], [enable high availability cluster plugin.])
5e603aba 196ARG_ENABL_SET([whitelist], [enable peer identity whitelisting plugin.])
ba2201ed 197ARG_ENABL_SET([certexpire], [enable CSV export of expiration dates of used certificates.])
30cd31fb 198ARG_ENABL_SET([led], [enable plugin to control LEDs on IKEv2 activity using the Linux kernel LED subsystem.])
3e74ebbe 199ARG_ENABL_SET([duplicheck], [advanced duplicate checking plugin using liveness checks.])
007c4708 200ARG_ENABL_SET([coupling], [enable IKEv2 plugin to couple peer certificates permanently to authentication.])
caf4b88e 201ARG_ENABL_SET([radattr], [enable plugin to inject and process custom RADIUS attributes as IKEv2 client.])
b803bc82 202ARG_ENABL_SET([vstr], [enforce using the Vstr string library to replace glibc-like printf hooks.])
3372ad14 203ARG_ENABL_SET([monolithic], [build monolithic version of libstrongswan that includes all enabled plugins. Similarly, the plugins of charon are assembled in libcharon.])
bf45d6dd 204
be0a03be
MW
205dnl =========================
206dnl set up compiler and flags
207dnl =========================
208
209if test -z "$CFLAGS"; then
8ed3c9fb 210 CFLAGS="-g -O2 -Wall -Wno-format -Wno-pointer-sign"
be0a03be
MW
211fi
212AC_PROG_CC
f5410905 213AC_LIB_PREFIX
be0a03be
MW
214AC_C_BIGENDIAN
215
f2c2d395
MW
216dnl =========================
217dnl check required programs
218dnl =========================
219
220AC_PROG_INSTALL
221AC_PROG_LIBTOOL
7d2b06da 222AC_PROG_EGREP
69fc7820 223AC_PROG_AWK
f2c2d395
MW
224AC_PROG_LEX
225AC_PROG_YACC
298b06c2 226AC_PATH_PROG([PERL], [perl], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
69fc7820
TB
227AC_PATH_PROG([GPERF], [gperf], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
228
229dnl because gperf is not needed by end-users we just report it but do not abort on failure
230AC_MSG_CHECKING([gperf version >= 3.0.0])
231if test -x "$GPERF"; then
232 if test "`$GPERF --version | $AWK -F' ' '/^GNU gperf/ { print $3 }' | $AWK -F. '{ print $1 }'`" -ge "3"; then
233 AC_MSG_RESULT([yes])
234 else
235 AC_MSG_RESULT([no])
236 fi
237else
238 AC_MSG_RESULT([not found])
239fi
f2c2d395 240
6b9290ff
MW
241dnl =========================
242dnl dependency calculation
243dnl =========================
f2c2d395 244
47208157 245if test x$eap_aka_3gpp2 = xtrue; then
a998276a 246 gmp=true;
47208157
MW
247fi
248
249if test x$eap_aka = xtrue; then
a998276a 250 fips_prf=true;
f8330d03 251 simaka=true;
a998276a
MW
252fi
253
254if test x$eap_sim = xtrue; then
255 fips_prf=true;
f8330d03 256 simaka=true;
a998276a
MW
257fi
258
1be296df 259if test x$eap_tls = xtrue -o x$eap_ttls = xtrue -o x$eap_peap = xtrue; then
0f82a470
MW
260 tls=true;
261fi
262
21b0f216 263if test x$eap_radius = xtrue -o x$radattr = xtrue -o x$tnc_pdp = xtrue; then
f0f94e2c
MW
264 radius=true;
265fi
266
f3d6b9c8 267if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
b08505da 268 tnc_tnccs=true;
f0fa002f
AS
269fi
270
0e94ae12 271if test x$imc_test = xtrue -o x$imv_test = xtrue -o x$imc_scanner = xtrue -o x$imv_scanner = xtrue -o x$imc_attestation = xtrue -o x$imv_attestation = xtrue; then
510f37ab
AS
272 imcv=true;
273fi
274
3ed943c3
AS
275if test x$imc_attestation = xtrue -o x$imv_attestation = xtrue; then
276 pts=true;
277fi
278
a998276a 279if test x$fips_prf = xtrue; then
40f130da
MW
280 if test x$openssl = xfalse; then
281 sha1=true;
282 fi
a998276a
MW
283fi
284
234955d1 285if test x$smp = xtrue -o x$tnccs_11 = xtrue; then
6b9290ff
MW
286 xml=true
287fi
288
c77af768
AS
289if test x$tnc_ifmap = xtrue; then
290 axis2c=true
291fi
292
6b9290ff
MW
293if test x$manager = xtrue; then
294 fast=true
295fi
296
782db7ed 297if test x$medsrv = xtrue; then
a7f79ee9 298 mediation=true
9529fb68 299 fast=true
782db7ed
MW
300fi
301
302if test x$medcli = xtrue; then
a7f79ee9 303 mediation=true
782db7ed
MW
304fi
305
dab05604
MW
306if test x$pluto = xtrue; then
307 if test x$socket_raw = xfalse; then
9ed1bb48 308 AC_MSG_NOTICE([Enforcing --enable-socket-raw, as pluto is enabled])
dab05604 309 socket_raw=true
0fa7d1ab
MW
310 if test x$socket_default_given = xfalse; then
311 socket_default=false
312 fi
dab05604
MW
313 fi
314fi
315
a9f56adb 316dnl ===========================================
6b9290ff 317dnl check required libraries and header files
a9f56adb
TB
318dnl ===========================================
319
320AC_HEADER_STDBOOL
8b6a5ce5 321AC_FUNC_ALLOCA
6b9290ff 322
3974b2fb
TB
323dnl libraries needed on some platforms but not on others
324dnl ====================================================
ea7e89c7 325saved_LIBS=$LIBS
3974b2fb 326
26965b4e 327dnl FreeBSD and Mac OS X have dlopen integrated in libc, Linux needs libdl
ea7e89c7
TB
328LIBS=""
329AC_SEARCH_LIBS(dlopen, dl, [DLLIB=$LIBS])
ea7e89c7
TB
330AC_SUBST(DLLIB)
331
3974b2fb
TB
332dnl glibc's backtrace() can be replicated on FreeBSD with libexecinfo
333LIBS=""
334AC_SEARCH_LIBS(backtrace, execinfo, [BTLIB=$LIBS])
335AC_CHECK_FUNCS(backtrace)
336AC_SUBST(BTLIB)
337
26965b4e
TB
338dnl OpenSolaris needs libsocket and libnsl for socket()
339LIBS=""
340AC_SEARCH_LIBS(socket, socket, [SOCKLIB=$LIBS],
341 [AC_CHECK_LIB(nsl, socket, [SOCKLIB="-lsocket -lnsl"], [], [-lsocket])]
342)
343AC_SUBST(SOCKLIB)
344
3f310c0d
MW
345dnl FreeBSD has clock_gettime in libc, Linux needs librt
346LIBS=""
347AC_SEARCH_LIBS(clock_gettime, rt, [RTLIB=$LIBS])
348AC_CHECK_FUNCS(clock_gettime)
349AC_SUBST(RTLIB)
350
070ac5b0
TB
351dnl Android has pthread_* functions in bionic (libc), others need libpthread
352LIBS=""
353AC_SEARCH_LIBS(pthread_create, pthread, [PTHREADLIB=$LIBS])
354AC_SUBST(PTHREADLIB)
355
3974b2fb
TB
356LIBS=$saved_LIBS
357dnl ======================
358
4f734a55
MW
359AC_MSG_CHECKING(for dladdr)
360AC_TRY_COMPILE(
361 [#define _GNU_SOURCE
362 #include <dlfcn.h>],
363 [Dl_info* info = 0;
364 dladdr(0, info);],
365 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_DLADDR])],
366 [AC_MSG_RESULT([no])]
367)
368
3d5818ec
MW
369dnl check if pthread_condattr_setclock(CLOCK_MONOTONE) is supported
370saved_LIBS=$LIBS
070ac5b0 371LIBS=$PTHREADLIB
3d5818ec
MW
372AC_MSG_CHECKING([for pthread_condattr_setclock(CLOCK_MONOTONE)])
373AC_TRY_RUN(
374 [#include <pthread.h>
375 int main() { pthread_condattr_t attr;
376 pthread_condattr_init(&attr);
377 return pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);}],
378 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_CONDATTR_CLOCK_MONOTONIC])],
5269150e
MW
379 [AC_MSG_RESULT([no])],
380 dnl Check existence of pthread_condattr_setclock if cross-compiling
381 [AC_MSG_RESULT([unknown]);
382 AC_CHECK_FUNCS(pthread_condattr_setclock,
383 [AC_DEFINE([HAVE_CONDATTR_CLOCK_MONOTONIC])]
384 )]
3d5818ec 385)
866dc013
TB
386dnl check if we actually are able to configure attributes on cond vars
387AC_CHECK_FUNCS(pthread_condattr_init)
b2944d71
TB
388dnl instead of pthread_condattr_setclock Android has this function
389AC_CHECK_FUNCS(pthread_cond_timedwait_monotonic)
85202e87
TB
390dnl check if we can cancel threads
391AC_CHECK_FUNCS(pthread_cancel)
f36143b0
TB
392dnl check if native rwlocks are available
393AC_CHECK_FUNCS(pthread_rwlock_init)
3d5818ec
MW
394LIBS=$saved_LIBS
395
66f16d96
TB
396AC_CHECK_FUNC(
397 [gettid],
398 [AC_DEFINE(HAVE_GETTID)],
399 [AC_MSG_CHECKING([for SYS_gettid])
400 AC_TRY_COMPILE(
401 [#define _GNU_SOURCE
402 #include <unistd.h>
403 #include <sys/syscall.h>],
404 [int main() {
405 return syscall(SYS_gettid);}],
17e3a926
TB
406 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_GETTID])
407 AC_DEFINE([HAVE_SYS_GETTID])],
66f16d96
TB
408 [AC_MSG_RESULT([no])]
409 )]
c17f6f96
TB
410)
411
9a8fdc15 412AC_CHECK_FUNCS(prctl mallinfo getpass closefrom)
4f990932 413
a6390879 414AC_CHECK_HEADERS(sys/sockio.h glob.h)
1e7b4b00 415AC_CHECK_HEADERS(net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h)
ea7e89c7
TB
416
417AC_CHECK_MEMBERS([struct sockaddr.sa_len], [], [],
418[
419 #include <sys/types.h>
420 #include <sys/socket.h>
421])
422
423AC_CHECK_MEMBERS([struct sadb_x_policy.sadb_x_policy_priority], [], [],
424[
425 #include <sys/types.h>
426 #ifdef HAVE_NET_PFKEYV2_H
427 #include <net/pfkeyv2.h>
428 #else
429 #include <stdint.h>
430 #include <linux/pfkeyv2.h>
431 #endif
432])
e696757c 433
cb186f99
TB
434AC_MSG_CHECKING([for in6addr_any])
435AC_TRY_COMPILE(
436 [#include <sys/types.h>
437 #include <sys/socket.h>
438 #include <netinet/in.h>],
439 [struct in6_addr in6;
440 in6 = in6addr_any;],
441 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IN6ADDR_ANY])],
442 [AC_MSG_RESULT([no])]
443)
444
445AC_MSG_CHECKING([for in6_pktinfo])
446AC_TRY_COMPILE(
447 [#define _GNU_SOURCE
448 #include <sys/types.h>
449 #include <sys/socket.h>
450 #include <netinet/in.h>],
451 [struct in6_pktinfo pi;
452 if (pi.ipi6_ifindex)
453 {
454 return 0;
455 }],
456 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IN6_PKTINFO])],
457 [AC_MSG_RESULT([no])]
458)
459
617e59b7
TB
460AC_MSG_CHECKING([for IPSEC_MODE_BEET])
461AC_TRY_COMPILE(
a6ae2a14
TB
462 [#include <sys/types.h>
463 #ifdef HAVE_NETIPSEC_IPSEC_H
617e59b7
TB
464 #include <netipsec/ipsec.h>
465 #elif defined(HAVE_NETINET6_IPSEC_H)
466 #include <netinet6/ipsec.h>
467 #else
a6ae2a14 468 #include <stdint.h>
617e59b7
TB
469 #include <linux/ipsec.h>
470 #endif],
471 [int mode = IPSEC_MODE_BEET;
472 return mode;],
473 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IPSEC_MODE_BEET])],
474 [AC_MSG_RESULT([no])]
475)
476
477AC_MSG_CHECKING([for IPSEC_DIR_FWD])
478AC_TRY_COMPILE(
a6ae2a14
TB
479 [#include <sys/types.h>
480 #ifdef HAVE_NETIPSEC_IPSEC_H
617e59b7
TB
481 #include <netipsec/ipsec.h>
482 #elif defined(HAVE_NETINET6_IPSEC_H)
483 #include <netinet6/ipsec.h>
484 #else
a6ae2a14 485 #include <stdint.h>
617e59b7
TB
486 #include <linux/ipsec.h>
487 #endif],
488 [int dir = IPSEC_DIR_FWD;
489 return dir;],
490 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IPSEC_DIR_FWD])],
491 [AC_MSG_RESULT([no])]
492)
493
439cb93c
TB
494AC_MSG_CHECKING([for RTA_TABLE])
495AC_TRY_COMPILE(
496 [#include <sys/socket.h>
497 #include <linux/netlink.h>
498 #include <linux/rtnetlink.h>],
499 [int rta_type = RTA_TABLE;
500 return rta_type;],
501 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_RTA_TABLE])],
502 [AC_MSG_RESULT([no])]
503)
504
efd0fe21
MW
505AC_MSG_CHECKING([for gcc atomic operations])
506AC_TRY_RUN(
507[
508 int main() {
509 volatile int ref = 1;
510 __sync_fetch_and_add (&ref, 1);
511 __sync_sub_and_fetch (&ref, 1);
512 /* Make sure test fails if operations are not supported */
513 __sync_val_compare_and_swap(&ref, 1, 0);
514 return ref;
515 }
516],
517[AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_GCC_ATOMIC_OPERATIONS)],
bb835afa 518[AC_MSG_RESULT([no])],
efd0fe21
MW
519[AC_MSG_RESULT([no])])
520
10bc5d96
MW
521dnl check for the new register_printf_specifier function with len argument,
522dnl or the deprecated register_printf_function without
d25ce370 523AC_CHECK_FUNC(
f6bbcec3 524 [register_printf_specifier],
f6bbcec3
MW
525 [AC_DEFINE(HAVE_PRINTF_SPECIFIER)],
526 [AC_CHECK_FUNC(
f6bbcec3
MW
527 [register_printf_function],
528 [AC_DEFINE(HAVE_PRINTF_FUNCTION)],
529 [
530 AC_MSG_NOTICE([printf does not support custom format specifiers!])
531 vstr=true
532 ]
533 )]
bf45d6dd
TB
534)
535
536if test x$vstr = xtrue; then
537 AC_HAVE_LIBRARY([vstr],[LIBS="$LIBS"],[AC_MSG_ERROR([Vstr string library not found])])
538 AC_DEFINE(USE_VSTR)
539fi
d25ce370 540
6b9290ff 541if test x$gmp = xtrue; then
3e35a6e7
MW
542 saved_LIBS=$LIBS
543 AC_HAVE_LIBRARY([gmp],,[AC_MSG_ERROR([GNU Multi Precision library gmp not found])])
544 AC_MSG_CHECKING([mpz_powm_sec])
545 if test x$mpz_powm_sec = xyes; then
546 AC_TRY_COMPILE(
547 [#include "gmp.h"],
548 [
549 void *x = mpz_powm_sec;
550 ],
551 [AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_MPZ_POWM_SEC)], [AC_MSG_RESULT([no])]
552 )
553 else
554 AC_MSG_RESULT([disabled])
555 fi
556 LIBS=$saved_LIBS
6b9290ff
MW
557 AC_MSG_CHECKING([gmp.h version >= 4.1.4])
558 AC_TRY_COMPILE(
559 [#include "gmp.h"],
560 [
561 #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
562 #error bad gmp
563 #endif
8b3b4a24 564 ],
6b9290ff
MW
565 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([No usable gmp.h found!])]
566 )
f2c2d395 567fi
6b9290ff
MW
568
569if test x$ldap = xtrue; then
570 AC_HAVE_LIBRARY([ldap],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library ldap not found])])
571 AC_HAVE_LIBRARY([lber],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library lber not found])])
572 AC_CHECK_HEADER([ldap.h],,[AC_MSG_ERROR([LDAP header ldap.h not found!])])
f2c2d395
MW
573fi
574
6b9290ff
MW
575if test x$curl = xtrue; then
576 AC_HAVE_LIBRARY([curl],[LIBS="$LIBS"],[AC_MSG_ERROR([CURL library curl not found])])
577 AC_CHECK_HEADER([curl/curl.h],,[AC_MSG_ERROR([CURL header curl/curl.h not found!])])
578fi
579
2ca52c80
MW
580if test x$soup = xtrue; then
581 PKG_CHECK_MODULES(soup, [libsoup-2.4])
582 AC_SUBST(soup_CFLAGS)
583 AC_SUBST(soup_LIBS)
584fi
585
6b9290ff 586if test x$xml = xtrue; then
a47486b5 587 PKG_CHECK_MODULES(xml, [libxml-2.0])
f2d6355e
MW
588 AC_SUBST(xml_CFLAGS)
589 AC_SUBST(xml_LIBS)
590fi
591
c77af768
AS
592if test x$axis2c = xtrue; then
593 PKG_CHECK_MODULES(axis2c, [axis2c])
594 AC_SUBST(axis2c_CFLAGS)
595 AC_SUBST(axis2c_LIBS)
596fi
597
005d981c
AS
598if test x$imc_attestation = xtrue -o x$imv_attestation = xtrue; then
599 AC_HAVE_LIBRARY([tspi],[LIBS="$LIBS"],[AC_MSG_ERROR([TrouSerS library libtspi not found])])
600 AC_CHECK_HEADER([trousers/tss.h],,[AC_MSG_ERROR([TrouSerS header trousers/tss.h not found!])])
601fi
602
a47486b5
MW
603if test x$dumm = xtrue; then
604 PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte])
605 AC_SUBST(gtk_CFLAGS)
606 AC_SUBST(gtk_LIBS)
d2e9cbc9
TB
607 AC_CHECK_PROGS(RUBY, ruby)
608 AC_MSG_CHECKING([for Ruby header files])
609 if test -n "$RUBY"; then
610 RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null`
611 if test -n "$RUBYDIR"; then
612 dirs="$RUBYDIR"
613 RUBYINCLUDE=none
614 for i in $dirs; do
615 if test -r $i/ruby.h; then
616 AC_MSG_RESULT([$i])
617 RUBYINCLUDE="-I$i"
618 break;
619 fi
620 done
621 if test x"$RUBYINCLUDE" = xnone; then
622 AC_MSG_ERROR([ruby.h not found])
623 fi
624 AC_SUBST(RUBYINCLUDE)
625 else
626 AC_MSG_ERROR([unable to determine ruby configuration])
627 fi
628 else
629 AC_MSG_ERROR([don't know how to run ruby])
630 fi
a47486b5
MW
631fi
632
6b9290ff
MW
633if test x$fast = xtrue; then
634 AC_HAVE_LIBRARY([neo_cgi],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_cgi not found!])])
635 AC_HAVE_LIBRARY([neo_utl],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_utl not found!])])
f9a0f556
MW
636 AC_MSG_CHECKING([ClearSilver requires zlib])
637 saved_CFLAGS=$CFLAGS
638 saved_LIBS=$LIBS
639 LIBS="-lneo_cgi -lneo_cs -lneo_utl"
640 CFLAGS="-I/usr/include/ClearSilver"
641 AC_TRY_LINK(
642 [#include <ClearSilver.h>],
643 [
644 NEOERR *err = cgi_display(NULL, NULL);
645 ],
646 [AC_MSG_RESULT([no]); clearsilver_LIBS="$LIBS"],
647 [AC_MSG_RESULT([yes]); clearsilver_LIBS="$LIBS -lz"]
648 )
649 AC_SUBST(clearsilver_LIBS)
650 LIBS=$saved_LIBS
651 CFLAGS=$saved_CFLAGS
6b9290ff
MW
652dnl autoconf does not like CamelCase!? How to fix this?
653dnl AC_CHECK_HEADER([ClearSilver/ClearSilver.h],,[AC_MSG_ERROR([ClearSilver header file ClearSilver/ClearSilver.h not found!])])
8b3b4a24 654
6b9290ff
MW
655 AC_HAVE_LIBRARY([fcgi],[LIBS="$LIBS"],[AC_MSG_ERROR([FastCGI library fcgi not found!])])
656 AC_CHECK_HEADER([fcgiapp.h],,[AC_MSG_ERROR([FastCGI header file fcgiapp.h not found!])])
a84fb01b
MW
657fi
658
6b9290ff 659if test x$mysql = xtrue; then
84074347
MW
660 AC_PATH_PROG([MYSQLCONFIG], [mysql_config], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
661 if test x$MYSQLCONFIG = x; then
662 AC_MSG_ERROR([mysql_config not found!])
663 fi
664 AC_SUBST(MYSQLLIB, `$MYSQLCONFIG --libs_r`)
665 AC_SUBST(MYSQLCFLAG, `$MYSQLCONFIG --cflags`)
6b9290ff 666fi
f2c2d395 667
f8277a83 668if test x$sqlite = xtrue; then
6b9290ff
MW
669 AC_HAVE_LIBRARY([sqlite3],[LIBS="$LIBS"],[AC_MSG_ERROR([SQLite library sqlite3 not found])])
670 AC_CHECK_HEADER([sqlite3.h],,[AC_MSG_ERROR([SQLite header sqlite3.h not found!])])
f8277a83
MW
671 AC_MSG_CHECKING([sqlite3_prepare_v2])
672 AC_TRY_COMPILE(
673 [#include <sqlite3.h>],
674 [
675 void *test = sqlite3_prepare_v2;
8b3b4a24 676 ],
f8277a83 677 [AC_MSG_RESULT([yes])]; AC_DEFINE_UNQUOTED(HAVE_SQLITE3_PREPARE_V2, 1), [AC_MSG_RESULT([no])])
7da767f7
MW
678 AC_MSG_CHECKING([sqlite3.h version >= 3.3.1])
679 AC_TRY_COMPILE(
680 [#include <sqlite3.h>],
681 [
682 #if SQLITE_VERSION_NUMBER < 3003001
683 #error bad sqlite
684 #endif
8b3b4a24 685 ],
7da767f7 686 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([SQLite version >= 3.3.1 required!])])
6b9290ff 687fi
f2c2d395 688
17353034 689if test x$openssl = xtrue; then
e581a31d 690 AC_HAVE_LIBRARY([crypto],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL crypto library not found])])
17353034
TB
691 AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
692fi
693
4977018c 694if test x$gcrypt = xtrue; then
322226c0 695 AC_HAVE_LIBRARY([gcrypt],[LIBS="$LIBS"],[AC_MSG_ERROR([gcrypt library not found])],[-lgpg-error])
1d39663f 696 AC_CHECK_HEADER([gcrypt.h],,[AC_MSG_ERROR([gcrypt header gcrypt.h not found!])])
62d6da67
MW
697 AC_MSG_CHECKING([gcrypt CAMELLIA cipher])
698 AC_TRY_COMPILE(
699 [#include <gcrypt.h>],
700 [enum gcry_cipher_algos alg = GCRY_CIPHER_CAMELLIA128;],
701 [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_GCRY_CIPHER_CAMELLIA])],
702 [AC_MSG_RESULT([no])]
703 )
4977018c
MW
704fi
705
61c46386
MW
706if test x$uci = xtrue; then
707 AC_HAVE_LIBRARY([uci],[LIBS="$LIBS"],[AC_MSG_ERROR([UCI library libuci not found])])
708 AC_CHECK_HEADER([uci.h],,[AC_MSG_ERROR([UCI header uci.h not found!])])
709fi
710
55699f03
MW
711if test x$android = xtrue; then
712 AC_HAVE_LIBRARY([cutils],[LIBS="$LIBS"],[AC_MSG_ERROR([Android library libcutils not found])])
713 AC_CHECK_HEADER([cutils/properties.h],,[AC_MSG_ERROR([Android header cutils/properties.h not found!])])
c711687c
TB
714 dnl we have to force the use of libdl here because the autodetection
715 dnl above does not work correctly when cross-compiling for android.
716 DLLIB="-ldl"
717 AC_SUBST(DLLIB)
55699f03
MW
718fi
719
2bce8141 720if test x$maemo = xtrue; then
8464e25a
TB
721 PKG_CHECK_MODULES(maemo, [glib-2.0 gthread-2.0 libosso osso-af-settings])
722 AC_SUBST(maemo_CFLAGS)
723 AC_SUBST(maemo_LIBS)
2bce8141
TB
724 dbusservicedir="/usr/share/dbus-1/system-services"
725 AC_SUBST(dbusservicedir)
726fi
727
80dca77a
DS
728if test x$eap_sim_pcsc = xtrue; then
729 PKG_CHECK_MODULES(pcsclite, [libpcsclite])
730 AC_SUBST(pcsclite_CFLAGS)
731 AC_SUBST(pcsclite_LIBS)
732fi
733
6dbce9c8 734if test x$nm = xtrue; then
89d236f0 735 PKG_CHECK_EXISTS([libnm-glib],
0aa90701
TB
736 [PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm-util libnm-glib libnm-glib-vpn])],
737 [PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm_util libnm_glib libnm_glib_vpn])]
89d236f0 738 )
6dbce9c8
MW
739 AC_SUBST(nm_CFLAGS)
740 AC_SUBST(nm_LIBS)
741fi
742
1caa265c
MW
743if test x$eap_gtc = xtrue; then
744 AC_HAVE_LIBRARY([pam],[LIBS="$LIBS"],[AC_MSG_ERROR([PAM library not found])])
745 AC_CHECK_HEADER([security/pam_appl.h],,[AC_MSG_ERROR([PAM header security/pam_appl.h not found!])])
746fi
747
946be4d3
TB
748if test x$capabilities = xnative; then
749 AC_MSG_NOTICE([Usage of the native Linux capabilities interface is deprecated, use libcap instead])
750 dnl Linux requires the following for capset(), Android does not have it,
751 dnl but defines capset() in unistd.h instead.
752 AC_CHECK_HEADERS([sys/capability.h])
753 AC_CHECK_FUNC(capset,,[AC_MSG_ERROR([capset() not found!])])
754 AC_DEFINE(CAPABILITIES_NATIVE)
755fi
756
eb3e2705
MW
757if test x$capabilities = xlibcap; then
758 AC_HAVE_LIBRARY([cap],[LIBS="$LIBS"],[AC_MSG_ERROR([libcap library not found])])
946be4d3
TB
759 AC_CHECK_HEADER([sys/capability.h],
760 [AC_DEFINE(HAVE_SYS_CAPABILITY_H)],
761 [AC_MSG_ERROR([libcap header sys/capability.h not found!])])
762 AC_DEFINE(CAPABILITIES_LIBCAP)
eb3e2705
MW
763fi
764
e4e6a77a
MW
765if test x$integrity_test = xtrue; then
766 AC_MSG_CHECKING([for dladdr()])
767 AC_TRY_COMPILE(
768 [#define _GNU_SOURCE
769 #include <dlfcn.h>],
8b3b4a24 770 [Dl_info info; dladdr(main, &info);],
e4e6a77a
MW
771 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]);
772 AC_MSG_ERROR([dladdr() not supported, required by integrity-test!])]
773 )
774 AC_MSG_CHECKING([for dl_iterate_phdr()])
775 AC_TRY_COMPILE(
776 [#define _GNU_SOURCE
777 #include <link.h>],
8b3b4a24 778 [dl_iterate_phdr((void*)0, (void*)0);],
e4e6a77a
MW
779 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]);
780 AC_MSG_ERROR([dl_iterate_phdr() not supported, required by integrity-test!])]
781 )
782fi
783
8f018151
MW
784dnl ==============================================
785dnl collect plugin list for strongSwan components
786dnl ==============================================
1ba62b55 787
9e2c88b9
MW
788m4_include(m4/macros/add-plugin.m4)
789
8f018151 790# plugin lists for all components
94b48e07 791charon_plugins=
de92b9e7 792pluto_plugins=
f3a682c1 793starter_plugins=
8f018151 794pool_plugins=
60212277 795attest_plugins=
8f018151
MW
796openac_plugins=
797scepclient_plugins=
798pki_plugins=
799scripts_plugins=
800manager_plugins=
801medsrv_plugins=
1c7a733e 802nm_plugins=
8f018151 803
123a84d3
MW
804# location specific lists for checksumming,
805# for src/libcharon, src/pluto, src/libhydra and src/libstrongswan
806c_plugins=
807p_plugins=
808h_plugins=
809s_plugins=
810
94b48e07 811ADD_PLUGIN([test-vectors], [s charon pluto openac scepclient pki])
1c7a733e
TB
812ADD_PLUGIN([curl], [s charon pluto scepclient scripts nm])
813ADD_PLUGIN([soup], [s charon pluto scripts nm])
814ADD_PLUGIN([ldap], [s charon pluto scepclient scripts nm])
94b48e07
TB
815ADD_PLUGIN([mysql], [s charon pluto pool manager medsrv attest])
816ADD_PLUGIN([sqlite], [s charon pluto pool manager medsrv attest])
1c7a733e
TB
817ADD_PLUGIN([pkcs11], [s charon pki nm])
818ADD_PLUGIN([aes], [s charon pluto openac scepclient pki scripts nm])
819ADD_PLUGIN([des], [s charon pluto openac scepclient pki scripts nm])
820ADD_PLUGIN([blowfish], [s charon pluto openac scepclient pki scripts nm])
821ADD_PLUGIN([sha1], [s charon pluto openac scepclient pki scripts medsrv attest nm])
822ADD_PLUGIN([sha2], [s charon pluto openac scepclient pki scripts medsrv attest nm])
823ADD_PLUGIN([md4], [s charon openac manager scepclient pki nm])
824ADD_PLUGIN([md5], [s charon pluto openac scepclient pki scripts attest nm])
825ADD_PLUGIN([random], [s charon pluto openac scepclient pki scripts medsrv attest nm])
04024b5d 826ADD_PLUGIN([nonce], [s charon nm])
1c7a733e
TB
827ADD_PLUGIN([x509], [s charon pluto openac scepclient pki scripts attest nm])
828ADD_PLUGIN([revocation], [s charon nm])
829ADD_PLUGIN([constraints], [s charon nm])
94b48e07 830ADD_PLUGIN([pubkey], [s charon])
1c7a733e
TB
831ADD_PLUGIN([pkcs1], [s charon pluto openac scepclient pki scripts manager medsrv attest nm])
832ADD_PLUGIN([pkcs8], [s charon pluto openac scepclient pki scripts manager medsrv attest nm])
94b48e07 833ADD_PLUGIN([pgp], [s charon pluto])
123a84d3 834ADD_PLUGIN([dnskey], [s pluto])
1c7a733e 835ADD_PLUGIN([pem], [s charon pluto openac scepclient pki scripts manager medsrv attest nm])
94b48e07 836ADD_PLUGIN([padlock], [s charon])
1c7a733e
TB
837ADD_PLUGIN([openssl], [s charon pluto openac scepclient pki scripts manager medsrv attest nm])
838ADD_PLUGIN([gcrypt], [s charon pluto openac scepclient pki scripts manager medsrv attest nm])
839ADD_PLUGIN([af-alg], [s charon pluto openac scepclient pki scripts medsrv attest nm])
840ADD_PLUGIN([fips-prf], [s charon nm])
841ADD_PLUGIN([gmp], [s charon pluto openac scepclient pki scripts manager medsrv attest nm])
842ADD_PLUGIN([agent], [s charon nm])
843ADD_PLUGIN([xcbc], [s charon nm])
844ADD_PLUGIN([cmac], [s charon nm])
845ADD_PLUGIN([hmac], [s charon pluto scripts nm])
846ADD_PLUGIN([ctr], [s charon scripts nm])
847ADD_PLUGIN([ccm], [s charon scripts nm])
848ADD_PLUGIN([gcm], [s charon scripts nm])
123a84d3 849ADD_PLUGIN([xauth], [p pluto])
94b48e07
TB
850ADD_PLUGIN([attr], [h charon pluto])
851ADD_PLUGIN([attr-sql], [h charon pluto])
852ADD_PLUGIN([load-tester], [c charon])
1c7a733e
TB
853ADD_PLUGIN([kernel-pfkey], [h charon pluto starter nm])
854ADD_PLUGIN([kernel-pfroute], [h charon pluto starter nm])
94b48e07 855ADD_PLUGIN([kernel-klips], [h charon pluto starter])
1c7a733e 856ADD_PLUGIN([kernel-netlink], [h charon pluto starter nm])
94b48e07 857ADD_PLUGIN([resolve], [h charon pluto])
1c7a733e
TB
858ADD_PLUGIN([socket-default], [c charon nm])
859ADD_PLUGIN([socket-raw], [c charon nm])
94b48e07
TB
860ADD_PLUGIN([socket-dynamic], [c charon])
861ADD_PLUGIN([farp], [c charon])
862ADD_PLUGIN([stroke], [c charon])
863ADD_PLUGIN([smp], [c charon])
864ADD_PLUGIN([sql], [c charon])
865ADD_PLUGIN([updown], [c charon])
1c7a733e 866ADD_PLUGIN([eap-identity], [c charon nm])
94b48e07
TB
867ADD_PLUGIN([eap-sim], [c charon])
868ADD_PLUGIN([eap-sim-file], [c charon])
869ADD_PLUGIN([eap-sim-pcsc], [c charon])
870ADD_PLUGIN([eap-aka], [c charon])
871ADD_PLUGIN([eap-aka-3gpp2], [c charon])
872ADD_PLUGIN([eap-simaka-sql], [c charon])
873ADD_PLUGIN([eap-simaka-pseudonym], [c charon])
874ADD_PLUGIN([eap-simaka-reauth], [c charon])
1c7a733e
TB
875ADD_PLUGIN([eap-md5], [c charon nm])
876ADD_PLUGIN([eap-gtc], [c charon nm])
877ADD_PLUGIN([eap-mschapv2], [c charon nm])
94b48e07 878ADD_PLUGIN([eap-radius], [c charon])
1c7a733e
TB
879ADD_PLUGIN([eap-tls], [c charon nm])
880ADD_PLUGIN([eap-ttls], [c charon nm])
881ADD_PLUGIN([eap-peap], [c charon nm])
94b48e07
TB
882ADD_PLUGIN([eap-tnc], [c charon])
883ADD_PLUGIN([xauth-generic], [c charon])
884ADD_PLUGIN([xauth-eap], [c charon])
885ADD_PLUGIN([tnc-ifmap], [c charon])
886ADD_PLUGIN([tnc-pdp], [c charon])
887ADD_PLUGIN([tnc-imc], [c charon])
888ADD_PLUGIN([tnc-imv], [c charon])
889ADD_PLUGIN([tnc-tnccs], [c charon])
890ADD_PLUGIN([tnccs-20], [c charon])
891ADD_PLUGIN([tnccs-11], [c charon])
892ADD_PLUGIN([tnccs-dynamic], [c charon])
893ADD_PLUGIN([medsrv], [c charon])
894ADD_PLUGIN([medcli], [c charon])
94b48e07
TB
895ADD_PLUGIN([dhcp], [c charon])
896ADD_PLUGIN([android], [c charon])
897ADD_PLUGIN([ha], [c charon])
898ADD_PLUGIN([whitelist], [c charon])
899ADD_PLUGIN([certexpire], [c charon])
900ADD_PLUGIN([led], [c charon])
901ADD_PLUGIN([duplicheck], [c charon])
902ADD_PLUGIN([coupling], [c charon])
903ADD_PLUGIN([radattr], [c charon])
904ADD_PLUGIN([maemo], [c charon])
905ADD_PLUGIN([uci], [c charon])
906ADD_PLUGIN([addrblock], [c charon])
907ADD_PLUGIN([unit-tester], [c charon])
908
909AC_SUBST(charon_plugins)
de92b9e7 910AC_SUBST(pluto_plugins)
f3a682c1 911AC_SUBST(starter_plugins)
8f018151 912AC_SUBST(pool_plugins)
60212277 913AC_SUBST(attest_plugins)
8f018151
MW
914AC_SUBST(openac_plugins)
915AC_SUBST(scepclient_plugins)
916AC_SUBST(pki_plugins)
917AC_SUBST(scripts_plugins)
918AC_SUBST(manager_plugins)
919AC_SUBST(medsrv_plugins)
1c7a733e 920AC_SUBST(nm_plugins)
1ba62b55 921
123a84d3
MW
922AC_SUBST(c_plugins)
923AC_SUBST(p_plugins)
924AC_SUBST(h_plugins)
925AC_SUBST(s_plugins)
926
6b9290ff
MW
927dnl =========================
928dnl set Makefile.am vars
929dnl =========================
f2c2d395 930
1ba62b55
MW
931dnl libstrongswan plugins
932dnl =====================
81811a9d 933AM_CONDITIONAL(USE_TEST_VECTORS, test x$test_vectors = xtrue)
6b9290ff 934AM_CONDITIONAL(USE_CURL, test x$curl = xtrue)
2ca52c80 935AM_CONDITIONAL(USE_SOUP, test x$soup = xtrue)
6b9290ff
MW
936AM_CONDITIONAL(USE_LDAP, test x$ldap = xtrue)
937AM_CONDITIONAL(USE_AES, test x$aes = xtrue)
938AM_CONDITIONAL(USE_DES, test x$des = xtrue)
d36ae9e3 939AM_CONDITIONAL(USE_BLOWFISH, test x$blowfish = xtrue)
1e0d1ae2 940AM_CONDITIONAL(USE_MD4, test x$md4 = xtrue)
6b9290ff
MW
941AM_CONDITIONAL(USE_MD5, test x$md5 = xtrue)
942AM_CONDITIONAL(USE_SHA1, test x$sha1 = xtrue)
943AM_CONDITIONAL(USE_SHA2, test x$sha2 = xtrue)
944AM_CONDITIONAL(USE_FIPS_PRF, test x$fips_prf = xtrue)
945AM_CONDITIONAL(USE_GMP, test x$gmp = xtrue)
6a365f07 946AM_CONDITIONAL(USE_RANDOM, test x$random = xtrue)
04024b5d 947AM_CONDITIONAL(USE_NONCE, test x$nonce = xtrue)
6b9290ff 948AM_CONDITIONAL(USE_X509, test x$x509 = xtrue)
c2e5cee4 949AM_CONDITIONAL(USE_REVOCATION, test x$revocation = xtrue)
01d30381 950AM_CONDITIONAL(USE_CONSTRAINTS, test x$constraints = xtrue)
affd7a90 951AM_CONDITIONAL(USE_PUBKEY, test x$pubkey = xtrue)
1e0f6937 952AM_CONDITIONAL(USE_PKCS1, test x$pkcs1 = xtrue)
5ec525c1 953AM_CONDITIONAL(USE_PKCS8, test x$pkcs8 = xtrue)
9493dd2c 954AM_CONDITIONAL(USE_PGP, test x$pgp = xtrue)
5ef478aa 955AM_CONDITIONAL(USE_DNSKEY, test x$dnskey = xtrue)
160f4c22 956AM_CONDITIONAL(USE_PEM, test x$pem = xtrue)
6b9290ff 957AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
c0d39c20 958AM_CONDITIONAL(USE_CMAC, test x$cmac = xtrue)
27d04e05 959AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
6b9290ff
MW
960AM_CONDITIONAL(USE_MYSQL, test x$mysql = xtrue)
961AM_CONDITIONAL(USE_SQLITE, test x$sqlite = xtrue)
1ba62b55
MW
962AM_CONDITIONAL(USE_PADLOCK, test x$padlock = xtrue)
963AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue)
4977018c 964AM_CONDITIONAL(USE_GCRYPT, test x$gcrypt = xtrue)
21c95463 965AM_CONDITIONAL(USE_AGENT, test x$agent = xtrue)
6e862e21 966AM_CONDITIONAL(USE_PKCS11, test x$pkcs11 = xtrue)
272f0e1a 967AM_CONDITIONAL(USE_CTR, test x$ctr = xtrue)
80a93a13 968AM_CONDITIONAL(USE_CCM, test x$ccm = xtrue)
1a649810 969AM_CONDITIONAL(USE_GCM, test x$gcm = xtrue)
71c87e34 970AM_CONDITIONAL(USE_AF_ALG, test x$af_alg = xtrue)
1ba62b55
MW
971
972dnl charon plugins
973dnl ==============
6b9290ff 974AM_CONDITIONAL(USE_STROKE, test x$stroke = xtrue)
5b7ec6d4 975AM_CONDITIONAL(USE_MEDSRV, test x$medsrv = xtrue)
782db7ed 976AM_CONDITIONAL(USE_MEDCLI, test x$medcli = xtrue)
61c46386 977AM_CONDITIONAL(USE_UCI, test x$uci = xtrue)
55699f03 978AM_CONDITIONAL(USE_ANDROID, test x$android = xtrue)
f79161e8 979AM_CONDITIONAL(USE_MAEMO, test x$maemo = xtrue)
6b9290ff
MW
980AM_CONDITIONAL(USE_SMP, test x$smp = xtrue)
981AM_CONDITIONAL(USE_SQL, test x$sql = xtrue)
ad3af574 982AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
beaa048e 983AM_CONDITIONAL(USE_DHCP, test x$dhcp = xtrue)
61706107 984AM_CONDITIONAL(USE_UNIT_TESTS, test x$unit_tester = xtrue)
b76b867c 985AM_CONDITIONAL(USE_LOAD_TESTER, test x$load_tester = xtrue)
e67f5136 986AM_CONDITIONAL(USE_HA, test x$ha = xtrue)
5e603aba 987AM_CONDITIONAL(USE_WHITELIST, test x$whitelist = xtrue)
ba2201ed 988AM_CONDITIONAL(USE_CERTEXPIRE, test x$certexpire = xtrue)
30cd31fb 989AM_CONDITIONAL(USE_LED, test x$led = xtrue)
3e74ebbe 990AM_CONDITIONAL(USE_DUPLICHECK, test x$duplicheck = xtrue)
007c4708 991AM_CONDITIONAL(USE_COUPLING, test x$coupling = xtrue)
caf4b88e 992AM_CONDITIONAL(USE_RADATTR, test x$radattr = xtrue)
6b9290ff 993AM_CONDITIONAL(USE_EAP_SIM, test x$eap_sim = xtrue)
79a87846 994AM_CONDITIONAL(USE_EAP_SIM_FILE, test x$eap_sim_file = xtrue)
80dca77a 995AM_CONDITIONAL(USE_EAP_SIM_PCSC, test x$eap_sim_pcsc = xtrue)
d2c35874 996AM_CONDITIONAL(USE_EAP_SIMAKA_SQL, test x$eap_simaka_sql = xtrue)
edcb2dd3
MW
997AM_CONDITIONAL(USE_EAP_SIMAKA_PSEUDONYM, test x$eap_simaka_pseudonym = xtrue)
998AM_CONDITIONAL(USE_EAP_SIMAKA_REAUTH, test x$eap_simaka_reauth = xtrue)
6b9290ff
MW
999AM_CONDITIONAL(USE_EAP_IDENTITY, test x$eap_identity = xtrue)
1000AM_CONDITIONAL(USE_EAP_MD5, test x$eap_md5 = xtrue)
1caa265c 1001AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
6b9290ff 1002AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = xtrue)
47208157 1003AM_CONDITIONAL(USE_EAP_AKA_3GPP2, test x$eap_aka_3gpp2 = xtrue)
f98cdf7a 1004AM_CONDITIONAL(USE_EAP_MSCHAPV2, test x$eap_mschapv2 = xtrue)
21079538 1005AM_CONDITIONAL(USE_EAP_TLS, test x$eap_tls = xtrue)
26eb9b2d 1006AM_CONDITIONAL(USE_EAP_TTLS, test x$eap_ttls = xtrue)
1be296df 1007AM_CONDITIONAL(USE_EAP_PEAP, test x$eap_peap = xtrue)
d93e2e54 1008AM_CONDITIONAL(USE_EAP_TNC, test x$eap_tnc = xtrue)
4a6b84a9 1009AM_CONDITIONAL(USE_EAP_RADIUS, test x$eap_radius = xtrue)
3d44d735 1010AM_CONDITIONAL(USE_XAUTH_GENERIC, test x$xauth_generic = xtrue)
85fc1eb6 1011AM_CONDITIONAL(USE_XAUTH_EAP, test x$xauth_eap = xtrue)
c77af768 1012AM_CONDITIONAL(USE_TNC_IFMAP, test x$tnc_ifmap = xtrue)
70fd2d1a 1013AM_CONDITIONAL(USE_TNC_PDP, test x$tnc_pdp = xtrue)
8dcc56dc
AS
1014AM_CONDITIONAL(USE_TNC_IMC, test x$tnc_imc = xtrue)
1015AM_CONDITIONAL(USE_TNC_IMV, test x$tnc_imv = xtrue)
b08505da 1016AM_CONDITIONAL(USE_TNC_TNCCS, test x$tnc_tnccs = xtrue)
4e8e74fc 1017AM_CONDITIONAL(USE_TNCCS_11, test x$tnccs_11 = xtrue)
6d0e9cf0 1018AM_CONDITIONAL(USE_TNCCS_20, test x$tnccs_20 = xtrue)
f652995b 1019AM_CONDITIONAL(USE_TNCCS_DYNAMIC, test x$tnccs_dynamic = xtrue)
510f37ab
AS
1020AM_CONDITIONAL(USE_IMC_TEST, test x$imc_test = xtrue)
1021AM_CONDITIONAL(USE_IMV_TEST, test x$imv_test = xtrue)
d9cdab92
AS
1022AM_CONDITIONAL(USE_IMC_SCANNER, test x$imc_scanner = xtrue)
1023AM_CONDITIONAL(USE_IMV_SCANNER, test x$imv_scanner = xtrue)
4a492a8d
AS
1024AM_CONDITIONAL(USE_IMC_ATTESTATION, test x$imc_attestation = xtrue)
1025AM_CONDITIONAL(USE_IMV_ATTESTATION, test x$imv_attestation = xtrue)
dab05604
MW
1026AM_CONDITIONAL(USE_SOCKET_DEFAULT, test x$socket_default = xtrue)
1027AM_CONDITIONAL(USE_SOCKET_RAW, test x$socket_raw = xtrue)
9ed1bb48 1028AM_CONDITIONAL(USE_SOCKET_DYNAMIC, test x$socket_dynamic = xtrue)
0d7b48a3 1029AM_CONDITIONAL(USE_FARP, test x$farp = xtrue)
1c8c9246 1030AM_CONDITIONAL(USE_ADDRBLOCK, test x$addrblock = xtrue)
1ba62b55 1031
26ec52a4
AS
1032dnl hydra plugins
1033dnl =============
1034AM_CONDITIONAL(USE_ATTR, test x$attr = xtrue)
1035AM_CONDITIONAL(USE_ATTR_SQL, test x$attr_sql = xtrue -o x$sql = xtrue)
062a6022
TB
1036AM_CONDITIONAL(USE_KERNEL_KLIPS, test x$kernel_klips = xtrue)
1037AM_CONDITIONAL(USE_KERNEL_NETLINK, test x$kernel_netlink = xtrue)
1038AM_CONDITIONAL(USE_KERNEL_PFKEY, test x$kernel_pfkey = xtrue)
1039AM_CONDITIONAL(USE_KERNEL_PFROUTE, test x$kernel_pfroute = xtrue)
26ec52a4
AS
1040AM_CONDITIONAL(USE_RESOLVE, test x$resolve = xtrue)
1041
1042dnl pluto plugins
1043dnl =============
1044AM_CONDITIONAL(USE_XAUTH, test x$xauth = xtrue)
1045
1ba62b55
MW
1046dnl other options
1047dnl =============
1048AM_CONDITIONAL(USE_SMARTCARD, test x$smartcard = xtrue)
1049AM_CONDITIONAL(USE_CISCO_QUIRKS, test x$cisco_quirks = xtrue)
1050AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
02140125 1051AM_CONDITIONAL(USE_LOCK_PROFILER, test x$lock_profiler = xtrue)
6b9290ff
MW
1052AM_CONDITIONAL(USE_NAT_TRANSPORT, test x$nat_transport = xtrue)
1053AM_CONDITIONAL(USE_VENDORID, test x$vendor_id = xtrue)
1054AM_CONDITIONAL(USE_XAUTH_VID, test x$xauth_vid = xtrue)
1055AM_CONDITIONAL(USE_DUMM, test x$dumm = xtrue)
1056AM_CONDITIONAL(USE_FAST, test x$fast = xtrue)
1057AM_CONDITIONAL(USE_MANAGER, test x$manager = xtrue)
e20b7921 1058AM_CONDITIONAL(USE_ME, test x$mediation = xtrue)
6b9290ff 1059AM_CONDITIONAL(USE_INTEGRITY_TEST, test x$integrity_test = xtrue)
3de510ca 1060AM_CONDITIONAL(USE_LOAD_WARNING, test x$load_warning = xtrue)
6b9290ff 1061AM_CONDITIONAL(USE_PLUTO, test x$pluto = xtrue)
ccdd3a4c 1062AM_CONDITIONAL(USE_IKEV1, test x$ikev1 = xtrue)
e51a28fd 1063AM_CONDITIONAL(USE_IKEV2, test x$ikev2 = xtrue)
6905f794 1064AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
d52c3779 1065AM_CONDITIONAL(USE_ADNS, test x$adns = xtrue)
6b9290ff 1066AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
1c7a733e 1067AM_CONDITIONAL(USE_NM, test x$nm = xtrue)
6b9290ff 1068AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
cf00cffe 1069AM_CONDITIONAL(USE_SCRIPTS, test x$scripts = xtrue)
e78ec86d 1070AM_CONDITIONAL(USE_CONFTEST, test x$conftest = xtrue)
1c7a733e
TB
1071AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$pluto = xtrue -o x$tools = xtrue -o x$conftest = xtrue -o x$fast = xtrue -o x$imcv = xtrue -o x$nm = xtrue)
1072AM_CONDITIONAL(USE_LIBHYDRA, test x$charon = xtrue -o x$pluto = xtrue -o x$nm = xtrue)
1073AM_CONDITIONAL(USE_LIBCHARON, test x$charon = xtrue -o x$conftest = xtrue -o x$nm = xtrue)
f8b1b327 1074AM_CONDITIONAL(USE_LIBTNCIF, test x$tnc_tnccs = xtrue -o x$imcv = xtrue)
b08505da 1075AM_CONDITIONAL(USE_LIBTNCCS, test x$tnc_tnccs = xtrue)
6b9290ff 1076AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)
37b3fad7 1077AM_CONDITIONAL(USE_IPSEC_SCRIPT, test x$pluto = xtrue -o x$stroke = xtrue -o x$tools = xtrue -o x$conftest = xtrue)
b77e493b 1078AM_CONDITIONAL(USE_LIBCAP, test x$capabilities = xlibcap)
d25ce370 1079AM_CONDITIONAL(USE_VSTR, test x$vstr = xtrue)
f8330d03 1080AM_CONDITIONAL(USE_SIMAKA, test x$simaka = xtrue)
0f82a470 1081AM_CONDITIONAL(USE_TLS, test x$tls = xtrue)
f0f94e2c 1082AM_CONDITIONAL(USE_RADIUS, test x$radius = xtrue)
510f37ab 1083AM_CONDITIONAL(USE_IMCV, test x$imcv = xtrue)
3ed943c3 1084AM_CONDITIONAL(USE_PTS, test x$pts = xtrue)
3372ad14 1085AM_CONDITIONAL(MONOLITHIC, test x$monolithic = xtrue)
f2c2d395 1086
9e72d3bc
MW
1087dnl ==============================
1088dnl set global definitions
1089dnl ==============================
1090
a7f79ee9 1091if test x$mediation = xtrue; then
9e72d3bc
MW
1092 AC_DEFINE(ME)
1093fi
946be4d3 1094if test x$capabilities = xlibcap -o x$capabilities = xnative; then
eb3e2705
MW
1095 AC_DEFINE(CAPABILITIES)
1096fi
3372ad14
TB
1097if test x$monolithic = xtrue; then
1098 AC_DEFINE(MONOLITHIC)
1099fi
ccdd3a4c
TB
1100if test x$ikev1 = xtrue; then
1101 AC_DEFINE(USE_IKEV1)
1102fi
e51a28fd
MW
1103if test x$ikev2 = xtrue; then
1104 AC_DEFINE(USE_IKEV2)
1105fi
9e72d3bc 1106
f2c2d395
MW
1107dnl ==============================
1108dnl build Makefiles
1109dnl ==============================
1110
1111AC_OUTPUT(
1112 Makefile
0a1233e6 1113 man/Makefile
fc16b361
MV
1114 init/Makefile
1115 init/systemd/Makefile
f2c2d395 1116 src/Makefile
04a7b6d8 1117 src/include/Makefile
f2c2d395 1118 src/libstrongswan/Makefile
552cc11b 1119 src/libstrongswan/plugins/aes/Makefile
c0d39c20 1120 src/libstrongswan/plugins/cmac/Makefile
552cc11b 1121 src/libstrongswan/plugins/des/Makefile
d36ae9e3 1122 src/libstrongswan/plugins/blowfish/Makefile
1e0d1ae2 1123 src/libstrongswan/plugins/md4/Makefile
552cc11b
MW
1124 src/libstrongswan/plugins/md5/Makefile
1125 src/libstrongswan/plugins/sha1/Makefile
1126 src/libstrongswan/plugins/sha2/Makefile
1127 src/libstrongswan/plugins/fips_prf/Makefile
1128 src/libstrongswan/plugins/gmp/Makefile
6a365f07 1129 src/libstrongswan/plugins/random/Makefile
04024b5d 1130 src/libstrongswan/plugins/nonce/Makefile
552cc11b 1131 src/libstrongswan/plugins/hmac/Makefile
27d04e05 1132 src/libstrongswan/plugins/xcbc/Makefile
552cc11b 1133 src/libstrongswan/plugins/x509/Makefile
c2e5cee4 1134 src/libstrongswan/plugins/revocation/Makefile
01d30381 1135 src/libstrongswan/plugins/constraints/Makefile
affd7a90 1136 src/libstrongswan/plugins/pubkey/Makefile
1e0f6937 1137 src/libstrongswan/plugins/pkcs1/Makefile
5ec525c1 1138 src/libstrongswan/plugins/pkcs8/Makefile
9493dd2c 1139 src/libstrongswan/plugins/pgp/Makefile
5ef478aa 1140 src/libstrongswan/plugins/dnskey/Makefile
160f4c22 1141 src/libstrongswan/plugins/pem/Makefile
552cc11b 1142 src/libstrongswan/plugins/curl/Makefile
2ca52c80 1143 src/libstrongswan/plugins/soup/Makefile
552cc11b
MW
1144 src/libstrongswan/plugins/ldap/Makefile
1145 src/libstrongswan/plugins/mysql/Makefile
1146 src/libstrongswan/plugins/sqlite/Makefile
36d62fac 1147 src/libstrongswan/plugins/padlock/Makefile
17353034 1148 src/libstrongswan/plugins/openssl/Makefile
4977018c 1149 src/libstrongswan/plugins/gcrypt/Makefile
21c95463 1150 src/libstrongswan/plugins/agent/Makefile
6e862e21 1151 src/libstrongswan/plugins/pkcs11/Makefile
272f0e1a 1152 src/libstrongswan/plugins/ctr/Makefile
80a93a13 1153 src/libstrongswan/plugins/ccm/Makefile
1a649810 1154 src/libstrongswan/plugins/gcm/Makefile
71c87e34 1155 src/libstrongswan/plugins/af_alg/Makefile
81811a9d 1156 src/libstrongswan/plugins/test_vectors/Makefile
0bf68cbf 1157 src/libhydra/Makefile
a5ec3025 1158 src/libhydra/plugins/attr/Makefile
75dc0192 1159 src/libhydra/plugins/attr_sql/Makefile
062a6022
TB
1160 src/libhydra/plugins/kernel_klips/Makefile
1161 src/libhydra/plugins/kernel_netlink/Makefile
1162 src/libhydra/plugins/kernel_pfkey/Makefile
1163 src/libhydra/plugins/kernel_pfroute/Makefile
9a0333fa 1164 src/libhydra/plugins/resolve/Makefile
f2c2d395 1165 src/libfreeswan/Makefile
f8330d03 1166 src/libsimaka/Makefile
0f82a470 1167 src/libtls/Makefile
f0f94e2c 1168 src/libradius/Makefile
7c4d4d20 1169 src/libtncif/Makefile
f0fa002f 1170 src/libtnccs/Makefile
3ed943c3 1171 src/libpts/Makefile
b448e3ec
AS
1172 src/libpts/plugins/imc_attestation/Makefile
1173 src/libpts/plugins/imv_attestation/Makefile
510f37ab 1174 src/libimcv/Makefile
71ad7798
AS
1175 src/libimcv/plugins/imc_test/Makefile
1176 src/libimcv/plugins/imv_test/Makefile
d9cdab92
AS
1177 src/libimcv/plugins/imc_scanner/Makefile
1178 src/libimcv/plugins/imv_scanner/Makefile
f2c2d395 1179 src/pluto/Makefile
26ec52a4 1180 src/pluto/plugins/xauth/Makefile
f2c2d395
MW
1181 src/whack/Makefile
1182 src/charon/Makefile
1c7a733e 1183 src/charon-nm/Makefile
bd3f8ea3
TB
1184 src/libcharon/Makefile
1185 src/libcharon/plugins/eap_aka/Makefile
1186 src/libcharon/plugins/eap_aka_3gpp2/Makefile
1187 src/libcharon/plugins/eap_identity/Makefile
1188 src/libcharon/plugins/eap_md5/Makefile
1189 src/libcharon/plugins/eap_gtc/Makefile
1190 src/libcharon/plugins/eap_sim/Makefile
1191 src/libcharon/plugins/eap_sim_file/Makefile
80dca77a 1192 src/libcharon/plugins/eap_sim_pcsc/Makefile
d2c35874 1193 src/libcharon/plugins/eap_simaka_sql/Makefile
bd3f8ea3
TB
1194 src/libcharon/plugins/eap_simaka_pseudonym/Makefile
1195 src/libcharon/plugins/eap_simaka_reauth/Makefile
1196 src/libcharon/plugins/eap_mschapv2/Makefile
21079538 1197 src/libcharon/plugins/eap_tls/Makefile
26eb9b2d 1198 src/libcharon/plugins/eap_ttls/Makefile
1be296df 1199 src/libcharon/plugins/eap_peap/Makefile
d93e2e54 1200 src/libcharon/plugins/eap_tnc/Makefile
bd3f8ea3 1201 src/libcharon/plugins/eap_radius/Makefile
3d44d735 1202 src/libcharon/plugins/xauth_generic/Makefile
85fc1eb6 1203 src/libcharon/plugins/xauth_eap/Makefile
c77af768 1204 src/libcharon/plugins/tnc_ifmap/Makefile
70fd2d1a 1205 src/libcharon/plugins/tnc_pdp/Makefile
8dcc56dc
AS
1206 src/libcharon/plugins/tnc_imc/Makefile
1207 src/libcharon/plugins/tnc_imv/Makefile
f0a8bf47 1208 src/libcharon/plugins/tnc_tnccs/Makefile
4e8e74fc 1209 src/libcharon/plugins/tnccs_11/Makefile
6d0e9cf0 1210 src/libcharon/plugins/tnccs_20/Makefile
f652995b 1211 src/libcharon/plugins/tnccs_dynamic/Makefile
bd3f8ea3
TB
1212 src/libcharon/plugins/socket_default/Makefile
1213 src/libcharon/plugins/socket_raw/Makefile
1214 src/libcharon/plugins/socket_dynamic/Makefile
0d7b48a3 1215 src/libcharon/plugins/farp/Makefile
bd3f8ea3
TB
1216 src/libcharon/plugins/smp/Makefile
1217 src/libcharon/plugins/sql/Makefile
1218 src/libcharon/plugins/medsrv/Makefile
1219 src/libcharon/plugins/medcli/Makefile
1c8c9246 1220 src/libcharon/plugins/addrblock/Makefile
bd3f8ea3 1221 src/libcharon/plugins/uci/Makefile
d8748966 1222 src/libcharon/plugins/ha/Makefile
5e603aba 1223 src/libcharon/plugins/whitelist/Makefile
ba2201ed 1224 src/libcharon/plugins/certexpire/Makefile
30cd31fb 1225 src/libcharon/plugins/led/Makefile
3e74ebbe 1226 src/libcharon/plugins/duplicheck/Makefile
007c4708 1227 src/libcharon/plugins/coupling/Makefile
caf4b88e 1228 src/libcharon/plugins/radattr/Makefile
bd3f8ea3 1229 src/libcharon/plugins/android/Makefile
f79161e8 1230 src/libcharon/plugins/maemo/Makefile
bd3f8ea3
TB
1231 src/libcharon/plugins/stroke/Makefile
1232 src/libcharon/plugins/updown/Makefile
beaa048e 1233 src/libcharon/plugins/dhcp/Makefile
bd3f8ea3
TB
1234 src/libcharon/plugins/unit_tester/Makefile
1235 src/libcharon/plugins/load_tester/Makefile
f2c2d395
MW
1236 src/stroke/Makefile
1237 src/ipsec/Makefile
1238 src/starter/Makefile
1239 src/_updown/Makefile
1240 src/_updown_espmark/Makefile
1241 src/_copyright/Makefile
1242 src/openac/Makefile
1243 src/scepclient/Makefile
7c577c8e 1244 src/pki/Makefile
f2d6355e 1245 src/dumm/Makefile
2d9ce480 1246 src/dumm/ext/extconf.rb
552cc11b 1247 src/libfast/Makefile
b8c7453a 1248 src/manager/Makefile
9529fb68 1249 src/medsrv/Makefile
67a7bb02 1250 src/checksum/Makefile
e78ec86d 1251 src/conftest/Makefile
39b7780d 1252 scripts/Makefile
9ee1111d 1253 testing/Makefile
f2c2d395 1254)