acx_nlnetlabs.m4 (266114) | acx_nlnetlabs.m4 (287917) |
---|---|
1# acx_nlnetlabs.m4 - common macros for configure checks 2# Copyright 2009, Wouter Wijngaards, NLnet Labs. 3# BSD licensed. 4# | 1# acx_nlnetlabs.m4 - common macros for configure checks 2# Copyright 2009, Wouter Wijngaards, NLnet Labs. 3# BSD licensed. 4# |
5# Version 26 | 5# Version 27 6# 2015-03-17 AHX_CONFIG_REALLOCARRAY added |
6# 2013-09-19 FLTO help text improved. 7# 2013-07-18 Enable ACX_CHECK_COMPILER_FLAG to test for -Wstrict-prototypes 8# 2013-06-25 FLTO has --disable-flto option. 9# 2013-05-03 Update W32_SLEEP for newer mingw that links but not defines it. 10# 2013-03-22 Fix ACX_RSRC_VERSION for long version numbers. 11# 2012-02-09 Fix AHX_MEMCMP_BROKEN with undef in compat/memcmp.h. 12# 2012-01-20 Fix COMPILER_FLAGS_UNBOUND for gcc 4.6.2 assigned-not-used-warns. 13# 2011-12-05 Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc. --- 1194 unchanged lines hidden (view full) --- 1208AC_DEFUN([AHX_CONFIG_GMTIME_R], 1209[ 1210#ifndef HAVE_GMTIME_R 1211#define gmtime_r gmtime_r_$1 1212struct tm *gmtime_r(const time_t *timep, struct tm *result); 1213#endif 1214]) 1215 | 7# 2013-09-19 FLTO help text improved. 8# 2013-07-18 Enable ACX_CHECK_COMPILER_FLAG to test for -Wstrict-prototypes 9# 2013-06-25 FLTO has --disable-flto option. 10# 2013-05-03 Update W32_SLEEP for newer mingw that links but not defines it. 11# 2013-03-22 Fix ACX_RSRC_VERSION for long version numbers. 12# 2012-02-09 Fix AHX_MEMCMP_BROKEN with undef in compat/memcmp.h. 13# 2012-01-20 Fix COMPILER_FLAGS_UNBOUND for gcc 4.6.2 assigned-not-used-warns. 14# 2011-12-05 Fix getaddrinfowithincludes on windows with fedora16 mingw32-gcc. --- 1194 unchanged lines hidden (view full) --- 1209AC_DEFUN([AHX_CONFIG_GMTIME_R], 1210[ 1211#ifndef HAVE_GMTIME_R 1212#define gmtime_r gmtime_r_$1 1213struct tm *gmtime_r(const time_t *timep, struct tm *result); 1214#endif 1215]) 1216 |
1217dnl provide reallocarray compat prototype. 1218dnl $1: unique name for compat code 1219AC_DEFUN([AHX_CONFIG_REALLOCARRAY], 1220[ 1221#ifndef HAVE_REALLOCARRAY 1222#define reallocarray reallocarray$1 1223void* reallocarray(void *ptr, size_t nmemb, size_t size); 1224#endif 1225]) 1226 |
|
1216dnl provide w32 compat definition for sleep 1217AC_DEFUN([AHX_CONFIG_W32_SLEEP], 1218[ 1219#if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H) 1220#define sleep(x) Sleep((x)*1000) /* on win32 */ 1221#endif /* HAVE_SLEEP */ 1222]) 1223 --- 155 unchanged lines hidden --- | 1227dnl provide w32 compat definition for sleep 1228AC_DEFUN([AHX_CONFIG_W32_SLEEP], 1229[ 1230#if !defined(HAVE_SLEEP) || defined(HAVE_WINDOWS_H) 1231#define sleep(x) Sleep((x)*1000) /* on win32 */ 1232#endif /* HAVE_SLEEP */ 1233]) 1234 --- 155 unchanged lines hidden --- |