Subject: Re: bug#21425: [PATCH] Remove needless mkstemp() check

From: [email-masked] (Ludovic Courtès)
Date: Thu, 29 Oct 2015 23:59:45 +0100

Kouhei Sutou <[email-masked]> skribis:

> There is mkstemp() check by AC_REPLACE_FUNCS() in
> configure.ac. If mkstemp() isn't found, mkstemp() is defined
> by gnulib-tool.
>
> But mkstemp() is always defined in libguile/mkstemp.c. If we
> define mkstemp() by gnulib-tool, mkstemp() is defined
> twice. It caused a link error.
>
> The situation is caused when we cross-compile Guile by MinGW
> because mkstemp() doesn't exist on Windows.

Indeed.  I pushed as similar patch as efd8a43.

Thank you!

Ludo’.