[gnutls-devel] configure should check for <idna.h>

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Sep 22 18:57:11 CEST 2014

On Mon, 2014-09-22 at 15:51 +0200, Ludovic Courtès wrote:
> When GNU libidn isn’t installed, compilation of ‘master’ fails with:
> --8<---------------cut here---------------start------------->8---
> make[4]: Entering directory '/home/ludo/src/gnutls/+build/src/crywrap'
>   CC       crywrap.o
> ../../../src/crywrap/crywrap.c:35:18: fatal error: idna.h: No such file or directory
>  #include <idna.h>
>                   ^
> compilation terminated.
> I think configure should check for this header, and possibly bail out if
> this is a mandatory feature.  WDYT?

Thanks. It is an optional requirement. I've modified the configure
script to disable crywrap if libidn isn't there.


More information about the Gnutls-devel mailing list