> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Mon, 18 Apr 2016 15:41:59 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, 22959@debbugs.gnu.org
>
> Add this:
>
> diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
> index 05034fe..0063c2b 100644
> --- a/nt/mingw-cfg.site
> +++ b/nt/mingw-cfg.site
> @@ -40,6 +40,12 @@ gl_cv_sys_struct_timespec_in_pthread_h=no
> # Or at all...
> ac_cv_header_pthread_h=no
> +# We don't want to check for these functions
> +# because they are implemented in libwinpthread.
> +ac_cv_search_clock_gettime="none required"
> +ac_cv_func_clock_gettime=no
> +ac_cv_func_clock_settime=no
> +
> # ACL functions are implemented in w32.c
> ac_cv_search_acl_get_file="none required"
> ac_cv_func_acl_get_file=yes
>
> And the dependency towards libwinpthread is gone for MinGW64.
I'm okay with pushing this to master.