]> code.delx.au - gnu-emacs/commitdiff
Avoid run-time dependency on libwinpthread DLL on MS-Windows
authorFabrice Popineau <fabrice.popineau@gmail.com>
Thu, 21 Apr 2016 16:23:00 +0000 (19:23 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 21 Apr 2016 16:23:00 +0000 (19:23 +0300)
* 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)

nt/mingw-cfg.site

index ff9df60c275f289cb60ae7a483591b8c9a9fa0a4..9d630087974d6fff1d60409d1acccfe3e1128db3 100644 (file)
@@ -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