1 dnl configure.in for linux strongSwan
2 dnl Copyright (C) 2006 Martin Willi
3 dnl Hochschule fuer Technik Rapperswil
5 dnl This program is free software; you can redistribute it and/or modify it
6 dnl under the terms of the GNU General Public License as published by the
7 dnl Free Software Foundation; either version 2 of the License, or (at your
8 dnl option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 dnl This program is distributed in the hope that it will be useful, but
11 dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 dnl ===========================
16 dnl initialize & set some vars
17 dnl ===========================
19 AC_INIT(strongSwan,4.2.8)
20 AM_INIT_AUTOMAKE(tar-ustar)
22 AC_SUBST(confdir, '${sysconfdir}')
25 dnl =================================
26 dnl check --enable-xxx & --with-xxx
27 dnl =================================
31 AS_HELP_STRING([--with-default-pkcs11=lib],[set the default PKCS11 library other than "/usr/lib/opensc-pkcs11.so"]),
32 [AC_DEFINE_UNQUOTED(PKCS11_DEFAULT_LIB, "$withval")],
33 [AC_DEFINE_UNQUOTED(PKCS11_DEFAULT_LIB, "/usr/lib/opensc-pkcs11.so")]
38 AS_HELP_STRING([--with-xauth-module=lib],[set the path to the XAUTH module]),
39 [AC_DEFINE_UNQUOTED(XAUTH_DEFAULT_LIB, "$withval")],
44 AS_HELP_STRING([--with-random-device=dev],[set the device for real random data other than "/dev/random"]),
45 [AC_DEFINE_UNQUOTED(DEV_RANDOM, "$withval")],
46 [AC_DEFINE_UNQUOTED(DEV_RANDOM, "/dev/random")]
50 AS_HELP_STRING([--with-resolv-conf=file],[set the file to store DNS server information other than "sysconfdir/resolv.conf"]),
51 [AC_SUBST(resolv_conf, "$withval")],
52 [AC_SUBST(resolv_conf, "${sysconfdir}/resolv.conf")]
57 AS_HELP_STRING([--with-strongswan-conf=file],[strongswan.conf file other than "sysconfdir/strongswan.conf"]),
58 [AC_SUBST(strongswan_conf, "$withval")],
59 [AC_SUBST(strongswan_conf, "${sysconfdir}/strongswan.conf")]
64 AS_HELP_STRING([--with-urandom-device=dev],[set the device for pseudo random data other than "/dev/urandom"]),
65 [AC_DEFINE_UNQUOTED(DEV_URANDOM, "$withval")],
66 [AC_DEFINE_UNQUOTED(DEV_URANDOM, "/dev/urandom")]
71 AS_HELP_STRING([--with-piddir=dir],[path for PID and UNIX socket files other than "/var/run"]),
72 [AC_SUBST(piddir, "$withval")],
73 [AC_SUBST(piddir, "/var/run")]
78 AS_HELP_STRING([--with-ipsecdir=dir],[installation path for ipsec tools other than "libexecdir/ipsec"]),
79 [AC_SUBST(ipsecdir, "$withval")],
80 [AC_SUBST(ipsecdir, "${libexecdir}/ipsec")]
82 AC_SUBST(plugindir, "${ipsecdir}/plugins")
86 AS_HELP_STRING([--with-plugindir=dir],[installation path for plugins other than "ipsecdir/plugins"]),
87 [AC_SUBST(plugindir, "$withval")],
88 [AC_SUBST(plugindir, "${ipsecdir}/plugins")]
93 AS_HELP_STRING([--with-sim-reader=library.so],[library containing the sim_run_alg()/sim_get_triplet() function for EAP-SIM]),
94 [AC_SUBST(simreader, "$withval")],
95 [AC_SUBST(simreader, "${plugindir}/libeapsim-file.so")]
100 AS_HELP_STRING([--with-linux-headers=dir],[use the linux header files in dir instead of the supplied ones in "src/include"]),
101 [AC_SUBST(linuxdir, "$withval")], [AC_SUBST(linuxdir, "\${top_srcdir}/src/include")]
103 AC_SUBST(LINUX_HEADERS)
107 AS_HELP_STRING([--with-routing-table=num],[use routing table for IPsec routes (default: 220)]),
108 [AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE, $withval) AC_SUBST(IPSEC_ROUTING_TABLE, "$withval")],
109 [AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE, 220) AC_SUBST(IPSEC_ROUTING_TABLE, "220")]
113 [routing-table-prio],
114 AS_HELP_STRING([--with-routing-table-prio=prio],[priority for IPsec routing table (default: 220)]),
115 [AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE_PRIO, $withval) AC_SUBST(IPSEC_ROUTING_TABLE_PRIO, "$withval")],
116 [AC_DEFINE_UNQUOTED(IPSEC_ROUTING_TABLE_PRIO, 220) AC_SUBST(IPSEC_ROUTING_TABLE_PRIO, "220")]
120 [uid],,[AC_MSG_ERROR([--with-uid is gone, use --with-user instead!])]
124 [gid],,[AC_MSG_ERROR([--with-gid is gone, use --with-group instead!])]
129 AS_HELP_STRING([--with-user=user],[change user of the daemons to "user" after startup (default is 0).]),
130 [AC_DEFINE_UNQUOTED(IPSEC_USER, "$withval") AC_SUBST(ipsecuser, "$withval")],
131 [AC_SUBST(ipsecuser, "root")]
136 AS_HELP_STRING([--with-group=group],[change group of the daemons to "group" after startup (default is 0).]),
137 [AC_DEFINE_UNQUOTED(IPSEC_GROUP, "$withval") AC_SUBST(ipsecgroup, "$withval")],
138 [AC_SUBST(ipsecgroup, "root")]
141 dnl Will be extended to --with-capabilities=libcap|libcap2
144 AS_HELP_STRING([--with-capabilities=libcap],[capability dropping using libcap. Currenlty only the value "libcap" is supported (default is NO).]),
145 [capabilities="$withval"],
151 AS_HELP_STRING([--enable-curl],[enable CURL fetcher plugin to fetch files via libcurl (default is NO). Requires libcurl.]),
152 [if test x$enableval = xyes; then
159 AS_HELP_STRING([--enable-ldap],[enable LDAP fetching plugin to fetch files via libldap (default is NO). Requires openLDAP.]),
160 [if test x$enableval = xyes; then
167 AS_HELP_STRING([--disable-aes],[disable own AES software implementation plugin. (default is NO).]),
168 [if test x$enableval = xyes; then
178 AS_HELP_STRING([--disable-des],[disable own DES/3DES software implementation plugin. (default is NO).]),
179 [if test x$enableval = xyes; then
189 AS_HELP_STRING([--disable-md5],[disable own MD5 software implementation plugin. (default is NO).]),
190 [if test x$enableval = xyes; then
200 AS_HELP_STRING([--disable-sha1],[disable own SHA1 software implementation plugin. (default is NO).]),
201 [if test x$enableval = xyes; then
211 AS_HELP_STRING([--disable-sha2],[disable own SHA256/SHA384/SHA512 software implementation plugin. (default is NO).]),
212 [if test x$enableval = xyes; then
222 AS_HELP_STRING([--disable-fips-prf],[disable FIPS PRF software implementation plugin. (default is NO).]),
223 [if test x$enableval = xyes; then
233 AS_HELP_STRING([--disable-gmp],[disable own GNU MP (libgmp) based crypto implementation plugin. (default is NO).]),
234 [if test x$enableval = xyes; then
244 AS_HELP_STRING([--disable-random],[disable RNG implementation on top of /dev/(u)random. (default is NO).]),
245 [if test x$enableval = xyes; then
255 AS_HELP_STRING([--disable-x509],[disable own X509 certificate implementation plugin. (default is NO).]),
256 [if test x$enableval = xyes; then
266 AS_HELP_STRING([--disable-pubkey],[disable RAW public key support plugin. (default is NO).]),
267 [if test x$enableval = xyes; then
277 AS_HELP_STRING([--disable-hmac],[disable HMAC crypto implementation plugin. (default is NO).]),
278 [if test x$enableval = xyes; then
288 AS_HELP_STRING([--disable-xcbc],[disable xcbc crypto implementation plugin. (default is NO).]),
289 [if test x$enableval = xyes; then
299 AS_HELP_STRING([--enable-mysql],[enable MySQL database support (default is NO). Requires libmysqlclient_r.]),
300 [if test x$enableval = xyes; then
307 AS_HELP_STRING([--enable-sqlite],[enable SQLite database support (default is NO). Requires libsqlite3.]),
308 [if test x$enableval = xyes; then
315 AS_HELP_STRING([--disable-stroke],[disable charons stroke (pluto compatibility) configuration backend. (default is NO).]),
316 [if test x$enableval = xyes; then
326 AS_HELP_STRING([--enable-medsrv],[enable mediation server web frontend and daemon plugin (default is NO).]),
327 [if test x$enableval = xyes; then
334 AS_HELP_STRING([--enable-medcli],[enable mediation client configuration database plugin (default is NO).]),
335 [if test x$enableval = xyes; then
342 AS_HELP_STRING([--enable-smp],[enable SMP configuration and control interface (default is NO). Requires libxml.]),
343 [if test x$enableval = xyes; then
350 AS_HELP_STRING([--enable-sql],[enable SQL database configuration backend (default is NO).]),
351 [if test x$enableval = xyes; then
358 AS_HELP_STRING([--enable-smartcard],[enable smartcard support (default is NO).]),
359 [if test x$enableval = xyes; then
366 AS_HELP_STRING([--enable-cisco-quirks],[enable support of Cisco VPN client (default is NO).]),
367 [if test x$enableval = xyes; then
374 AS_HELP_STRING([--enable-leak-detective],[enable malloc hooks to find memory leaks (default is NO).]),
375 [if test x$enableval = xyes; then
382 AS_HELP_STRING([--enable-unit-tests],[enable unit tests on IKEv2 daemon startup (default is NO).]),
383 [if test x$enableval = xyes; then
390 AS_HELP_STRING([--enable-eap-sim],[build SIM authenication module for EAP (default is NO).]),
391 [if test x$enableval = xyes; then
398 AS_HELP_STRING([--enable-eap-identity],[build EAP module providing EAP-Identity helper (default is NO).]),
399 [if test x$enableval = xyes; then
406 AS_HELP_STRING([--enable-eap-md5],[build MD5 (CHAP) authenication module for EAP (default is NO).]),
407 [if test x$enableval = xyes; then
414 AS_HELP_STRING([--enable-eap-gtc],[build PAM based GTC authenication module for EAP (default is NO).]),
415 [if test x$enableval = xyes; then
422 AS_HELP_STRING([--enable-eap-aka],[build AKA authentication module for EAP (default is NO).]),
423 [if test x$enableval = xyes; then
430 AS_HELP_STRING([--enable-nat-transport],[enable NAT traversal with IPsec transport mode (default is NO).]),
431 [if test x$enableval = xyes; then
438 AS_HELP_STRING([--disable-vendor-id],[disable the sending of the strongSwan vendor ID (default is NO).]),
439 [if test x$enableval = xyes; then
449 AS_HELP_STRING([--disable-xauth-vid],[disable the sending of the XAUTH vendor ID (default is NO).]),
450 [if test x$enableval = xyes; then
460 AS_HELP_STRING([--enable-dumm],[build the DUMM UML test framework (default is NO).]),
461 [if test x$enableval = xyes; then
468 AS_HELP_STRING([--enable-fast],[build libfast (FastCGI Application Server w/ templates (default is NO).]),
469 [if test x$enableval = xyes; then
476 AS_HELP_STRING([--enable-manager],[build web management console (default is NO).]),
477 [if test x$enableval = xyes; then
485 AS_HELP_STRING([--enable-mediation],[enable IKEv2 Mediation Extension (default is NO).]),
486 [if test x$enableval = xyes; then
493 AS_HELP_STRING([--enable-integrity-test],[enable the integrity test of the crypto library (default is NO).]),
494 [if test x$enableval = xyes; then
501 AS_HELP_STRING([--disable-self-test],[disable the self-test of the crypto library (default is NO).]),
502 [if test x$enableval = xyes; then
512 AS_HELP_STRING([--disable-pluto],[disable the IKEv1 keying daemon pluto. (default is NO).]),
513 [if test x$enableval = xyes; then
523 AS_HELP_STRING([--disable-charon],[disable the IKEv2 keying daemon charon. (default is NO).]),
524 [if test x$enableval = xyes; then
534 AS_HELP_STRING([--disable-tools],[disable additional utilities (openac and scepclient). (default is NO).]),
535 [if test x$enableval = xyes; then
545 AS_HELP_STRING([--disable-updown],[disable installation of firewall scripts. (default is NO).]),
546 [if test x$enableval = xyes; then
556 AS_HELP_STRING([--enable-padlock],[enables VIA Padlock crypto plugin. (default is NO).]),
557 [if test x$enableval = xyes; then
566 AS_HELP_STRING([--enable-openssl],[enables the OpenSSL crypto plugin. (default is NO).]),
567 [if test x$enableval = xyes; then
576 AS_HELP_STRING([--enable-agent],[enables the ssh-agent signing plugin. (default is NO).]),
577 [if test x$enableval = xyes; then
586 AS_HELP_STRING([--enable-uci],[enable OpenWRT UCI configuration plugin (default is NO).]),
587 [if test x$enableval = xyes; then
594 AS_HELP_STRING([--enable-nm],[enable NetworkManager plugin (default is NO).]),
595 [if test x$enableval = xyes; then
600 dnl =========================
601 dnl check required programs
602 dnl =========================
609 AC_PATH_PROG([GPERF], [gperf], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
610 AC_PATH_PROG([PERL], [perl], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
612 dnl =========================
613 dnl dependency calculation
614 dnl =========================
616 if test x$pluto = xtrue; then
620 if test x$tools = xtrue; then
624 if test x$smp = xtrue; then
628 if test x$manager = xtrue; then
632 if test x$medsrv = xtrue; then
637 if test x$medcli = xtrue; then
641 dnl ==========================================
642 dnl check required libraries and header files
643 dnl ==========================================
646 AC_CHECK_FUNCS(backtrace)
647 AC_CHECK_FUNCS(dladdr)
649 if test x$gmp = xtrue; then
650 AC_HAVE_LIBRARY([gmp],[LIBS="$LIBS"],[AC_MSG_ERROR([GNU Multi Precision library gmp not found])])
651 AC_MSG_CHECKING([gmp.h version >= 4.1.4])
655 #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
659 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([No usable gmp.h found!])]
663 if test x$ldap = xtrue; then
664 AC_HAVE_LIBRARY([ldap],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library ldap not found])])
665 AC_HAVE_LIBRARY([lber],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library lber not found])])
666 AC_CHECK_HEADER([ldap.h],,[AC_MSG_ERROR([LDAP header ldap.h not found!])])
669 if test x$curl = xtrue; then
670 AC_HAVE_LIBRARY([curl],[LIBS="$LIBS"],[AC_MSG_ERROR([CURL library curl not found])])
671 AC_CHECK_HEADER([curl/curl.h],,[AC_MSG_ERROR([CURL header curl/curl.h not found!])])
674 if test x$xml = xtrue; then
675 PKG_CHECK_MODULES(xml, [libxml-2.0])
680 if test x$dumm = xtrue; then
681 PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte])
686 if test x$fast = xtrue; then
687 AC_HAVE_LIBRARY([neo_cgi],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_cgi not found!])])
688 AC_HAVE_LIBRARY([neo_utl],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_utl not found!])])
689 AC_HAVE_LIBRARY([z],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver dependency zlib not found!])])
690 dnl autoconf does not like CamelCase!? How to fix this?
691 dnl AC_CHECK_HEADER([ClearSilver/ClearSilver.h],,[AC_MSG_ERROR([ClearSilver header file ClearSilver/ClearSilver.h not found!])])
693 AC_HAVE_LIBRARY([fcgi],[LIBS="$LIBS"],[AC_MSG_ERROR([FastCGI library fcgi not found!])])
694 AC_CHECK_HEADER([fcgiapp.h],,[AC_MSG_ERROR([FastCGI header file fcgiapp.h not found!])])
697 if test x$mysql = xtrue; then
698 AC_HAVE_LIBRARY([mysqlclient_r],[LIBS="$LIBS"],[AC_MSG_ERROR([MySQL library mysqlclient_r not found])])
699 AC_CHECK_HEADER([mysql/mysql.h],,[AC_MSG_ERROR([MySQL header mysql/mysql.h not found!])])
702 if test x$sqlite = xtrue; then
703 AC_HAVE_LIBRARY([sqlite3],[LIBS="$LIBS"],[AC_MSG_ERROR([SQLite library sqlite3 not found])])
704 AC_CHECK_HEADER([sqlite3.h],,[AC_MSG_ERROR([SQLite header sqlite3.h not found!])])
705 AC_MSG_CHECKING([sqlite3_prepare_v2])
707 [#include <sqlite3.h>],
709 void *test = sqlite3_prepare_v2;
711 [AC_MSG_RESULT([yes])]; AC_DEFINE_UNQUOTED(HAVE_SQLITE3_PREPARE_V2, 1), [AC_MSG_RESULT([no])])
712 AC_MSG_CHECKING([sqlite3.h version >= 3.3.1])
714 [#include <sqlite3.h>],
716 #if SQLITE_VERSION_NUMBER < 3003001
720 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([SQLite version >= 3.3.1 required!])])
723 if test x$openssl = xtrue; then
724 AC_HAVE_LIBRARY([crypto],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL crypto library not found])])
725 AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
728 if test x$uci = xtrue; then
729 AC_HAVE_LIBRARY([uci],[LIBS="$LIBS"],[AC_MSG_ERROR([UCI library libuci not found])])
730 AC_CHECK_HEADER([uci.h],,[AC_MSG_ERROR([UCI header uci.h not found!])])
733 if test x$nm = xtrue; then
734 PKG_CHECK_MODULES(nm, [NetworkManager libnm_glib_vpn gthread-2.0])
739 if test x$eap_gtc = xtrue; then
740 AC_HAVE_LIBRARY([pam],[LIBS="$LIBS"],[AC_MSG_ERROR([PAM library not found])])
741 AC_CHECK_HEADER([security/pam_appl.h],,[AC_MSG_ERROR([PAM header security/pam_appl.h not found!])])
744 if test x$capabilities = xlibcap; then
745 AC_HAVE_LIBRARY([cap],[LIBS="$LIBS"],[AC_MSG_ERROR([libcap library not found])])
746 AC_CHECK_HEADER([sys/capability.h],,[AC_MSG_ERROR([libcap header sys/capability.h not found!])])
749 dnl ======================================
750 dnl collect all plugins for libstrongswan
751 dnl ======================================
753 libstrongswan_plugins=
755 if test x$curl = xtrue; then
756 libstrongswan_plugins=${libstrongswan_plugins}" curl"
758 if test x$ldap = xtrue; then
759 libstrongswan_plugins=${libstrongswan_plugins}" ldap"
761 if test x$aes = xtrue; then
762 libstrongswan_plugins=${libstrongswan_plugins}" aes"
764 if test x$des = xtrue; then
765 libstrongswan_plugins=${libstrongswan_plugins}" des"
767 if test x$sha1 = xtrue; then
768 libstrongswan_plugins=${libstrongswan_plugins}" sha1"
770 if test x$sha2 = xtrue; then
771 libstrongswan_plugins=${libstrongswan_plugins}" sha2"
773 if test x$md5 = xtrue; then
774 libstrongswan_plugins=${libstrongswan_plugins}" md5"
776 if test x$fips_prf = xtrue; then
777 libstrongswan_plugins=${libstrongswan_plugins}" fips-prf"
779 if test x$random = xtrue; then
780 libstrongswan_plugins=${libstrongswan_plugins}" random"
782 if test x$x509 = xtrue; then
783 libstrongswan_plugins=${libstrongswan_plugins}" x509"
785 if test x$pubkey = xtrue; then
786 libstrongswan_plugins=${libstrongswan_plugins}" pubkey"
788 if test x$xcbc = xtrue; then
789 libstrongswan_plugins=${libstrongswan_plugins}" xcbc"
791 if test x$hmac = xtrue; then
792 libstrongswan_plugins=${libstrongswan_plugins}" hmac"
794 if test x$mysql = xtrue; then
795 libstrongswan_plugins=${libstrongswan_plugins}" mysql"
797 if test x$sqlite = xtrue; then
798 libstrongswan_plugins=${libstrongswan_plugins}" sqlite"
800 if test x$padlock = xtrue; then
801 libstrongswan_plugins=${libstrongswan_plugins}" padlock"
803 if test x$openssl = xtrue; then
804 libstrongswan_plugins=${libstrongswan_plugins}" openssl"
806 if test x$agent = xtrue; then
807 libstrongswan_plugins=${libstrongswan_plugins}" agent"
809 if test x$gmp = xtrue; then
810 libstrongswan_plugins=${libstrongswan_plugins}" gmp"
813 AC_SUBST(libstrongswan_plugins)
815 dnl =========================
816 dnl set Makefile.am vars
817 dnl =========================
819 dnl libstrongswan plugins
820 dnl =====================
821 AM_CONDITIONAL(USE_CURL, test x$curl = xtrue)
822 AM_CONDITIONAL(USE_LDAP, test x$ldap = xtrue)
823 AM_CONDITIONAL(USE_AES, test x$aes = xtrue)
824 AM_CONDITIONAL(USE_DES, test x$des = xtrue)
825 AM_CONDITIONAL(USE_MD5, test x$md5 = xtrue)
826 AM_CONDITIONAL(USE_SHA1, test x$sha1 = xtrue)
827 AM_CONDITIONAL(USE_SHA2, test x$sha2 = xtrue)
828 AM_CONDITIONAL(USE_FIPS_PRF, test x$fips_prf = xtrue)
829 AM_CONDITIONAL(USE_GMP, test x$gmp = xtrue)
830 AM_CONDITIONAL(USE_RANDOM, test x$random = xtrue)
831 AM_CONDITIONAL(USE_X509, test x$x509 = xtrue)
832 AM_CONDITIONAL(USE_PUBKEY, test x$pubkey = xtrue)
833 AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
834 AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
835 AM_CONDITIONAL(USE_MYSQL, test x$mysql = xtrue)
836 AM_CONDITIONAL(USE_SQLITE, test x$sqlite = xtrue)
837 AM_CONDITIONAL(USE_PADLOCK, test x$padlock = xtrue)
838 AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue)
839 AM_CONDITIONAL(USE_AGENT, test x$agent = xtrue)
843 AM_CONDITIONAL(USE_STROKE, test x$stroke = xtrue)
844 AM_CONDITIONAL(USE_MEDSRV, test x$medsrv = xtrue)
845 AM_CONDITIONAL(USE_MEDCLI, test x$medcli = xtrue)
846 AM_CONDITIONAL(USE_NM, test x$nm = xtrue)
847 AM_CONDITIONAL(USE_UCI, test x$uci = xtrue)
848 AM_CONDITIONAL(USE_SMP, test x$smp = xtrue)
849 AM_CONDITIONAL(USE_SQL, test x$sql = xtrue)
850 AM_CONDITIONAL(USE_UNIT_TESTS, test x$unittest = xtrue)
851 AM_CONDITIONAL(USE_EAP_SIM, test x$eap_sim = xtrue)
852 AM_CONDITIONAL(USE_EAP_IDENTITY, test x$eap_identity = xtrue)
853 AM_CONDITIONAL(USE_EAP_MD5, test x$eap_md5 = xtrue)
854 AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
855 AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = xtrue)
859 AM_CONDITIONAL(USE_SMARTCARD, test x$smartcard = xtrue)
860 AM_CONDITIONAL(USE_CISCO_QUIRKS, test x$cisco_quirks = xtrue)
861 AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
862 AM_CONDITIONAL(USE_NAT_TRANSPORT, test x$nat_transport = xtrue)
863 AM_CONDITIONAL(USE_VENDORID, test x$vendor_id = xtrue)
864 AM_CONDITIONAL(USE_XAUTH_VID, test x$xauth_vid = xtrue)
865 AM_CONDITIONAL(USE_DUMM, test x$dumm = xtrue)
866 AM_CONDITIONAL(USE_FAST, test x$fast = xtrue)
867 AM_CONDITIONAL(USE_MANAGER, test x$manager = xtrue)
868 AM_CONDITIONAL(USE_ME, test x$me = xtrue)
869 AM_CONDITIONAL(USE_INTEGRITY_TEST, test x$integrity_test = xtrue)
870 AM_CONDITIONAL(USE_SELF_TEST, test x$self_test = xtrue)
871 AM_CONDITIONAL(USE_CAPABILITIES, test x$capabilities = xlibcap)
872 AM_CONDITIONAL(USE_PLUTO, test x$pluto = xtrue)
873 AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
874 AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
875 AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
876 AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$tools = xtrue)
877 AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)
879 dnl ==============================
880 dnl set global definitions
881 dnl ==============================
883 if test x$me = xtrue; then
886 if test x$capabilities = xlibcap; then
887 AC_DEFINE(CAPABILITIES)
890 dnl ==============================
892 dnl ==============================
898 src/libstrongswan/Makefile
899 src/libstrongswan/plugins/aes/Makefile
900 src/libstrongswan/plugins/des/Makefile
901 src/libstrongswan/plugins/md5/Makefile
902 src/libstrongswan/plugins/sha1/Makefile
903 src/libstrongswan/plugins/sha2/Makefile
904 src/libstrongswan/plugins/fips_prf/Makefile
905 src/libstrongswan/plugins/gmp/Makefile
906 src/libstrongswan/plugins/random/Makefile
907 src/libstrongswan/plugins/hmac/Makefile
908 src/libstrongswan/plugins/xcbc/Makefile
909 src/libstrongswan/plugins/x509/Makefile
910 src/libstrongswan/plugins/pubkey/Makefile
911 src/libstrongswan/plugins/curl/Makefile
912 src/libstrongswan/plugins/ldap/Makefile
913 src/libstrongswan/plugins/mysql/Makefile
914 src/libstrongswan/plugins/sqlite/Makefile
915 src/libstrongswan/plugins/padlock/Makefile
916 src/libstrongswan/plugins/openssl/Makefile
917 src/libstrongswan/plugins/agent/Makefile
918 src/libstrongswan/fips/Makefile
919 src/libcrypto/Makefile
920 src/libfreeswan/Makefile
924 src/charon/plugins/eap_aka/Makefile
925 src/charon/plugins/eap_identity/Makefile
926 src/charon/plugins/eap_md5/Makefile
927 src/charon/plugins/eap_gtc/Makefile
928 src/charon/plugins/eap_sim/Makefile
929 src/charon/plugins/kernel_netlink/Makefile
930 src/charon/plugins/smp/Makefile
931 src/charon/plugins/sql/Makefile
932 src/charon/plugins/medsrv/Makefile
933 src/charon/plugins/medcli/Makefile
934 src/charon/plugins/nm/Makefile
935 src/charon/plugins/uci/Makefile
936 src/charon/plugins/stroke/Makefile
937 src/charon/plugins/unit_tester/Makefile
942 src/_updown_espmark/Makefile
943 src/_copyright/Makefile
945 src/scepclient/Makefile