[gnutls-devel] gnutls 3.2.0 build fixes for mingw

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue May 21 20:18:50 CEST 2013


On 05/21/2013 02:01 PM, Mark Brand wrote:

> Nikos,
> Just ran into 2 little problems building gnutls 3.2.0 for mingw.
> First is that configure fails upon not finding sys/mman.h and sys/wait.h. A 
> workaround hack, suggested by
>     https://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00026.html
>  seems to be:
> 
> diff --git a/src/libopts/m4/libopts.m4 b/src/libopts/m4/libopts.m4
> index 9d0c6de..1c33afa 100644
> --- a/src/libopts/m4/libopts.m4
> +++ b/src/libopts/m4/libopts.m4
> @@ -72,7 +72,7 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST],[
>    ${lo_have_typ_hdr} || \
>      ]AC_MSG_ERROR([you must have inttypes.h or stdint.h on your system])[
> 
> -  for f in sys_types sys_mman sys_param sys_stat sys_wait \
> +  for f in sys_types sys_param sys_stat \
>             string errno stdlib memory setjmp
>    do eval as_ac_var=\${ac_cv_header_${f}_h}
>       test "X${as_ac_var}" = Xyes || {
> 
> Would updating autgen solve this?


Hello Mark,
 Has this been reported to upstream autogen? I do not see any relevant
entry in the changelog [0] so I'll apply the patch as is for now (and CC
Bruce).

[0]. http://git.savannah.gnu.org/cgit/autogen.git/tree/ChangeLog

regards,
Nikos




More information about the Gnutls-devel mailing list