From: Fabrice Popineau Date: Thu, 21 Apr 2016 16:23:00 +0000 (+0300) Subject: Avoid run-time dependency on libwinpthread DLL on MS-Windows X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/798caa12af4260f5cd26cac06e5438eedff47994 Avoid run-time dependency on libwinpthread DLL on MS-Windows * nt/mingw-cfg.site (ac_cv_search_clock_gettime) (ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not present, so that MinGW64 builds don't depend on libwinpthread. (Bug#22959) --- diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index ff9df60c27..9d63008797 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