2006-05-16 14:24:03 +00:00
|
|
|
dnl configure.in for linux strongSwan
|
|
|
|
dnl Copyright (C) 2006 Martin Willi
|
|
|
|
dnl Hochschule fuer Technik Rapperswil
|
2009-09-07 09:46:16 +00:00
|
|
|
dnl
|
2006-05-16 14:24:03 +00:00
|
|
|
dnl This program is free software; you can redistribute it and/or modify it
|
|
|
|
dnl under the terms of the GNU General Public License as published by the
|
|
|
|
dnl Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
dnl option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
2009-09-07 09:46:16 +00:00
|
|
|
dnl
|
2006-05-16 14:24:03 +00:00
|
|
|
dnl This program is distributed in the hope that it will be useful, but
|
|
|
|
dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
dnl for more details.
|
|
|
|
|
|
|
|
dnl ===========================
|
|
|
|
dnl initialize & set some vars
|
|
|
|
dnl ===========================
|
|
|
|
|
2009-08-18 16:35:37 +00:00
|
|
|
AC_INIT(strongSwan,4.3.5)
|
2006-05-30 08:51:48 +00:00
|
|
|
AM_INIT_AUTOMAKE(tar-ustar)
|
2006-05-16 14:24:03 +00:00
|
|
|
AC_SUBST(confdir, '${sysconfdir}')
|
2008-04-28 16:43:30 +00:00
|
|
|
PKG_PROG_PKG_CONFIG
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2006-05-17 14:21:38 +00:00
|
|
|
dnl =================================
|
|
|
|
dnl check --enable-xxx & --with-xxx
|
|
|
|
dnl =================================
|
|
|
|
|
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[default-pkcs11],
|
|
|
|
AS_HELP_STRING([--with-default-pkcs11=lib],[set the default PKCS11 library other than "/usr/lib/opensc-pkcs11.so"]),
|
|
|
|
[AC_DEFINE_UNQUOTED(PKCS11_DEFAULT_LIB, "$withval")],
|
|
|
|
[AC_DEFINE_UNQUOTED(PKCS11_DEFAULT_LIB, "/usr/lib/opensc-pkcs11.so")]
|
2006-05-17 14:21:38 +00:00
|
|
|
)
|
|
|
|
|
2007-01-05 11:02:38 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[xauth-module],
|
|
|
|
AS_HELP_STRING([--with-xauth-module=lib],[set the path to the XAUTH module]),
|
|
|
|
[AC_DEFINE_UNQUOTED(XAUTH_DEFAULT_LIB, "$withval")],
|
2007-01-05 11:02:38 +00:00
|
|
|
)
|
|
|
|
|
2006-05-17 14:21:38 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[random-device],
|
|
|
|
AS_HELP_STRING([--with-random-device=dev],[set the device for real random data other than "/dev/random"]),
|
|
|
|
[AC_DEFINE_UNQUOTED(DEV_RANDOM, "$withval")],
|
|
|
|
[AC_DEFINE_UNQUOTED(DEV_RANDOM, "/dev/random")]
|
2006-05-17 14:21:38 +00:00
|
|
|
)
|
2007-02-28 14:04:36 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[resolv-conf],
|
2009-04-24 14:14:43 +00:00
|
|
|
AS_HELP_STRING([--with-resolv-conf=file],[set the file to use in DNS handler plugin other than "sysconfdir/resolv.conf"]),
|
2008-05-22 21:59:54 +00:00
|
|
|
[AC_SUBST(resolv_conf, "$withval")],
|
|
|
|
[AC_SUBST(resolv_conf, "${sysconfdir}/resolv.conf")]
|
2007-02-28 14:04:36 +00:00
|
|
|
)
|
2006-05-17 14:21:38 +00:00
|
|
|
|
2008-04-07 06:56:33 +00:00
|
|
|
AC_ARG_WITH(
|
|
|
|
[strongswan-conf],
|
|
|
|
AS_HELP_STRING([--with-strongswan-conf=file],[strongswan.conf file other than "sysconfdir/strongswan.conf"]),
|
2008-05-22 21:59:54 +00:00
|
|
|
[AC_SUBST(strongswan_conf, "$withval")],
|
|
|
|
[AC_SUBST(strongswan_conf, "${sysconfdir}/strongswan.conf")]
|
2008-04-07 06:56:33 +00:00
|
|
|
)
|
|
|
|
|
2006-05-17 14:21:38 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[urandom-device],
|
|
|
|
AS_HELP_STRING([--with-urandom-device=dev],[set the device for pseudo random data other than "/dev/urandom"]),
|
|
|
|
[AC_DEFINE_UNQUOTED(DEV_URANDOM, "$withval")],
|
|
|
|
[AC_DEFINE_UNQUOTED(DEV_URANDOM, "/dev/urandom")]
|
2006-05-17 14:21:38 +00:00
|
|
|
)
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2008-01-20 17:57:38 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[piddir],
|
|
|
|
AS_HELP_STRING([--with-piddir=dir],[path for PID and UNIX socket files other than "/var/run"]),
|
|
|
|
[AC_SUBST(piddir, "$withval")],
|
|
|
|
[AC_SUBST(piddir, "/var/run")]
|
2008-01-20 17:57:38 +00:00
|
|
|
)
|
|
|
|
|
2007-02-12 15:56:47 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[ipsecdir],
|
|
|
|
AS_HELP_STRING([--with-ipsecdir=dir],[installation path for ipsec tools other than "libexecdir/ipsec"]),
|
|
|
|
[AC_SUBST(ipsecdir, "$withval")],
|
2008-10-10 07:33:37 +00:00
|
|
|
[AC_SUBST(ipsecdir, "${libexecdir%/}/ipsec")]
|
2007-02-12 15:56:47 +00:00
|
|
|
)
|
2008-10-10 07:33:37 +00:00
|
|
|
AC_SUBST(plugindir, "${ipsecdir%/}/plugins")
|
2007-02-12 15:56:47 +00:00
|
|
|
|
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[plugindir],
|
|
|
|
AS_HELP_STRING([--with-plugindir=dir],[installation path for plugins other than "ipsecdir/plugins"]),
|
|
|
|
[AC_SUBST(plugindir, "$withval")],
|
2008-10-10 07:33:37 +00:00
|
|
|
[AC_SUBST(plugindir, "${ipsecdir%/}/plugins")]
|
2007-02-12 15:56:47 +00:00
|
|
|
)
|
|
|
|
|
2007-03-14 15:39:45 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[sim-reader],
|
|
|
|
AS_HELP_STRING([--with-sim-reader=library.so],[library containing the sim_run_alg()/sim_get_triplet() function for EAP-SIM]),
|
|
|
|
[AC_SUBST(simreader, "$withval")],
|
2008-10-10 07:33:37 +00:00
|
|
|
[AC_SUBST(simreader, "${plugindir%/}/libeapsim-file.so")]
|
2007-03-14 15:39:45 +00:00
|
|
|
)
|
|
|
|
|
2007-04-19 08:59:36 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[linux-headers],
|
|
|
|
AS_HELP_STRING([--with-linux-headers=dir],[use the linux header files in dir instead of the supplied ones in "src/include"]),
|
2008-09-25 07:56:58 +00:00
|
|
|
[AC_SUBST(linuxdir, "$withval")], [AC_SUBST(linuxdir, "\${top_srcdir}/src/include")]
|
2007-04-19 08:59:36 +00:00
|
|
|
)
|
|
|
|
AC_SUBST(LINUX_HEADERS)
|
|
|
|
|
2007-08-27 11:15:35 +00:00
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[routing-table],
|
|
|
|
AS_HELP_STRING([--with-routing-table=num],[use routing table for IPsec routes (default: 220)]),
|
|
|
|
[AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE, $withval) AC_SUBST(IPSEC_ROUTING_TABLE, "$withval")],
|
|
|
|
[AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE, 220) AC_SUBST(IPSEC_ROUTING_TABLE, "220")]
|
2007-08-27 14:53:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_WITH(
|
2008-03-28 12:44:01 +00:00
|
|
|
[routing-table-prio],
|
|
|
|
AS_HELP_STRING([--with-routing-table-prio=prio],[priority for IPsec routing table (default: 220)]),
|
|
|
|
[AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE_PRIO, $withval) AC_SUBST(IPSEC_ROUTING_TABLE_PRIO, "$withval")],
|
|
|
|
[AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE_PRIO, 220) AC_SUBST(IPSEC_ROUTING_TABLE_PRIO, "220")]
|
2007-08-27 11:15:35 +00:00
|
|
|
)
|
|
|
|
|
2007-05-07 12:38:46 +00:00
|
|
|
AC_ARG_WITH(
|
2008-05-08 10:58:04 +00:00
|
|
|
[uid],,[AC_MSG_ERROR([--with-uid is gone, use --with-user instead!])]
|
2007-05-07 12:38:46 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_WITH(
|
2008-05-08 10:58:04 +00:00
|
|
|
[gid],,[AC_MSG_ERROR([--with-gid is gone, use --with-group instead!])]
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_WITH(
|
|
|
|
[user],
|
2009-07-16 08:59:20 +00:00
|
|
|
AS_HELP_STRING([--with-user=user],[change user of the daemons to "user" after startup (default is "root").]),
|
2008-05-08 10:58:04 +00:00
|
|
|
[AC_DEFINE_UNQUOTED(IPSEC_USER, "$withval") AC_SUBST(ipsecuser, "$withval")],
|
|
|
|
[AC_SUBST(ipsecuser, "root")]
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_WITH(
|
|
|
|
[group],
|
2009-07-16 08:59:20 +00:00
|
|
|
AS_HELP_STRING([--with-group=group],[change group of the daemons to "group" after startup (default is "root").]),
|
2008-05-08 10:58:04 +00:00
|
|
|
[AC_DEFINE_UNQUOTED(IPSEC_GROUP, "$withval") AC_SUBST(ipsecgroup, "$withval")],
|
|
|
|
[AC_SUBST(ipsecgroup, "root")]
|
2007-05-07 12:38:46 +00:00
|
|
|
)
|
|
|
|
|
2008-08-29 09:24:14 +00:00
|
|
|
dnl Will be extended to --with-capabilities=libcap|libcap2
|
|
|
|
AC_ARG_WITH(
|
|
|
|
[capabilities],
|
|
|
|
AS_HELP_STRING([--with-capabilities=libcap],[capability dropping using libcap. Currenlty only the value "libcap" is supported (default is NO).]),
|
|
|
|
[capabilities="$withval"],
|
|
|
|
[capabilities=no]
|
|
|
|
)
|
|
|
|
|
2006-05-16 14:24:03 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[curl],
|
|
|
|
AS_HELP_STRING([--enable-curl],[enable CURL fetcher plugin to fetch files via libcurl (default is NO). Requires libcurl.]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
curl=true
|
|
|
|
fi]
|
2006-05-16 14:24:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[ldap],
|
|
|
|
AS_HELP_STRING([--enable-ldap],[enable LDAP fetching plugin to fetch files via libldap (default is NO). Requires openLDAP.]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
ldap=true
|
|
|
|
fi]
|
2006-05-16 14:24:03 +00:00
|
|
|
)
|
2008-03-13 14:14:44 +00:00
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[aes],
|
|
|
|
AS_HELP_STRING([--disable-aes],[disable own AES software implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
aes=true
|
|
|
|
else
|
|
|
|
aes=false
|
|
|
|
fi],
|
|
|
|
aes=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[des],
|
|
|
|
AS_HELP_STRING([--disable-des],[disable own DES/3DES software implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
des=true
|
|
|
|
else
|
|
|
|
des=false
|
|
|
|
fi],
|
|
|
|
des=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2009-05-08 22:04:15 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[blowfish],
|
|
|
|
AS_HELP_STRING([--enable-blowfish],[enable Blowfish software implementation plugin (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
blowfish=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2009-02-19 10:06:58 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[md4],
|
|
|
|
AS_HELP_STRING([--enable-md4],[enable MD4 software implementation plugin (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
md4=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[md5],
|
|
|
|
AS_HELP_STRING([--disable-md5],[disable own MD5 software implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
md5=true
|
|
|
|
else
|
|
|
|
md5=false
|
|
|
|
fi],
|
|
|
|
md5=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[sha1],
|
|
|
|
AS_HELP_STRING([--disable-sha1],[disable own SHA1 software implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
sha1=true
|
|
|
|
else
|
|
|
|
sha1=false
|
|
|
|
fi],
|
|
|
|
sha1=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[sha2],
|
|
|
|
AS_HELP_STRING([--disable-sha2],[disable own SHA256/SHA384/SHA512 software implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
sha2=true
|
|
|
|
else
|
|
|
|
sha2=false
|
|
|
|
fi],
|
|
|
|
sha2=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[fips-prf],
|
|
|
|
AS_HELP_STRING([--disable-fips-prf],[disable FIPS PRF software implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
fips_prf=true
|
|
|
|
else
|
|
|
|
fips_prf=false
|
|
|
|
fi],
|
|
|
|
fips_prf=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[gmp],
|
|
|
|
AS_HELP_STRING([--disable-gmp],[disable own GNU MP (libgmp) based crypto implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
gmp=true
|
|
|
|
else
|
|
|
|
gmp=false
|
|
|
|
fi],
|
|
|
|
gmp=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2008-04-15 05:56:35 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[random],
|
|
|
|
AS_HELP_STRING([--disable-random],[disable RNG implementation on top of /dev/(u)random. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
random=true
|
|
|
|
else
|
|
|
|
random=false
|
|
|
|
fi],
|
|
|
|
random=true
|
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[x509],
|
|
|
|
AS_HELP_STRING([--disable-x509],[disable own X509 certificate implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
x509=true
|
|
|
|
else
|
|
|
|
x509=false
|
|
|
|
fi],
|
|
|
|
x509=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2008-05-08 13:16:42 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[pubkey],
|
|
|
|
AS_HELP_STRING([--disable-pubkey],[disable RAW public key support plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
pubkey=true
|
|
|
|
else
|
|
|
|
pubkey=false
|
|
|
|
fi],
|
|
|
|
pubkey=true
|
|
|
|
)
|
|
|
|
|
2009-08-14 14:48:40 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[pkcs1],
|
2009-08-26 15:29:57 +00:00
|
|
|
AS_HELP_STRING([--disable-pkcs1],[disable PKCS1 key decoding plugin. (default is NO).]),
|
2009-08-14 14:48:40 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
pkcs1=true
|
|
|
|
else
|
|
|
|
pkcs1=false
|
|
|
|
fi],
|
|
|
|
pkcs1=true
|
|
|
|
)
|
|
|
|
|
2009-08-17 11:46:04 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[pgp],
|
2009-08-26 15:29:57 +00:00
|
|
|
AS_HELP_STRING([--disable-pgp],[disable PGP key decoding plugin. (default is NO).]),
|
2009-08-17 11:46:04 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
pgp=true
|
|
|
|
else
|
|
|
|
pgp=false
|
|
|
|
fi],
|
|
|
|
pgp=true
|
|
|
|
)
|
|
|
|
|
2009-08-17 12:45:52 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[dnskey],
|
|
|
|
AS_HELP_STRING([--disable-dnskey],[disable DNS RR key decoding plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
dnskey=true
|
|
|
|
else
|
|
|
|
dnskey=false
|
|
|
|
fi],
|
|
|
|
dnskey=true
|
|
|
|
)
|
|
|
|
|
2009-08-11 14:24:01 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[pem],
|
|
|
|
AS_HELP_STRING([--disable-pem],[disable PEM decoding plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
pem=true
|
|
|
|
else
|
|
|
|
pem=false
|
|
|
|
fi],
|
|
|
|
pem=true
|
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[hmac],
|
|
|
|
AS_HELP_STRING([--disable-hmac],[disable HMAC crypto implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
hmac=true
|
|
|
|
else
|
|
|
|
hmac=false
|
|
|
|
fi],
|
|
|
|
hmac=true
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2008-04-30 14:26:24 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[xcbc],
|
|
|
|
AS_HELP_STRING([--disable-xcbc],[disable xcbc crypto implementation plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
xcbc=true
|
|
|
|
else
|
|
|
|
xcbc=false
|
|
|
|
fi],
|
|
|
|
xcbc=true
|
|
|
|
)
|
|
|
|
|
2009-06-11 09:09:33 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[test-vectors],
|
2009-06-12 08:42:07 +00:00
|
|
|
AS_HELP_STRING([--enable-test-vectors],[enable plugin providing crypto test vectors (default is NO).]),
|
2009-06-11 09:09:33 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
test_vectors=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[mysql],
|
|
|
|
AS_HELP_STRING([--enable-mysql],[enable MySQL database support (default is NO). Requires libmysqlclient_r.]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
mysql=true
|
|
|
|
fi]
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[sqlite],
|
|
|
|
AS_HELP_STRING([--enable-sqlite],[enable SQLite database support (default is NO). Requires libsqlite3.]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
sqlite=true
|
|
|
|
fi]
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2007-12-03 14:47:15 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[stroke],
|
|
|
|
AS_HELP_STRING([--disable-stroke],[disable charons stroke (pluto compatibility) configuration backend. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
stroke=true
|
|
|
|
else
|
|
|
|
stroke=false
|
|
|
|
fi],
|
|
|
|
stroke=true
|
2007-12-03 14:47:15 +00:00
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-05-08 12:11:30 +00:00
|
|
|
[medsrv],
|
2008-06-11 14:13:24 +00:00
|
|
|
AS_HELP_STRING([--enable-medsrv],[enable mediation server web frontend and daemon plugin (default is NO).]),
|
2008-03-28 12:44:01 +00:00
|
|
|
[if test x$enableval = xyes; then
|
2008-05-08 12:11:30 +00:00
|
|
|
medsrv=true
|
2008-03-28 12:44:01 +00:00
|
|
|
fi]
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2008-05-14 07:26:19 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[medcli],
|
|
|
|
AS_HELP_STRING([--enable-medcli],[enable mediation client configuration database plugin (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
medcli=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2007-04-27 14:25:08 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[smp],
|
|
|
|
AS_HELP_STRING([--enable-smp],[enable SMP configuration and control interface (default is NO). Requires libxml.]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
smp=true
|
|
|
|
fi]
|
2007-04-27 14:25:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[sql],
|
|
|
|
AS_HELP_STRING([--enable-sql],[enable SQL database configuration backend (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
sql=true
|
|
|
|
fi]
|
2007-04-27 14:25:08 +00:00
|
|
|
)
|
|
|
|
|
2007-09-18 07:12:21 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[smartcard],
|
|
|
|
AS_HELP_STRING([--enable-smartcard],[enable smartcard support (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
smartcard=true
|
|
|
|
fi]
|
2007-09-18 07:12:21 +00:00
|
|
|
)
|
|
|
|
|
2006-05-16 14:24:03 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[cisco-quirks],
|
|
|
|
AS_HELP_STRING([--enable-cisco-quirks],[enable support of Cisco VPN client (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
cisco_quirks=true
|
|
|
|
fi]
|
2006-05-16 14:24:03 +00:00
|
|
|
)
|
|
|
|
|
2007-01-04 14:26:27 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[leak-detective],
|
|
|
|
AS_HELP_STRING([--enable-leak-detective],[enable malloc hooks to find memory leaks (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
leak_detective=true
|
|
|
|
fi]
|
2007-01-04 14:26:27 +00:00
|
|
|
)
|
|
|
|
|
2008-11-05 14:36:57 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[lock-profiler],
|
2008-11-19 15:37:46 +00:00
|
|
|
AS_HELP_STRING([--enable-lock-profiler],[enable lock/mutex profiling code (default is NO).]),
|
2008-11-05 14:36:57 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
lock_profiler=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2006-05-16 14:24:03 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[unit-tests],
|
|
|
|
AS_HELP_STRING([--enable-unit-tests],[enable unit tests on IKEv2 daemon startup (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
unittest=true
|
|
|
|
fi]
|
2006-05-16 14:24:03 +00:00
|
|
|
)
|
|
|
|
|
2008-10-21 13:00:38 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[load-tests],
|
|
|
|
AS_HELP_STRING([--enable-load-tests],[enable load testing plugin for IKEv2 daemon (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
loadtest=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[eap-sim],
|
|
|
|
AS_HELP_STRING([--enable-eap-sim],[build SIM authenication module for EAP (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_sim=true
|
|
|
|
fi]
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2008-10-10 08:36:01 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[eap-sim-file],
|
|
|
|
AS_HELP_STRING([--enable-eap-sim-file],[build EAP-SIM backend based on a triplet file (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_sim_file=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2007-03-13 15:01:02 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[eap-identity],
|
|
|
|
AS_HELP_STRING([--enable-eap-identity],[build EAP module providing EAP-Identity helper (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_identity=true
|
|
|
|
fi]
|
2007-03-13 15:01:02 +00:00
|
|
|
)
|
2007-12-03 14:47:15 +00:00
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[eap-md5],
|
|
|
|
AS_HELP_STRING([--enable-eap-md5],[build MD5 (CHAP) authenication module for EAP (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_md5=true
|
|
|
|
fi]
|
2007-12-03 14:47:15 +00:00
|
|
|
)
|
2007-12-13 10:54:29 +00:00
|
|
|
|
2008-08-21 12:10:07 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[eap-gtc],
|
|
|
|
AS_HELP_STRING([--enable-eap-gtc],[build PAM based GTC authenication module for EAP (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_gtc=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2007-12-13 10:54:29 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[eap-aka],
|
|
|
|
AS_HELP_STRING([--enable-eap-aka],[build AKA authentication module for EAP (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_aka=true
|
|
|
|
fi]
|
2007-12-13 10:54:29 +00:00
|
|
|
)
|
2007-03-13 15:01:02 +00:00
|
|
|
|
2009-02-18 19:57:15 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[eap-mschapv2],
|
|
|
|
AS_HELP_STRING([--enable-eap-mschapv2],[build MS-CHAPv2 authenication module for EAP (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_mschapv2=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2009-03-24 10:24:58 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[eap-radius],
|
|
|
|
AS_HELP_STRING([--enable-eap-radius],[build RADIUS proxy authenication module for EAP (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
eap_radius=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2008-10-03 03:27:42 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[kernel-netlink],
|
|
|
|
AS_HELP_STRING([--disable-kernel-netlink],[disable the netlink kernel interface. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
kernel_netlink=true
|
|
|
|
else
|
|
|
|
kernel_netlink=false
|
|
|
|
fi],
|
|
|
|
kernel_netlink=true
|
|
|
|
)
|
|
|
|
|
2008-10-14 08:46:31 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[kernel-pfkey],
|
|
|
|
AS_HELP_STRING([--enable-kernel-pfkey],[enable the PF_KEY kernel interface. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
kernel_pfkey=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2009-04-30 17:13:45 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[kernel-pfroute],
|
|
|
|
AS_HELP_STRING([--enable-kernel-pfroute],[enable the PF_ROUTE kernel interface. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
kernel_pfroute=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2008-11-11 09:22:00 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[kernel-klips],
|
|
|
|
AS_HELP_STRING([--enable-kernel-klips],[enable the KLIPS kernel interface. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
kernel_klips=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2007-04-03 07:58:21 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[nat-transport],
|
|
|
|
AS_HELP_STRING([--enable-nat-transport],[enable NAT traversal with IPsec transport mode (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
nat_transport=true
|
|
|
|
fi]
|
2007-04-03 07:58:21 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[vendor-id],
|
|
|
|
AS_HELP_STRING([--disable-vendor-id],[disable the sending of the strongSwan vendor ID (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
vendor_id=true
|
|
|
|
else
|
|
|
|
vendor_id=false
|
|
|
|
fi],
|
|
|
|
vendor_id=true
|
2007-04-03 07:58:21 +00:00
|
|
|
)
|
|
|
|
|
2007-09-02 11:13:24 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[xauth-vid],
|
|
|
|
AS_HELP_STRING([--disable-xauth-vid],[disable the sending of the XAUTH vendor ID (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
xauth_vid=true
|
|
|
|
else
|
|
|
|
xauth_vid=false
|
|
|
|
fi],
|
|
|
|
xauth_vid=true
|
2007-09-02 11:13:24 +00:00
|
|
|
)
|
|
|
|
|
2007-08-08 14:24:25 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[dumm],
|
|
|
|
AS_HELP_STRING([--enable-dumm],[build the DUMM UML test framework (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
dumm=true
|
|
|
|
fi]
|
2007-08-08 14:24:25 +00:00
|
|
|
)
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[fast],
|
|
|
|
AS_HELP_STRING([--enable-fast],[build libfast (FastCGI Application Server w/ templates (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
fast=true
|
|
|
|
fi]
|
2008-03-13 14:14:44 +00:00
|
|
|
)
|
|
|
|
|
2007-09-13 07:45:04 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[manager],
|
|
|
|
AS_HELP_STRING([--enable-manager],[build web management console (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
manager=true
|
|
|
|
xml=true
|
|
|
|
fi]
|
2007-09-13 07:45:04 +00:00
|
|
|
)
|
|
|
|
|
2007-10-03 15:10:41 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[mediation],
|
|
|
|
AS_HELP_STRING([--enable-mediation],[enable IKEv2 Mediation Extension (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
me=true
|
|
|
|
fi]
|
2007-10-03 15:10:41 +00:00
|
|
|
)
|
|
|
|
|
2007-08-28 06:36:31 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[integrity-test],
|
2009-06-19 14:39:44 +00:00
|
|
|
AS_HELP_STRING([--enable-integrity-test],[enable integrity testing of libstrongswan and plugins (default is NO).]),
|
2008-03-28 12:44:01 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
integrity_test=true
|
|
|
|
fi]
|
2007-08-28 06:36:31 +00:00
|
|
|
)
|
|
|
|
|
2007-11-26 11:20:00 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[pluto],
|
|
|
|
AS_HELP_STRING([--disable-pluto],[disable the IKEv1 keying daemon pluto. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
pluto=true
|
|
|
|
else
|
|
|
|
pluto=false
|
|
|
|
fi],
|
|
|
|
pluto=true
|
2007-12-03 14:47:15 +00:00
|
|
|
)
|
|
|
|
|
2008-12-02 09:01:57 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[threads],
|
|
|
|
AS_HELP_STRING([--disable-threads],[disable the use of threads in pluto. Charon always uses threads. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
threads=true
|
|
|
|
else
|
|
|
|
threads=false
|
|
|
|
fi],
|
|
|
|
threads=true
|
|
|
|
)
|
|
|
|
|
2007-12-03 14:47:15 +00:00
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[charon],
|
|
|
|
AS_HELP_STRING([--disable-charon],[disable the IKEv2 keying daemon charon. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
charon=true
|
|
|
|
else
|
|
|
|
charon=false
|
|
|
|
fi],
|
|
|
|
charon=true
|
2007-12-03 14:47:15 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
2008-03-28 12:44:01 +00:00
|
|
|
[tools],
|
2009-08-26 09:22:09 +00:00
|
|
|
AS_HELP_STRING([--disable-tools],[disable additional utilities (openac, scepclient and pki). (default is NO).]),
|
2008-03-28 12:44:01 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
tools=true
|
|
|
|
else
|
|
|
|
tools=false
|
|
|
|
fi],
|
|
|
|
tools=true
|
2007-11-26 11:20:00 +00:00
|
|
|
)
|
|
|
|
|
2009-07-16 08:52:14 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[scripts],
|
|
|
|
AS_HELP_STRING([--disable-scripts],[disable additional utilities (found in directory scripts). (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
scripts=true
|
|
|
|
else
|
|
|
|
scripts=false
|
|
|
|
fi],
|
|
|
|
scripts=true
|
|
|
|
)
|
|
|
|
|
2008-06-06 08:24:39 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[updown],
|
2008-10-16 11:48:18 +00:00
|
|
|
AS_HELP_STRING([--disable-updown],[disable updown firewall script plugin. (default is NO).]),
|
2008-06-06 08:24:39 +00:00
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
updown=true
|
|
|
|
else
|
|
|
|
updown=false
|
|
|
|
fi],
|
|
|
|
updown=true
|
|
|
|
)
|
|
|
|
|
2009-04-24 14:14:43 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[attr],
|
|
|
|
AS_HELP_STRING([--disable-attr],[disable strongswan.conf based configuration attribute plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
attr=true
|
|
|
|
else
|
|
|
|
attr=false
|
|
|
|
fi],
|
|
|
|
attr=true
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[resolv-conf],
|
|
|
|
AS_HELP_STRING([--disable-resolv-conf],[disable resolv.conf DNS handler plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
resolvconf=true
|
|
|
|
else
|
|
|
|
resolvconf=false
|
|
|
|
fi],
|
|
|
|
resolvconf=true
|
|
|
|
)
|
|
|
|
|
2008-04-22 08:44:56 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[padlock],
|
|
|
|
AS_HELP_STRING([--enable-padlock],[enables VIA Padlock crypto plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
padlock=true
|
|
|
|
else
|
|
|
|
padlock=false
|
|
|
|
fi],
|
|
|
|
)
|
|
|
|
|
2008-04-28 14:25:19 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[openssl],
|
|
|
|
AS_HELP_STRING([--enable-openssl],[enables the OpenSSL crypto plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
openssl=true
|
|
|
|
else
|
|
|
|
openssl=false
|
|
|
|
fi],
|
|
|
|
)
|
|
|
|
|
2009-06-04 12:23:39 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[gcrypt],
|
|
|
|
AS_HELP_STRING([--enable-gcrypt],[enables the libgcrypt plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
gcrypt=true
|
|
|
|
else
|
|
|
|
gcrypt=false
|
|
|
|
fi],
|
|
|
|
)
|
|
|
|
|
2008-09-02 11:04:26 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[agent],
|
|
|
|
AS_HELP_STRING([--enable-agent],[enables the ssh-agent signing plugin. (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
agent=true
|
|
|
|
else
|
|
|
|
agent=false
|
|
|
|
fi],
|
|
|
|
)
|
|
|
|
|
2008-06-17 14:17:51 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[uci],
|
|
|
|
AS_HELP_STRING([--enable-uci],[enable OpenWRT UCI configuration plugin (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
uci=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2008-07-31 11:16:14 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[nm],
|
|
|
|
AS_HELP_STRING([--enable-nm],[enable NetworkManager plugin (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
nm=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2009-04-24 03:32:17 +00:00
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[vstr],
|
|
|
|
AS_HELP_STRING([--enable-vstr],[enforce using the Vstr string library to replace glibc-like printf hooks (default is NO).]),
|
|
|
|
[if test x$enableval = xyes; then
|
|
|
|
vstr=true
|
|
|
|
fi]
|
|
|
|
)
|
|
|
|
|
2009-04-27 11:34:07 +00:00
|
|
|
dnl =========================
|
|
|
|
dnl set up compiler and flags
|
|
|
|
dnl =========================
|
|
|
|
|
|
|
|
if test -z "$CFLAGS"; then
|
2009-07-15 14:04:37 +00:00
|
|
|
CFLAGS="-g -O2 -Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing"
|
2009-04-27 11:34:07 +00:00
|
|
|
fi
|
|
|
|
AC_PROG_CC
|
2009-07-15 14:04:37 +00:00
|
|
|
AC_LIB_PREFIX
|
2009-04-27 11:34:07 +00:00
|
|
|
AC_C_BIGENDIAN
|
|
|
|
|
2006-05-16 14:24:03 +00:00
|
|
|
dnl =========================
|
|
|
|
dnl check required programs
|
|
|
|
dnl =========================
|
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LIBTOOL
|
2009-07-20 19:01:13 +00:00
|
|
|
AC_PROG_EGREP
|
2009-07-16 12:59:30 +00:00
|
|
|
AC_PROG_AWK
|
2006-05-16 14:24:03 +00:00
|
|
|
AC_PROG_LEX
|
|
|
|
AC_PROG_YACC
|
2006-05-24 06:36:46 +00:00
|
|
|
AC_PATH_PROG([PERL], [perl], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
|
2009-07-16 12:59:30 +00:00
|
|
|
AC_PATH_PROG([GPERF], [gperf], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
|
|
|
|
|
|
|
|
dnl because gperf is not needed by end-users we just report it but do not abort on failure
|
|
|
|
AC_MSG_CHECKING([gperf version >= 3.0.0])
|
|
|
|
if test -x "$GPERF"; then
|
|
|
|
if test "`$GPERF --version | $AWK -F' ' '/^GNU gperf/ { print $3 }' | $AWK -F. '{ print $1 }'`" -ge "3"; then
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([no])
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([not found])
|
|
|
|
fi
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2009-07-20 19:01:13 +00:00
|
|
|
dnl translate user/group to numercial ids
|
|
|
|
AC_MSG_CHECKING([for uid of user "$ipsecuser"])
|
|
|
|
ipsecuid=`id -u $ipsecuser 2>/dev/null`
|
|
|
|
if test -n "$ipsecuid"; then
|
|
|
|
AC_MSG_RESULT([$ipsecuid])
|
|
|
|
AC_SUBST(ipsecuid)
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([not found])
|
|
|
|
fi
|
|
|
|
AC_MSG_CHECKING([for gid of group "$ipsecgroup"])
|
2009-07-20 19:20:03 +00:00
|
|
|
ipsecgid=`$EGREP "^$ipsecgroup:" /etc/group | $AWK -F: '{ print $3 }'`
|
2009-07-20 19:01:13 +00:00
|
|
|
if test -n "$ipsecgid"; then
|
|
|
|
AC_MSG_RESULT([$ipsecgid])
|
|
|
|
AC_SUBST(ipsecgid)
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([not found])
|
|
|
|
fi
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
dnl =========================
|
|
|
|
dnl dependency calculation
|
|
|
|
dnl =========================
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2009-06-16 12:53:16 +00:00
|
|
|
if test x$eap_aka = xtrue; then
|
|
|
|
gmp=true;
|
|
|
|
fips_prf=true;
|
|
|
|
sha1=true;
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test x$eap_sim = xtrue; then
|
|
|
|
fips_prf=true;
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test x$fips_prf = xtrue; then
|
|
|
|
sha1=true;
|
|
|
|
fi
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if test x$smp = xtrue; then
|
|
|
|
xml=true
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test x$manager = xtrue; then
|
|
|
|
fast=true
|
|
|
|
fi
|
|
|
|
|
2008-05-14 07:26:19 +00:00
|
|
|
if test x$medsrv = xtrue; then
|
|
|
|
me=true
|
2008-06-11 14:13:24 +00:00
|
|
|
fast=true
|
2008-05-14 07:26:19 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if test x$medcli = xtrue; then
|
|
|
|
me=true
|
|
|
|
fi
|
|
|
|
|
2009-05-06 11:30:38 +00:00
|
|
|
dnl ===========================================
|
2008-03-28 12:44:01 +00:00
|
|
|
dnl check required libraries and header files
|
2009-05-06 11:30:38 +00:00
|
|
|
dnl ===========================================
|
|
|
|
|
|
|
|
AC_HEADER_STDBOOL
|
2009-08-14 11:25:22 +00:00
|
|
|
AC_FUNC_ALLOCA
|
2008-03-28 12:44:01 +00:00
|
|
|
|
2009-08-07 16:30:40 +00:00
|
|
|
dnl libraries needed on some platforms but not on others
|
|
|
|
dnl ====================================================
|
2009-04-30 17:13:45 +00:00
|
|
|
saved_LIBS=$LIBS
|
2009-08-07 16:30:40 +00:00
|
|
|
|
2009-08-14 12:42:03 +00:00
|
|
|
dnl FreeBSD and Mac OS X have dlopen integrated in libc, Linux needs libdl
|
2009-04-30 17:13:45 +00:00
|
|
|
LIBS=""
|
|
|
|
AC_SEARCH_LIBS(dlopen, dl, [DLLIB=$LIBS])
|
|
|
|
AC_SUBST(DLLIB)
|
|
|
|
|
2009-08-07 16:30:40 +00:00
|
|
|
dnl glibc's backtrace() can be replicated on FreeBSD with libexecinfo
|
|
|
|
LIBS=""
|
|
|
|
AC_SEARCH_LIBS(backtrace, execinfo, [BTLIB=$LIBS])
|
|
|
|
AC_CHECK_FUNCS(backtrace)
|
|
|
|
AC_SUBST(BTLIB)
|
|
|
|
|
2009-08-14 12:42:03 +00:00
|
|
|
dnl OpenSolaris needs libsocket and libnsl for socket()
|
|
|
|
LIBS=""
|
|
|
|
AC_SEARCH_LIBS(socket, socket, [SOCKLIB=$LIBS],
|
|
|
|
[AC_CHECK_LIB(nsl, socket, [SOCKLIB="-lsocket -lnsl"], [], [-lsocket])]
|
|
|
|
)
|
|
|
|
AC_SUBST(SOCKLIB)
|
|
|
|
|
2009-08-31 13:03:35 +00:00
|
|
|
dnl FreeBSD has clock_gettime in libc, Linux needs librt
|
|
|
|
LIBS=""
|
|
|
|
AC_SEARCH_LIBS(clock_gettime, rt, [RTLIB=$LIBS])
|
|
|
|
AC_CHECK_FUNCS(clock_gettime)
|
|
|
|
AC_SUBST(RTLIB)
|
|
|
|
|
2009-08-07 16:30:40 +00:00
|
|
|
LIBS=$saved_LIBS
|
|
|
|
dnl ======================
|
|
|
|
|
2009-05-04 11:59:44 +00:00
|
|
|
AC_MSG_CHECKING(for dladdr)
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#define _GNU_SOURCE
|
|
|
|
#include <dlfcn.h>],
|
|
|
|
[Dl_info* info = 0;
|
|
|
|
dladdr(0, info);],
|
|
|
|
[AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_DLADDR])],
|
|
|
|
[AC_MSG_RESULT([no])]
|
|
|
|
)
|
|
|
|
|
2009-08-31 13:13:48 +00:00
|
|
|
dnl check if pthread_condattr_setclock(CLOCK_MONOTONE) is supported
|
|
|
|
saved_LIBS=$LIBS
|
|
|
|
LIBS="-lpthread"
|
|
|
|
AC_MSG_CHECKING([for pthread_condattr_setclock(CLOCK_MONOTONE)])
|
|
|
|
AC_TRY_RUN(
|
|
|
|
[#include <pthread.h>
|
|
|
|
int main() { pthread_condattr_t attr;
|
|
|
|
pthread_condattr_init(&attr);
|
|
|
|
return pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);}],
|
|
|
|
[AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_CONDATTR_CLOCK_MONOTONIC])],
|
|
|
|
[AC_MSG_RESULT([no])]
|
|
|
|
)
|
|
|
|
LIBS=$saved_LIBS
|
|
|
|
|
2009-05-08 13:21:31 +00:00
|
|
|
AC_CHECK_FUNCS(prctl)
|
|
|
|
|
2009-08-14 12:02:27 +00:00
|
|
|
AC_CHECK_HEADERS(sys/sockio.h)
|
2009-08-06 08:01:59 +00:00
|
|
|
AC_CHECK_HEADERS(net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h)
|
2009-04-30 17:13:45 +00:00
|
|
|
|
|
|
|
AC_CHECK_MEMBERS([struct sockaddr.sa_len], [], [],
|
|
|
|
[
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
])
|
|
|
|
|
|
|
|
AC_CHECK_MEMBERS([struct sadb_x_policy.sadb_x_policy_priority], [], [],
|
|
|
|
[
|
|
|
|
#include <sys/types.h>
|
|
|
|
#ifdef HAVE_NET_PFKEYV2_H
|
|
|
|
#include <net/pfkeyv2.h>
|
|
|
|
#else
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <linux/pfkeyv2.h>
|
|
|
|
#endif
|
|
|
|
])
|
2006-12-06 13:59:13 +00:00
|
|
|
|
2009-05-20 18:15:06 +00:00
|
|
|
AC_MSG_CHECKING([for IPSEC_MODE_BEET])
|
|
|
|
AC_TRY_COMPILE(
|
2009-05-21 08:03:27 +00:00
|
|
|
[#include <sys/types.h>
|
|
|
|
#ifdef HAVE_NETIPSEC_IPSEC_H
|
2009-05-20 18:15:06 +00:00
|
|
|
#include <netipsec/ipsec.h>
|
|
|
|
#elif defined(HAVE_NETINET6_IPSEC_H)
|
|
|
|
#include <netinet6/ipsec.h>
|
|
|
|
#else
|
2009-05-21 08:03:27 +00:00
|
|
|
#include <stdint.h>
|
2009-05-20 18:15:06 +00:00
|
|
|
#include <linux/ipsec.h>
|
|
|
|
#endif],
|
|
|
|
[int mode = IPSEC_MODE_BEET;
|
|
|
|
return mode;],
|
|
|
|
[AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IPSEC_MODE_BEET])],
|
|
|
|
[AC_MSG_RESULT([no])]
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([for IPSEC_DIR_FWD])
|
|
|
|
AC_TRY_COMPILE(
|
2009-05-21 08:03:27 +00:00
|
|
|
[#include <sys/types.h>
|
|
|
|
#ifdef HAVE_NETIPSEC_IPSEC_H
|
2009-05-20 18:15:06 +00:00
|
|
|
#include <netipsec/ipsec.h>
|
|
|
|
#elif defined(HAVE_NETINET6_IPSEC_H)
|
|
|
|
#include <netinet6/ipsec.h>
|
|
|
|
#else
|
2009-05-21 08:03:27 +00:00
|
|
|
#include <stdint.h>
|
2009-05-20 18:15:06 +00:00
|
|
|
#include <linux/ipsec.h>
|
|
|
|
#endif],
|
|
|
|
[int dir = IPSEC_DIR_FWD;
|
|
|
|
return dir;],
|
|
|
|
[AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IPSEC_DIR_FWD])],
|
|
|
|
[AC_MSG_RESULT([no])]
|
|
|
|
)
|
|
|
|
|
2008-12-02 12:14:32 +00:00
|
|
|
AC_MSG_CHECKING([for gcc atomic operations])
|
|
|
|
AC_TRY_RUN(
|
|
|
|
[
|
|
|
|
int main() {
|
|
|
|
volatile int ref = 1;
|
|
|
|
__sync_fetch_and_add (&ref, 1);
|
|
|
|
__sync_sub_and_fetch (&ref, 1);
|
|
|
|
/* Make sure test fails if operations are not supported */
|
|
|
|
__sync_val_compare_and_swap(&ref, 1, 0);
|
|
|
|
return ref;
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_GCC_ATOMIC_OPERATIONS)],
|
2009-01-13 10:38:16 +00:00
|
|
|
[AC_MSG_RESULT([no])],
|
2008-12-02 12:14:32 +00:00
|
|
|
[AC_MSG_RESULT([no])])
|
|
|
|
|
2009-03-12 18:07:32 +00:00
|
|
|
AC_CHECK_FUNC(
|
|
|
|
[register_printf_function],
|
|
|
|
[AC_DEFINE(HAVE_PRINTF_HOOKS)],
|
|
|
|
[
|
|
|
|
AC_MSG_NOTICE([printf does not support custom format specifiers!])
|
2009-04-24 03:32:17 +00:00
|
|
|
vstr=true
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
if test x$vstr = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([vstr],[LIBS="$LIBS"],[AC_MSG_ERROR([Vstr string library not found])])
|
|
|
|
AC_DEFINE(USE_VSTR)
|
|
|
|
fi
|
2009-03-12 18:07:32 +00:00
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if test x$gmp = xtrue; then
|
2008-05-07 14:41:13 +00:00
|
|
|
AC_HAVE_LIBRARY([gmp],[LIBS="$LIBS"],[AC_MSG_ERROR([GNU Multi Precision library gmp not found])])
|
2008-03-28 12:44:01 +00:00
|
|
|
AC_MSG_CHECKING([gmp.h version >= 4.1.4])
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#include "gmp.h"],
|
|
|
|
[
|
|
|
|
#if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
|
|
|
|
#error bad gmp
|
|
|
|
#endif
|
2009-09-07 09:46:16 +00:00
|
|
|
],
|
2008-03-28 12:44:01 +00:00
|
|
|
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([No usable gmp.h found!])]
|
|
|
|
)
|
2006-05-16 14:24:03 +00:00
|
|
|
fi
|
2008-03-28 12:44:01 +00:00
|
|
|
|
|
|
|
if test x$ldap = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([ldap],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library ldap not found])])
|
|
|
|
AC_HAVE_LIBRARY([lber],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library lber not found])])
|
|
|
|
AC_CHECK_HEADER([ldap.h],,[AC_MSG_ERROR([LDAP header ldap.h not found!])])
|
2006-05-16 14:24:03 +00:00
|
|
|
fi
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if test x$curl = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([curl],[LIBS="$LIBS"],[AC_MSG_ERROR([CURL library curl not found])])
|
|
|
|
AC_CHECK_HEADER([curl/curl.h],,[AC_MSG_ERROR([CURL header curl/curl.h not found!])])
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test x$xml = xtrue; then
|
2008-04-28 16:43:30 +00:00
|
|
|
PKG_CHECK_MODULES(xml, [libxml-2.0])
|
2007-08-08 14:03:55 +00:00
|
|
|
AC_SUBST(xml_CFLAGS)
|
|
|
|
AC_SUBST(xml_LIBS)
|
|
|
|
fi
|
|
|
|
|
2008-04-28 16:43:30 +00:00
|
|
|
if test x$dumm = xtrue; then
|
|
|
|
PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte])
|
|
|
|
AC_SUBST(gtk_CFLAGS)
|
|
|
|
AC_SUBST(gtk_LIBS)
|
2009-05-20 12:15:14 +00:00
|
|
|
AC_CHECK_PROGS(RUBY, ruby)
|
|
|
|
AC_MSG_CHECKING([for Ruby header files])
|
|
|
|
if test -n "$RUBY"; then
|
|
|
|
RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null`
|
|
|
|
if test -n "$RUBYDIR"; then
|
|
|
|
dirs="$RUBYDIR"
|
|
|
|
RUBYINCLUDE=none
|
|
|
|
for i in $dirs; do
|
|
|
|
if test -r $i/ruby.h; then
|
|
|
|
AC_MSG_RESULT([$i])
|
|
|
|
RUBYINCLUDE="-I$i"
|
|
|
|
break;
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
if test x"$RUBYINCLUDE" = xnone; then
|
|
|
|
AC_MSG_ERROR([ruby.h not found])
|
|
|
|
fi
|
|
|
|
AC_SUBST(RUBYINCLUDE)
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([unable to determine ruby configuration])
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([don't know how to run ruby])
|
|
|
|
fi
|
2008-04-28 16:43:30 +00:00
|
|
|
fi
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if test x$fast = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([neo_cgi],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_cgi not found!])])
|
|
|
|
AC_HAVE_LIBRARY([neo_utl],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_utl not found!])])
|
|
|
|
AC_HAVE_LIBRARY([z],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver dependency zlib not found!])])
|
|
|
|
dnl autoconf does not like CamelCase!? How to fix this?
|
|
|
|
dnl AC_CHECK_HEADER([ClearSilver/ClearSilver.h],,[AC_MSG_ERROR([ClearSilver header file ClearSilver/ClearSilver.h not found!])])
|
2009-09-07 09:46:16 +00:00
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
AC_HAVE_LIBRARY([fcgi],[LIBS="$LIBS"],[AC_MSG_ERROR([FastCGI library fcgi not found!])])
|
|
|
|
AC_CHECK_HEADER([fcgiapp.h],,[AC_MSG_ERROR([FastCGI header file fcgiapp.h not found!])])
|
2007-04-27 14:25:08 +00:00
|
|
|
fi
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if test x$mysql = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([mysqlclient_r],[LIBS="$LIBS"],[AC_MSG_ERROR([MySQL library mysqlclient_r not found])])
|
|
|
|
AC_CHECK_HEADER([mysql/mysql.h],,[AC_MSG_ERROR([MySQL header mysql/mysql.h not found!])])
|
|
|
|
fi
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2008-05-07 14:41:13 +00:00
|
|
|
if test x$sqlite = xtrue; then
|
2008-03-28 12:44:01 +00:00
|
|
|
AC_HAVE_LIBRARY([sqlite3],[LIBS="$LIBS"],[AC_MSG_ERROR([SQLite library sqlite3 not found])])
|
|
|
|
AC_CHECK_HEADER([sqlite3.h],,[AC_MSG_ERROR([SQLite header sqlite3.h not found!])])
|
2008-05-07 14:41:13 +00:00
|
|
|
AC_MSG_CHECKING([sqlite3_prepare_v2])
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#include <sqlite3.h>],
|
|
|
|
[
|
|
|
|
void *test = sqlite3_prepare_v2;
|
2009-09-07 09:46:16 +00:00
|
|
|
],
|
2008-05-07 14:41:13 +00:00
|
|
|
[AC_MSG_RESULT([yes])]; AC_DEFINE_UNQUOTED(HAVE_SQLITE3_PREPARE_V2, 1), [AC_MSG_RESULT([no])])
|
2008-06-30 11:06:18 +00:00
|
|
|
AC_MSG_CHECKING([sqlite3.h version >= 3.3.1])
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#include <sqlite3.h>],
|
|
|
|
[
|
|
|
|
#if SQLITE_VERSION_NUMBER < 3003001
|
|
|
|
#error bad sqlite
|
|
|
|
#endif
|
2009-09-07 09:46:16 +00:00
|
|
|
],
|
2008-06-30 11:06:18 +00:00
|
|
|
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([SQLite version >= 3.3.1 required!])])
|
2008-03-28 12:44:01 +00:00
|
|
|
fi
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2008-04-28 14:25:19 +00:00
|
|
|
if test x$openssl = xtrue; then
|
2008-06-06 08:04:42 +00:00
|
|
|
AC_HAVE_LIBRARY([crypto],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL crypto library not found])])
|
2008-04-28 14:25:19 +00:00
|
|
|
AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
|
|
|
|
fi
|
|
|
|
|
2009-06-04 12:23:39 +00:00
|
|
|
if test x$gcrypt = xtrue; then
|
2009-08-31 11:14:54 +00:00
|
|
|
AC_HAVE_LIBRARY([gcrypt],[LIBS="$LIBS"],[AC_MSG_ERROR([gcrypt library not found])])
|
|
|
|
AC_CHECK_HEADER([gcrypt.h],,[AC_MSG_ERROR([gcrypt header gcrypt.h not found!])])
|
2009-06-16 12:23:32 +00:00
|
|
|
AC_MSG_CHECKING([gcrypt CAMELLIA cipher])
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#include <gcrypt.h>],
|
|
|
|
[enum gcry_cipher_algos alg = GCRY_CIPHER_CAMELLIA128;],
|
|
|
|
[AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_GCRY_CIPHER_CAMELLIA])],
|
|
|
|
[AC_MSG_RESULT([no])]
|
|
|
|
)
|
2009-06-04 12:23:39 +00:00
|
|
|
fi
|
|
|
|
|
2008-06-17 14:17:51 +00:00
|
|
|
if test x$uci = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([uci],[LIBS="$LIBS"],[AC_MSG_ERROR([UCI library libuci not found])])
|
|
|
|
AC_CHECK_HEADER([uci.h],,[AC_MSG_ERROR([UCI header uci.h not found!])])
|
|
|
|
fi
|
|
|
|
|
2008-07-31 11:16:14 +00:00
|
|
|
if test x$nm = xtrue; then
|
|
|
|
PKG_CHECK_MODULES(nm, [NetworkManager libnm_glib_vpn gthread-2.0])
|
|
|
|
AC_SUBST(nm_CFLAGS)
|
|
|
|
AC_SUBST(nm_LIBS)
|
|
|
|
fi
|
|
|
|
|
2008-08-21 12:10:07 +00:00
|
|
|
if test x$eap_gtc = xtrue; then
|
|
|
|
AC_HAVE_LIBRARY([pam],[LIBS="$LIBS"],[AC_MSG_ERROR([PAM library not found])])
|
|
|
|
AC_CHECK_HEADER([security/pam_appl.h],,[AC_MSG_ERROR([PAM header security/pam_appl.h not found!])])
|
|
|
|
fi
|
|
|
|
|
2008-08-29 09:24:14 +00:00
|
|
|
if test x$capabilities = xlibcap; then
|
|
|
|
AC_HAVE_LIBRARY([cap],[LIBS="$LIBS"],[AC_MSG_ERROR([libcap library not found])])
|
|
|
|
AC_CHECK_HEADER([sys/capability.h],,[AC_MSG_ERROR([libcap header sys/capability.h not found!])])
|
|
|
|
fi
|
|
|
|
|
2009-06-19 15:50:40 +00:00
|
|
|
if test x$integrity_test = xtrue; then
|
|
|
|
AC_MSG_CHECKING([for dladdr()])
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#define _GNU_SOURCE
|
|
|
|
#include <dlfcn.h>],
|
2009-09-07 09:46:16 +00:00
|
|
|
[Dl_info info; dladdr(main, &info);],
|
2009-06-19 15:50:40 +00:00
|
|
|
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]);
|
|
|
|
AC_MSG_ERROR([dladdr() not supported, required by integrity-test!])]
|
|
|
|
)
|
|
|
|
AC_MSG_CHECKING([for dl_iterate_phdr()])
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#define _GNU_SOURCE
|
|
|
|
#include <link.h>],
|
2009-09-07 09:46:16 +00:00
|
|
|
[dl_iterate_phdr((void*)0, (void*)0);],
|
2009-06-19 15:50:40 +00:00
|
|
|
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]);
|
|
|
|
AC_MSG_ERROR([dl_iterate_phdr() not supported, required by integrity-test!])]
|
|
|
|
)
|
|
|
|
fi
|
|
|
|
|
2008-05-16 08:52:32 +00:00
|
|
|
dnl ======================================
|
|
|
|
dnl collect all plugins for libstrongswan
|
|
|
|
dnl ======================================
|
|
|
|
|
|
|
|
libstrongswan_plugins=
|
2009-04-29 08:56:19 +00:00
|
|
|
pluto_plugins=
|
2008-05-16 08:52:32 +00:00
|
|
|
|
2009-06-11 09:09:33 +00:00
|
|
|
if test x$test_vectors = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" test-vectors"
|
|
|
|
pluto_plugins=${pluto_plugins}" test-vectors"
|
|
|
|
fi
|
2008-05-16 08:52:32 +00:00
|
|
|
if test x$curl = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" curl"
|
2009-04-29 08:56:19 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" curl"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$ldap = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" ldap"
|
2009-04-29 08:56:19 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" ldap"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$aes = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" aes"
|
2009-05-08 22:04:15 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" aes"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$des = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" des"
|
2009-05-08 22:04:15 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" des"
|
|
|
|
fi
|
|
|
|
if test x$blowfish = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" blowfish"
|
|
|
|
pluto_plugins=${pluto_plugins}" blowfish"
|
|
|
|
fi
|
2008-05-16 08:52:32 +00:00
|
|
|
if test x$sha1 = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" sha1"
|
2009-05-08 22:04:15 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" sha1"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$sha2 = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" sha2"
|
2009-05-08 22:04:15 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" sha2"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
2009-02-19 10:06:58 +00:00
|
|
|
if test x$md4 = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" md4"
|
|
|
|
fi
|
2008-08-28 11:07:57 +00:00
|
|
|
if test x$md5 = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" md5"
|
2009-05-08 22:04:15 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" md5"
|
2008-08-28 11:07:57 +00:00
|
|
|
fi
|
2008-05-16 08:52:32 +00:00
|
|
|
if test x$fips_prf = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" fips-prf"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$random = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" random"
|
2009-04-30 18:31:48 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" random"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$x509 = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" x509"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$pubkey = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" pubkey"
|
2009-06-06 14:25:52 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" pubkey"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
2009-08-14 14:48:40 +00:00
|
|
|
if test x$pkcs1 = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" pkcs1"
|
|
|
|
pluto_plugins=${pluto_plugins}" pkcs1"
|
|
|
|
fi
|
2009-08-17 11:46:04 +00:00
|
|
|
if test x$pgp = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" pgp"
|
|
|
|
pluto_plugins=${pluto_plugins}" pgp"
|
|
|
|
fi
|
2009-08-17 12:45:52 +00:00
|
|
|
if test x$dnskey = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" dnskey"
|
|
|
|
pluto_plugins=${pluto_plugins}" dnskey"
|
|
|
|
fi
|
2009-08-11 14:24:01 +00:00
|
|
|
if test x$pem = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" pem"
|
|
|
|
pluto_plugins=${pluto_plugins}" pem"
|
|
|
|
fi
|
2008-05-16 08:52:32 +00:00
|
|
|
if test x$mysql = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" mysql"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$sqlite = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" sqlite"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$padlock = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" padlock"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
|
|
|
if test x$openssl = xtrue; then
|
2008-06-20 07:56:01 +00:00
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" openssl"
|
2009-05-15 08:17:17 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" openssl"
|
2008-05-16 08:52:32 +00:00
|
|
|
fi
|
2009-06-04 12:23:39 +00:00
|
|
|
if test x$gcrypt = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" gcrypt"
|
|
|
|
pluto_plugins=${pluto_plugins}" gcrypt"
|
|
|
|
fi
|
2009-06-16 11:04:50 +00:00
|
|
|
if test x$xcbc = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" xcbc"
|
|
|
|
fi
|
|
|
|
if test x$hmac = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" hmac"
|
|
|
|
pluto_plugins=${pluto_plugins}" hmac"
|
|
|
|
fi
|
2008-09-02 11:04:26 +00:00
|
|
|
if test x$agent = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" agent"
|
|
|
|
fi
|
2008-08-28 11:07:57 +00:00
|
|
|
if test x$gmp = xtrue; then
|
|
|
|
libstrongswan_plugins=${libstrongswan_plugins}" gmp"
|
2009-05-24 17:33:16 +00:00
|
|
|
pluto_plugins=${pluto_plugins}" gmp"
|
2008-08-28 11:07:57 +00:00
|
|
|
fi
|
2008-05-16 08:52:32 +00:00
|
|
|
|
|
|
|
AC_SUBST(libstrongswan_plugins)
|
2009-04-29 08:56:19 +00:00
|
|
|
AC_SUBST(pluto_plugins)
|
2008-05-16 08:52:32 +00:00
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
dnl =========================
|
|
|
|
dnl set Makefile.am vars
|
|
|
|
dnl =========================
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2008-05-16 08:52:32 +00:00
|
|
|
dnl libstrongswan plugins
|
|
|
|
dnl =====================
|
2009-06-11 09:09:33 +00:00
|
|
|
AM_CONDITIONAL(USE_TEST_VECTORS, test x$test_vectors = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_CURL, test x$curl = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_LDAP, test x$ldap = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_AES, test x$aes = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_DES, test x$des = xtrue)
|
2009-05-08 22:04:15 +00:00
|
|
|
AM_CONDITIONAL(USE_BLOWFISH, test x$blowfish = xtrue)
|
2009-02-19 10:06:58 +00:00
|
|
|
AM_CONDITIONAL(USE_MD4, test x$md4 = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_MD5, test x$md5 = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_SHA1, test x$sha1 = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_SHA2, test x$sha2 = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_FIPS_PRF, test x$fips_prf = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_GMP, test x$gmp = xtrue)
|
2008-04-15 05:56:35 +00:00
|
|
|
AM_CONDITIONAL(USE_RANDOM, test x$random = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_X509, test x$x509 = xtrue)
|
2008-05-08 13:16:42 +00:00
|
|
|
AM_CONDITIONAL(USE_PUBKEY, test x$pubkey = xtrue)
|
2009-08-14 14:48:40 +00:00
|
|
|
AM_CONDITIONAL(USE_PKCS1, test x$pkcs1 = xtrue)
|
2009-08-17 11:46:04 +00:00
|
|
|
AM_CONDITIONAL(USE_PGP, test x$pgp = xtrue)
|
2009-08-17 12:45:52 +00:00
|
|
|
AM_CONDITIONAL(USE_DNSKEY, test x$dnskey = xtrue)
|
2009-08-11 14:24:01 +00:00
|
|
|
AM_CONDITIONAL(USE_PEM, test x$pem = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
|
2008-04-30 14:26:24 +00:00
|
|
|
AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_MYSQL, test x$mysql = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_SQLITE, test x$sqlite = xtrue)
|
2008-05-16 08:52:32 +00:00
|
|
|
AM_CONDITIONAL(USE_PADLOCK, test x$padlock = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue)
|
2009-06-04 12:23:39 +00:00
|
|
|
AM_CONDITIONAL(USE_GCRYPT, test x$gcrypt = xtrue)
|
2008-09-02 11:04:26 +00:00
|
|
|
AM_CONDITIONAL(USE_AGENT, test x$agent = xtrue)
|
2008-05-16 08:52:32 +00:00
|
|
|
|
|
|
|
dnl charon plugins
|
|
|
|
dnl ==============
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_STROKE, test x$stroke = xtrue)
|
2008-05-08 12:11:30 +00:00
|
|
|
AM_CONDITIONAL(USE_MEDSRV, test x$medsrv = xtrue)
|
2008-05-14 07:26:19 +00:00
|
|
|
AM_CONDITIONAL(USE_MEDCLI, test x$medcli = xtrue)
|
2008-07-31 11:16:14 +00:00
|
|
|
AM_CONDITIONAL(USE_NM, test x$nm = xtrue)
|
2008-06-17 14:17:51 +00:00
|
|
|
AM_CONDITIONAL(USE_UCI, test x$uci = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_SMP, test x$smp = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_SQL, test x$sql = xtrue)
|
2008-10-16 11:48:18 +00:00
|
|
|
AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
|
2009-04-24 14:14:43 +00:00
|
|
|
AM_CONDITIONAL(USE_ATTR, test x$attr = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_RESOLV_CONF, test x$resolvconf = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_UNIT_TESTS, test x$unittest = xtrue)
|
2008-10-21 13:00:38 +00:00
|
|
|
AM_CONDITIONAL(USE_LOAD_TESTS, test x$loadtest = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_SIM, test x$eap_sim = xtrue)
|
2008-10-10 08:36:01 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_SIM_FILE, test x$eap_sim_file = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_IDENTITY, test x$eap_identity = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_EAP_MD5, test x$eap_md5 = xtrue)
|
2008-08-21 12:10:07 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = xtrue)
|
2009-02-18 19:57:15 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_MSCHAPV2, test x$eap_mschapv2 = xtrue)
|
2009-03-24 10:24:58 +00:00
|
|
|
AM_CONDITIONAL(USE_EAP_RADIUS, test x$eap_radius = xtrue)
|
2008-10-03 03:27:42 +00:00
|
|
|
AM_CONDITIONAL(USE_KERNEL_NETLINK, test x$kernel_netlink = xtrue)
|
2008-10-14 08:46:31 +00:00
|
|
|
AM_CONDITIONAL(USE_KERNEL_PFKEY, test x$kernel_pfkey = xtrue)
|
2009-04-30 17:13:45 +00:00
|
|
|
AM_CONDITIONAL(USE_KERNEL_PFROUTE, test x$kernel_pfroute = xtrue)
|
2008-11-11 09:22:00 +00:00
|
|
|
AM_CONDITIONAL(USE_KERNEL_KLIPS, test x$kernel_klips = xtrue)
|
2008-05-16 08:52:32 +00:00
|
|
|
|
|
|
|
dnl other options
|
|
|
|
dnl =============
|
|
|
|
AM_CONDITIONAL(USE_SMARTCARD, test x$smartcard = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_CISCO_QUIRKS, test x$cisco_quirks = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
|
2008-11-05 14:36:57 +00:00
|
|
|
AM_CONDITIONAL(USE_LOCK_PROFILER, test x$lock_profiler = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_NAT_TRANSPORT, test x$nat_transport = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_VENDORID, test x$vendor_id = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_XAUTH_VID, test x$xauth_vid = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_DUMM, test x$dumm = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_FAST, test x$fast = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_MANAGER, test x$manager = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_ME, test x$me = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_INTEGRITY_TEST, test x$integrity_test = xtrue)
|
2008-08-29 09:24:14 +00:00
|
|
|
AM_CONDITIONAL(USE_CAPABILITIES, test x$capabilities = xlibcap)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_PLUTO, test x$pluto = xtrue)
|
2008-12-02 09:01:57 +00:00
|
|
|
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
|
|
|
|
AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
|
2009-07-16 08:52:14 +00:00
|
|
|
AM_CONDITIONAL(USE_SCRIPTS, test x$scripts = xtrue)
|
2009-04-21 12:26:04 +00:00
|
|
|
AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$pluto = xtrue -o x$tools = xtrue)
|
2008-03-28 12:44:01 +00:00
|
|
|
AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)
|
2009-03-12 18:07:32 +00:00
|
|
|
AM_CONDITIONAL(USE_VSTR, test x$vstr = xtrue)
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2008-03-31 15:01:43 +00:00
|
|
|
dnl ==============================
|
|
|
|
dnl set global definitions
|
|
|
|
dnl ==============================
|
|
|
|
|
|
|
|
if test x$me = xtrue; then
|
|
|
|
AC_DEFINE(ME)
|
|
|
|
fi
|
2008-08-29 09:24:14 +00:00
|
|
|
if test x$capabilities = xlibcap; then
|
|
|
|
AC_DEFINE(CAPABILITIES)
|
|
|
|
fi
|
2008-03-31 15:01:43 +00:00
|
|
|
|
2006-05-16 14:24:03 +00:00
|
|
|
dnl ==============================
|
|
|
|
dnl build Makefiles
|
|
|
|
dnl ==============================
|
|
|
|
|
|
|
|
AC_OUTPUT(
|
|
|
|
Makefile
|
|
|
|
src/Makefile
|
2007-04-19 08:59:36 +00:00
|
|
|
src/include/Makefile
|
2006-05-16 14:24:03 +00:00
|
|
|
src/libstrongswan/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/libstrongswan/plugins/aes/Makefile
|
|
|
|
src/libstrongswan/plugins/des/Makefile
|
2009-05-08 22:04:15 +00:00
|
|
|
src/libstrongswan/plugins/blowfish/Makefile
|
2009-02-19 10:06:58 +00:00
|
|
|
src/libstrongswan/plugins/md4/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/libstrongswan/plugins/md5/Makefile
|
|
|
|
src/libstrongswan/plugins/sha1/Makefile
|
|
|
|
src/libstrongswan/plugins/sha2/Makefile
|
|
|
|
src/libstrongswan/plugins/fips_prf/Makefile
|
|
|
|
src/libstrongswan/plugins/gmp/Makefile
|
2008-04-15 05:56:35 +00:00
|
|
|
src/libstrongswan/plugins/random/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/libstrongswan/plugins/hmac/Makefile
|
2008-04-30 14:26:24 +00:00
|
|
|
src/libstrongswan/plugins/xcbc/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/libstrongswan/plugins/x509/Makefile
|
2008-05-08 13:16:42 +00:00
|
|
|
src/libstrongswan/plugins/pubkey/Makefile
|
2009-08-14 14:48:40 +00:00
|
|
|
src/libstrongswan/plugins/pkcs1/Makefile
|
2009-08-17 11:46:04 +00:00
|
|
|
src/libstrongswan/plugins/pgp/Makefile
|
2009-08-17 12:45:52 +00:00
|
|
|
src/libstrongswan/plugins/dnskey/Makefile
|
2009-08-11 14:24:01 +00:00
|
|
|
src/libstrongswan/plugins/pem/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/libstrongswan/plugins/curl/Makefile
|
|
|
|
src/libstrongswan/plugins/ldap/Makefile
|
|
|
|
src/libstrongswan/plugins/mysql/Makefile
|
|
|
|
src/libstrongswan/plugins/sqlite/Makefile
|
2008-04-22 08:44:56 +00:00
|
|
|
src/libstrongswan/plugins/padlock/Makefile
|
2008-04-28 14:25:19 +00:00
|
|
|
src/libstrongswan/plugins/openssl/Makefile
|
2009-06-04 12:23:39 +00:00
|
|
|
src/libstrongswan/plugins/gcrypt/Makefile
|
2008-09-02 11:04:26 +00:00
|
|
|
src/libstrongswan/plugins/agent/Makefile
|
2009-06-11 09:09:33 +00:00
|
|
|
src/libstrongswan/plugins/test_vectors/Makefile
|
2006-05-16 14:24:03 +00:00
|
|
|
src/libfreeswan/Makefile
|
|
|
|
src/pluto/Makefile
|
|
|
|
src/whack/Makefile
|
|
|
|
src/charon/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/charon/plugins/eap_aka/Makefile
|
|
|
|
src/charon/plugins/eap_identity/Makefile
|
|
|
|
src/charon/plugins/eap_md5/Makefile
|
2008-08-21 12:10:07 +00:00
|
|
|
src/charon/plugins/eap_gtc/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/charon/plugins/eap_sim/Makefile
|
2008-10-10 08:36:01 +00:00
|
|
|
src/charon/plugins/eap_sim_file/Makefile
|
2009-02-18 19:57:15 +00:00
|
|
|
src/charon/plugins/eap_mschapv2/Makefile
|
2009-03-24 10:24:58 +00:00
|
|
|
src/charon/plugins/eap_radius/Makefile
|
2008-09-25 07:56:58 +00:00
|
|
|
src/charon/plugins/kernel_netlink/Makefile
|
2008-10-14 08:46:31 +00:00
|
|
|
src/charon/plugins/kernel_pfkey/Makefile
|
2009-04-30 17:13:45 +00:00
|
|
|
src/charon/plugins/kernel_pfroute/Makefile
|
2008-11-11 09:22:00 +00:00
|
|
|
src/charon/plugins/kernel_klips/Makefile
|
2008-03-28 12:44:01 +00:00
|
|
|
src/charon/plugins/smp/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/charon/plugins/sql/Makefile
|
2008-05-08 12:11:30 +00:00
|
|
|
src/charon/plugins/medsrv/Makefile
|
2008-05-14 07:26:19 +00:00
|
|
|
src/charon/plugins/medcli/Makefile
|
2008-07-31 11:16:14 +00:00
|
|
|
src/charon/plugins/nm/Makefile
|
2008-06-17 14:17:51 +00:00
|
|
|
src/charon/plugins/uci/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/charon/plugins/stroke/Makefile
|
2008-10-16 11:48:18 +00:00
|
|
|
src/charon/plugins/updown/Makefile
|
2009-04-24 14:14:43 +00:00
|
|
|
src/charon/plugins/attr/Makefile
|
|
|
|
src/charon/plugins/resolv_conf/Makefile
|
2008-03-13 14:14:44 +00:00
|
|
|
src/charon/plugins/unit_tester/Makefile
|
2008-10-21 13:00:38 +00:00
|
|
|
src/charon/plugins/load_tester/Makefile
|
2006-05-16 14:24:03 +00:00
|
|
|
src/stroke/Makefile
|
|
|
|
src/ipsec/Makefile
|
|
|
|
src/starter/Makefile
|
|
|
|
src/_updown/Makefile
|
|
|
|
src/_updown_espmark/Makefile
|
|
|
|
src/_copyright/Makefile
|
|
|
|
src/openac/Makefile
|
|
|
|
src/scepclient/Makefile
|
2009-08-26 09:22:09 +00:00
|
|
|
src/pki/Makefile
|
2007-08-08 14:03:55 +00:00
|
|
|
src/dumm/Makefile
|
2009-05-20 16:40:27 +00:00
|
|
|
src/dumm/ext/extconf.rb
|
2008-03-13 14:14:44 +00:00
|
|
|
src/libfast/Makefile
|
2007-09-13 07:45:04 +00:00
|
|
|
src/manager/Makefile
|
2008-06-11 14:13:24 +00:00
|
|
|
src/medsrv/Makefile
|
2009-06-22 10:47:09 +00:00
|
|
|
src/checksum/Makefile
|
2008-06-29 13:57:00 +00:00
|
|
|
scripts/Makefile
|
2007-08-28 06:36:31 +00:00
|
|
|
testing/Makefile
|
2006-05-16 14:24:03 +00:00
|
|
|
)
|