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.7)
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, "../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-uci],[enable OpenWRT UCI configuration plugin (default is NO).]),
577 [if test x$enableval = xyes; then
584 AS_HELP_STRING([--enable-nm],[enable NetworkManager plugin (default is NO).]),
585 [if test x$enableval = xyes; then
590 dnl =========================
591 dnl check required programs
592 dnl =========================
599 AC_PATH_PROG([GPERF], [gperf], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
600 AC_PATH_PROG([PERL], [perl], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
602 dnl =========================
603 dnl dependency calculation
604 dnl =========================
606 if test x$pluto = xtrue; then
610 if test x$tools = xtrue; then
614 if test x$smp = xtrue; then
618 if test x$manager = xtrue; then
622 if test x$medsrv = xtrue; then
627 if test x$medcli = xtrue; then
631 dnl ==========================================
632 dnl check required libraries and header files
633 dnl ==========================================
636 AC_CHECK_FUNCS(backtrace)
637 AC_CHECK_FUNCS(dladdr)
639 if test x$gmp = xtrue; then
640 AC_HAVE_LIBRARY([gmp],[LIBS="$LIBS"],[AC_MSG_ERROR([GNU Multi Precision library gmp not found])])
641 AC_MSG_CHECKING([gmp.h version >= 4.1.4])
645 #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
649 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([No usable gmp.h found!])]
653 if test x$ldap = xtrue; then
654 AC_HAVE_LIBRARY([ldap],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library ldap not found])])
655 AC_HAVE_LIBRARY([lber],[LIBS="$LIBS"],[AC_MSG_ERROR([LDAP library lber not found])])
656 AC_CHECK_HEADER([ldap.h],,[AC_MSG_ERROR([LDAP header ldap.h not found!])])
659 if test x$curl = xtrue; then
660 AC_HAVE_LIBRARY([curl],[LIBS="$LIBS"],[AC_MSG_ERROR([CURL library curl not found])])
661 AC_CHECK_HEADER([curl/curl.h],,[AC_MSG_ERROR([CURL header curl/curl.h not found!])])
664 if test x$xml = xtrue; then
665 PKG_CHECK_MODULES(xml, [libxml-2.0])
670 if test x$dumm = xtrue; then
671 PKG_CHECK_MODULES(gtk, [gtk+-2.0 vte])
676 if test x$fast = xtrue; then
677 AC_HAVE_LIBRARY([neo_cgi],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_cgi not found!])])
678 AC_HAVE_LIBRARY([neo_utl],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver library neo_utl not found!])])
679 AC_HAVE_LIBRARY([z],[LIBS="$LIBS"],[AC_MSG_ERROR([ClearSilver dependency zlib not found!])])
680 dnl autoconf does not like CamelCase!? How to fix this?
681 dnl AC_CHECK_HEADER([ClearSilver/ClearSilver.h],,[AC_MSG_ERROR([ClearSilver header file ClearSilver/ClearSilver.h not found!])])
683 AC_HAVE_LIBRARY([fcgi],[LIBS="$LIBS"],[AC_MSG_ERROR([FastCGI library fcgi not found!])])
684 AC_CHECK_HEADER([fcgiapp.h],,[AC_MSG_ERROR([FastCGI header file fcgiapp.h not found!])])
687 if test x$mysql = xtrue; then
688 AC_HAVE_LIBRARY([mysqlclient_r],[LIBS="$LIBS"],[AC_MSG_ERROR([MySQL library mysqlclient_r not found])])
689 AC_CHECK_HEADER([mysql/mysql.h],,[AC_MSG_ERROR([MySQL header mysql/mysql.h not found!])])
692 if test x$sqlite = xtrue; then
693 AC_HAVE_LIBRARY([sqlite3],[LIBS="$LIBS"],[AC_MSG_ERROR([SQLite library sqlite3 not found])])
694 AC_CHECK_HEADER([sqlite3.h],,[AC_MSG_ERROR([SQLite header sqlite3.h not found!])])
695 AC_MSG_CHECKING([sqlite3_prepare_v2])
697 [#include <sqlite3.h>],
699 void *test = sqlite3_prepare_v2;
701 [AC_MSG_RESULT([yes])]; AC_DEFINE_UNQUOTED(HAVE_SQLITE3_PREPARE_V2, 1), [AC_MSG_RESULT([no])])
702 AC_MSG_CHECKING([sqlite3.h version >= 3.3.1])
704 [#include <sqlite3.h>],
706 #if SQLITE_VERSION_NUMBER < 3003001
710 [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); AC_MSG_ERROR([SQLite version >= 3.3.1 required!])])
713 if test x$openssl = xtrue; then
714 AC_HAVE_LIBRARY([crypto],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL crypto library not found])])
715 AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
718 if test x$uci = xtrue; then
719 AC_HAVE_LIBRARY([uci],[LIBS="$LIBS"],[AC_MSG_ERROR([UCI library libuci not found])])
720 AC_CHECK_HEADER([uci.h],,[AC_MSG_ERROR([UCI header uci.h not found!])])
723 if test x$nm = xtrue; then
724 PKG_CHECK_MODULES(nm, [NetworkManager libnm_glib_vpn gthread-2.0])
729 if test x$eap_gtc = xtrue; then
730 AC_HAVE_LIBRARY([pam],[LIBS="$LIBS"],[AC_MSG_ERROR([PAM library not found])])
731 AC_CHECK_HEADER([security/pam_appl.h],,[AC_MSG_ERROR([PAM header security/pam_appl.h not found!])])
734 if test x$capabilities = xlibcap; then
735 AC_HAVE_LIBRARY([cap],[LIBS="$LIBS"],[AC_MSG_ERROR([libcap library not found])])
736 AC_CHECK_HEADER([sys/capability.h],,[AC_MSG_ERROR([libcap header sys/capability.h not found!])])
739 dnl ======================================
740 dnl collect all plugins for libstrongswan
741 dnl ======================================
743 libstrongswan_plugins=
745 if test x$curl = xtrue; then
746 libstrongswan_plugins=${libstrongswan_plugins}" curl"
748 if test x$ldap = xtrue; then
749 libstrongswan_plugins=${libstrongswan_plugins}" ldap"
751 if test x$aes = xtrue; then
752 libstrongswan_plugins=${libstrongswan_plugins}" aes"
754 if test x$des = xtrue; then
755 libstrongswan_plugins=${libstrongswan_plugins}" des"
757 if test x$sha1 = xtrue; then
758 libstrongswan_plugins=${libstrongswan_plugins}" sha1"
760 if test x$sha2 = xtrue; then
761 libstrongswan_plugins=${libstrongswan_plugins}" sha2"
763 if test x$md5 = xtrue; then
764 libstrongswan_plugins=${libstrongswan_plugins}" md5"
766 if test x$fips_prf = xtrue; then
767 libstrongswan_plugins=${libstrongswan_plugins}" fips-prf"
769 if test x$random = xtrue; then
770 libstrongswan_plugins=${libstrongswan_plugins}" random"
772 if test x$x509 = xtrue; then
773 libstrongswan_plugins=${libstrongswan_plugins}" x509"
775 if test x$pubkey = xtrue; then
776 libstrongswan_plugins=${libstrongswan_plugins}" pubkey"
778 if test x$xcbc = xtrue; then
779 libstrongswan_plugins=${libstrongswan_plugins}" xcbc"
781 if test x$hmac = xtrue; then
782 libstrongswan_plugins=${libstrongswan_plugins}" hmac"
784 if test x$mysql = xtrue; then
785 libstrongswan_plugins=${libstrongswan_plugins}" mysql"
787 if test x$sqlite = xtrue; then
788 libstrongswan_plugins=${libstrongswan_plugins}" sqlite"
790 if test x$padlock = xtrue; then
791 libstrongswan_plugins=${libstrongswan_plugins}" padlock"
793 if test x$openssl = xtrue; then
794 libstrongswan_plugins=${libstrongswan_plugins}" openssl"
796 if test x$gmp = xtrue; then
797 libstrongswan_plugins=${libstrongswan_plugins}" gmp"
800 AC_SUBST(libstrongswan_plugins)
802 dnl =========================
803 dnl set Makefile.am vars
804 dnl =========================
806 dnl libstrongswan plugins
807 dnl =====================
808 AM_CONDITIONAL(USE_CURL, test x$curl = xtrue)
809 AM_CONDITIONAL(USE_LDAP, test x$ldap = xtrue)
810 AM_CONDITIONAL(USE_AES, test x$aes = xtrue)
811 AM_CONDITIONAL(USE_DES, test x$des = xtrue)
812 AM_CONDITIONAL(USE_MD5, test x$md5 = xtrue)
813 AM_CONDITIONAL(USE_SHA1, test x$sha1 = xtrue)
814 AM_CONDITIONAL(USE_SHA2, test x$sha2 = xtrue)
815 AM_CONDITIONAL(USE_FIPS_PRF, test x$fips_prf = xtrue)
816 AM_CONDITIONAL(USE_GMP, test x$gmp = xtrue)
817 AM_CONDITIONAL(USE_RANDOM, test x$random = xtrue)
818 AM_CONDITIONAL(USE_X509, test x$x509 = xtrue)
819 AM_CONDITIONAL(USE_PUBKEY, test x$pubkey = xtrue)
820 AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
821 AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
822 AM_CONDITIONAL(USE_MYSQL, test x$mysql = xtrue)
823 AM_CONDITIONAL(USE_SQLITE, test x$sqlite = xtrue)
824 AM_CONDITIONAL(USE_PADLOCK, test x$padlock = xtrue)
825 AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue)
829 AM_CONDITIONAL(USE_STROKE, test x$stroke = xtrue)
830 AM_CONDITIONAL(USE_MEDSRV, test x$medsrv = xtrue)
831 AM_CONDITIONAL(USE_MEDCLI, test x$medcli = xtrue)
832 AM_CONDITIONAL(USE_NM, test x$nm = xtrue)
833 AM_CONDITIONAL(USE_UCI, test x$uci = xtrue)
834 AM_CONDITIONAL(USE_SMP, test x$smp = xtrue)
835 AM_CONDITIONAL(USE_SQL, test x$sql = xtrue)
836 AM_CONDITIONAL(USE_UNIT_TESTS, test x$unittest = xtrue)
837 AM_CONDITIONAL(USE_EAP_SIM, test x$eap_sim = xtrue)
838 AM_CONDITIONAL(USE_EAP_IDENTITY, test x$eap_identity = xtrue)
839 AM_CONDITIONAL(USE_EAP_MD5, test x$eap_md5 = xtrue)
840 AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
841 AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = xtrue)
845 AM_CONDITIONAL(USE_SMARTCARD, test x$smartcard = xtrue)
846 AM_CONDITIONAL(USE_CISCO_QUIRKS, test x$cisco_quirks = xtrue)
847 AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
848 AM_CONDITIONAL(USE_NAT_TRANSPORT, test x$nat_transport = xtrue)
849 AM_CONDITIONAL(USE_VENDORID, test x$vendor_id = xtrue)
850 AM_CONDITIONAL(USE_XAUTH_VID, test x$xauth_vid = xtrue)
851 AM_CONDITIONAL(USE_DUMM, test x$dumm = xtrue)
852 AM_CONDITIONAL(USE_FAST, test x$fast = xtrue)
853 AM_CONDITIONAL(USE_MANAGER, test x$manager = xtrue)
854 AM_CONDITIONAL(USE_ME, test x$me = xtrue)
855 AM_CONDITIONAL(USE_INTEGRITY_TEST, test x$integrity_test = xtrue)
856 AM_CONDITIONAL(USE_SELF_TEST, test x$self_test = xtrue)
857 AM_CONDITIONAL(USE_CAPABILITIES, test x$capabilities = xlibcap)
858 AM_CONDITIONAL(USE_PLUTO, test x$pluto = xtrue)
859 AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
860 AM_CONDITIONAL(USE_TOOLS, test x$tools = xtrue)
861 AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
862 AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$tools = xtrue)
863 AM_CONDITIONAL(USE_FILE_CONFIG, test x$pluto = xtrue -o x$stroke = xtrue)
865 dnl ==============================
866 dnl set global definitions
867 dnl ==============================
869 if test x$me = xtrue; then
872 if test x$capabilities = xlibcap; then
873 AC_DEFINE(CAPABILITIES)
876 dnl ==============================
878 dnl ==============================
884 src/libstrongswan/Makefile
885 src/libstrongswan/plugins/aes/Makefile
886 src/libstrongswan/plugins/des/Makefile
887 src/libstrongswan/plugins/md5/Makefile
888 src/libstrongswan/plugins/sha1/Makefile
889 src/libstrongswan/plugins/sha2/Makefile
890 src/libstrongswan/plugins/fips_prf/Makefile
891 src/libstrongswan/plugins/gmp/Makefile
892 src/libstrongswan/plugins/random/Makefile
893 src/libstrongswan/plugins/hmac/Makefile
894 src/libstrongswan/plugins/xcbc/Makefile
895 src/libstrongswan/plugins/x509/Makefile
896 src/libstrongswan/plugins/pubkey/Makefile
897 src/libstrongswan/plugins/curl/Makefile
898 src/libstrongswan/plugins/ldap/Makefile
899 src/libstrongswan/plugins/mysql/Makefile
900 src/libstrongswan/plugins/sqlite/Makefile
901 src/libstrongswan/plugins/padlock/Makefile
902 src/libstrongswan/plugins/openssl/Makefile
903 src/libstrongswan/fips/Makefile
904 src/libcrypto/Makefile
905 src/libfreeswan/Makefile
909 src/charon/plugins/eap_aka/Makefile
910 src/charon/plugins/eap_identity/Makefile
911 src/charon/plugins/eap_md5/Makefile
912 src/charon/plugins/eap_gtc/Makefile
913 src/charon/plugins/eap_sim/Makefile
914 src/charon/plugins/smp/Makefile
915 src/charon/plugins/sql/Makefile
916 src/charon/plugins/medsrv/Makefile
917 src/charon/plugins/medcli/Makefile
918 src/charon/plugins/nm/Makefile
919 src/charon/plugins/uci/Makefile
920 src/charon/plugins/stroke/Makefile
921 src/charon/plugins/unit_tester/Makefile
926 src/_updown_espmark/Makefile
927 src/_copyright/Makefile
929 src/scepclient/Makefile