From: Tobias Brunner Date: Mon, 25 Jun 2012 09:07:49 +0000 (+0200) Subject: Enable xauth-generic by default but don't build it if IKEv1 is disabled X-Git-Tag: 5.0.0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720ba902c505241503e46949a030291c8a595bf9;p=thirdparty%2Fstrongswan.git Enable xauth-generic by default but don't build it if IKEv1 is disabled --- diff --git a/configure.in b/configure.in index 34388f4d01..5a6058b80f 100644 --- a/configure.in +++ b/configure.in @@ -123,7 +123,7 @@ ARG_ENABL_SET([eap-ttls], [enable EAP TTLS authentication module.]) ARG_ENABL_SET([eap-peap], [enable EAP PEAP authentication module.]) ARG_ENABL_SET([eap-tnc], [enable EAP TNC trusted network connect module.]) ARG_ENABL_SET([eap-radius], [enable RADIUS proxy authentication module.]) -ARG_ENABL_SET([xauth-generic], [enable generic XAuth backend.]) +ARG_DISBL_SET([xauth-generic], [enable generic XAuth backend.]) ARG_ENABL_SET([xauth-eap], [enable XAuth backend using EAP methods to verify passwords.]) ARG_ENABL_SET([tnc-ifmap], [enable TNC IF-MAP module.]) ARG_ENABL_SET([tnc-pdp], [enable TNC policy decision point module.]) @@ -226,6 +226,10 @@ dnl ========================= dnl dependency calculation dnl ========================= +if test x$xauth_generic_given = xfalse -a x$ikev1 = xfalse; then + xauth_generic=false; +fi + if test x$eap_aka_3gpp2 = xtrue; then gmp=true; fi