aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Popineau2016-04-21 19:23:00 +0300
committerEli Zaretskii2016-04-21 19:23:00 +0300
commit798caa12af4260f5cd26cac06e5438eedff47994 (patch)
tree19a2e0008a16b5c19cff503d48e153f8480a3644
parentf24004906e68597d4940f31a570d0e2bd7a9afe5 (diff)
downloademacs-798caa12af4260f5cd26cac06e5438eedff47994.tar.gz
emacs-798caa12af4260f5cd26cac06e5438eedff47994.zip
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)
-rw-r--r--nt/mingw-cfg.site6
1 files changed, 6 insertions, 0 deletions
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index ff9df60c275..9d630087974 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -40,6 +40,12 @@ gl_cv_sys_struct_timespec_in_pthread_h=no
40# Or at all... 40# Or at all...
41ac_cv_header_pthread_h=no 41ac_cv_header_pthread_h=no
42 42
43# We don't want to check for these functions
44# because they are implemented in libwinpthread.
45ac_cv_search_clock_gettime="none required"
46ac_cv_func_clock_gettime=no
47ac_cv_func_clock_settime=no
48
43# ACL functions are implemented in w32.c 49# ACL functions are implemented in w32.c
44ac_cv_search_acl_get_file="none required" 50ac_cv_search_acl_get_file="none required"
45ac_cv_func_acl_get_file=yes 51ac_cv_func_acl_get_file=yes