Avoid replacing 'struct timeval' and compiling lib/gettimeofday.c on MinGW.
authorEli Zaretskii <eliz@gnu.org>
Fri, 20 Sep 2013 07:21:20 +0000 (10:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 20 Sep 2013 07:21:20 +0000 (10:21 +0300)
 nt/mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
 to avoid gnulib replacement of 'struct timeval' and the resulting
 compilation of lib/gettimeofday.c with incompatible version of
 gettimeofday.  Related discussions on emacs-devel:
 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html

nt/ChangeLog
nt/mingw-cfg.site

index e7d9ed9..2f9a2f5 100644 (file)
@@ -1,3 +1,12 @@
+2013-09-20  Eli Zaretskii  <eliz@gnu.org>
+
+       * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
+       to avoid gnulib replacement of 'struct timeval' and the resulting
+       compilation of lib/gettimeofday.c with incompatible version of
+       gettimeofday.  Related discussions on emacs-devel:
+       http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00286.html
+       http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00361.html
+
 2013-08-31  Glenn Morris  <rgm@gnu.org>
 
        * INSTALL: Rename from INSTALL.MSYS.
index 325bba2..a217cbc 100644 (file)
@@ -31,6 +31,9 @@
 # We want to use getopt.h from gnulib
 ac_cv_header_getopt_h=no
 
+# We don't want our struct timeval replaced due to Posix conformance
+gl_cv_sys_struct_timeval_tv_sec=yes
+
 # ACL functions are implemented in w32.c
 ac_cv_search_acl_get_file="none required"
 ac_cv_func_acl_get_file=yes