summaryrefslogtreecommitdiff
path: root/nt/mingw-cfg.site
diff options
context:
space:
mode:
authorFabrice Popineau <fabrice.popineau@gmail.com>2016-04-21 19:23:00 +0300
committerEli Zaretskii <eliz@gnu.org>2016-04-21 19:23:00 +0300
commit798caa12af4260f5cd26cac06e5438eedff47994 (patch)
tree19a2e0008a16b5c19cff503d48e153f8480a3644 /nt/mingw-cfg.site
parentf24004906e68597d4940f31a570d0e2bd7a9afe5 (diff)
downloademacs-798caa12af4260f5cd26cac06e5438eedff47994.tar.gz
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)
Diffstat (limited to 'nt/mingw-cfg.site')
-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
# 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