]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- update acx_nlnetlabs.m4 to v23, sleep w32 fix.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 3 May 2013 09:35:55 +0000 (09:35 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 3 May 2013 09:35:55 +0000 (09:35 +0000)
git-svn-id: file:///svn/unbound/trunk@2898 be551aaa-1e26-0410-a405-d3ace91eadb9

acx_nlnetlabs.m4
config.h.in
doc/Changelog

index bc18187fdffaefdc0d2fbf3a779847cb70a89f80..e393817efb7e728a10be25a837959f9e054c8a92 100644 (file)
@@ -2,7 +2,8 @@
 # Copyright 2009, Wouter Wijngaards, NLnet Labs.   
 # BSD licensed.
 #
-# Version 22
+# Version 23
+# 2013-05-03 Update W32_SLEEP for newer mingw that links but not defines it.
 # 2013-03-22 Fix ACX_RSRC_VERSION for long version numbers.
 # 2012-02-09 Fix AHX_MEMCMP_BROKEN with undef in compat/memcmp.h.
 # 2012-01-20 Fix COMPILER_FLAGS_UNBOUND for gcc 4.6.2 assigned-not-used-warns.
@@ -1209,7 +1210,7 @@ struct tm *gmtime_r(const time_t *timep, struct tm *result);
 dnl provide w32 compat definition for sleep
 AC_DEFUN([AHX_CONFIG_W32_SLEEP],
 [
-#ifndef HAVE_SLEEP
+#if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H)
 #define sleep(x) Sleep((x)*1000) /* on win32 */
 #endif /* HAVE_SLEEP */
 ])
index 7e1a5a34b0798a70f127f520c03327c8a0a47c4d..eb1f27053b7b98ccc1f9180b3ff3d8b1cb22d43d 100644 (file)
@@ -805,7 +805,7 @@ struct tm *gmtime_r(const time_t *timep, struct tm *result);
 #endif
 
 
-#ifndef HAVE_SLEEP
+#if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H)
 #define sleep(x) Sleep((x)*1000) /* on win32 */
 #endif /* HAVE_SLEEP */
 
index 2b0b80aa01efdfd7e9ff40d045f1db574313be81..88eac6c7c0a34ea96e35591864e940e177e8d048 100644 (file)
@@ -1,3 +1,6 @@
+3 May 2013: Wouter
+       - update acx_nlnetlabs.m4 to v23, sleep w32 fix.
+
 26 April 2013: Wouter
        - add unbound-control insecure_add and insecure_remove for the
          administration of negative trust anchors.