From c0547c56dafb8e1cb4d2780df89b39a45085ad2f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 22 Apr 2015 12:23:57 -0400 Subject: Add configure option to disable DES authentication DES is not good for encryption anymore and some C libraries does not even implement it. We add a --disable-authdes to optionally disable it, but let it be enabled by default for compatibility. This is needed for musl libc. Signed-off-by: Natanael Copa Signed-off-by: Steve Dickson --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 0180801..e6d3df5 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,12 @@ if test x$enable_gssapi = xyes; then AC_SUBST([GSSAPI_CFLAGS]) AC_SUBST([GSSAPI_LIBS]) fi + +AC_ARG_ENABLE(authdes, + [AC_HELP_STRING([--disable-authdes], [Disable DES authentication @<:@default=no@:>@])], + [],[enable_authdes=yes]) +AM_CONDITIONAL(AUTHDES, test x$enable_authdes = xyes) + AC_ARG_ENABLE(ipv6, [AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support @<:@default=no@:>@])], [],[enable_ipv6=yes]) -- cgit v1.2.1