[PATCH] make crywrap optional

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Apr 16 13:21:16 CEST 2012


Hello,
 Would you like to comment a bit on why you propose doing crywrap optional?

regards,
Nikos

On Sun, Apr 15, 2012 at 6:13 PM, Daniel Mierswa <impulze at impulze.org> wrote:
> ---
>  configure.ac |    9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5350a90..4ce677f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -409,7 +409,14 @@ AC_CHECK_FUNCS([alarm atexit dup2 epoll_create kqueue memchr memset munmap \
>                putenv regcomp scandir select socket strcasecmp strchr \
>                strdup strerror strncasecmp strrchr strstr strtoul uname])
>
> -PKG_CHECK_MODULES(LIBIDN, libidn >= 0.0.0, [libidn=yes], [libidn=no])
> +AC_ARG_ENABLE(crywrap,
> +       AS_HELP_STRING([--disable-crywrap], [unconditionally disable the crywrap TLS proxy service]))
> +
> +libidn=no
> +
> +if test "x$enable_crywrap" != "xno" ; then
> +       PKG_CHECK_MODULES(LIBIDN, libidn >= 0.0.0, [libidn=yes], [libidn=no])
> +fi
>
>  if test "x$libidn" != "xno" && test "$ac_cv_func_daemon" != "no";then
>   crywrap=yes
> --
> 1.7.9.6
>
>
> _______________________________________________
> Gnutls-devel mailing list
> Gnutls-devel at gnu.org
> https://lists.gnu.org/mailman/listinfo/gnutls-devel




More information about the Gnutls-devel mailing list