Commit Graph

117 Commits

Author SHA1 Message Date
Fred Helmesjö
a7bbed8b7d Add HAVE_SIGNAL_H (GH PR #55) 2022-09-23 11:51:07 +02:00
Fred Helmesjö
4040ebfce7 Add HAVE_STRERROR_R (GH PR #54) 2022-09-23 11:51:07 +02:00
Fred Helmesjö
a991a07e7b Add HAVE_STRERROR_R_CHAR_P (GH PR #53) 2022-09-23 11:51:07 +02:00
Fred Helmesjö
25372887c5 Add HAVE_AI_ADDRCONFIG (GH PR #52) 2022-09-23 11:51:07 +02:00
Fred Helmesjö
706e956f2b Update HAVE_INTTYPES_H for Windows (GH PR #51) 2022-09-23 11:51:07 +02:00
Francois Kritzinger
69a28ea364 Fix BUILD2_AUTOCONF_MINGW_PREREQ(maj, min) 2022-09-14 16:33:38 +02:00
Francois Kritzinger
664f5a752b Fix HAVE_STRTOK_R 2022-09-14 12:15:28 +02:00
Francois Kritzinger
728c7bfddb Update HAVE_AFUNIX_H to use BUILD2_AUTOCONF_MINGW_PREREQ 2022-09-14 12:15:28 +02:00
Francois Kritzinger
ef18e9680b Add BUILD2_AUTOCONF_MINGW_PREREQ(maj, min) 2022-09-14 12:15:28 +02:00
Francois Kritzinger
1f742a815a Fix HAVE_ARC4RANDOM_ADDRANDOM 2022-09-13 13:39:04 +02:00
Francois Kritzinger
d607c6c5af Fix HAVE_NETINET_IN6_H and HAVE_SYS_SENDFILE_H 2022-09-13 10:42:32 +02:00
Boris Kolpackov
3a41d19323 Fix duplicate suppression to handle same name with and without prefix 2022-09-13 10:33:41 +02:00
Francois Kritzinger
950c00d571 Fix *_PREREQ() comments in BUILD2_AUTOCONF_LIBC_VERSION.h 2022-09-12 14:53:13 +02:00
Francois Kritzinger
89ee15fa4a Fix invalid octal literals 2022-09-12 14:53:13 +02:00
Francois Kritzinger
7e52b26c5f Fix IPv6-related (in6.h) checks 2022-09-12 14:53:13 +02:00
Francois Kritzinger
1dd9ac424d Remove libevent-specific check 2022-09-12 13:28:59 +02:00
Francois Kritzinger
0afe000dd1 Fix typo in README.md 2022-09-12 13:17:28 +02:00
Boris Kolpackov
4ca30be398 Minor fix in README 2022-09-07 11:45:28 +02:00
Boris Kolpackov
9ea8f09e9c Fix SIZEOF_OFF_T check for MinGW 2022-09-07 11:21:16 +02:00
Boris Kolpackov
367c4529d2 Add mechanism for creating project-specific aliases for built-in checks
Specifically, the desired aliases can be specified as key-value pairs in
the autoconf.aliases map with key being the new name and the value --
old/existing. See the README for details.
2022-09-07 09:30:03 +02:00
Boris Kolpackov
3a324ad757 Cosmetic changes 2022-09-07 08:31:55 +02:00
Emil Rosenquist
f868420725
Use size of pointer as size of pthread_t in SIZEOF_PTHREAD_T (GH PR #48) 2022-09-07 08:25:43 +02:00
Boris Kolpackov
013bbe243d Redo socklen_t on Windows without including <ws2tcpip.h> 2022-09-05 18:25:47 +02:00
Boris Kolpackov
a9944ed041 Mark const, inline, volatile checks as unprefixable 2022-09-04 13:00:11 +02:00
Boris Kolpackov
04b6d354b1 Improve ssize_t and socklen_t checks 2022-09-04 12:57:24 +02:00
Boris Kolpackov
a9d13e2519 Add test for more tricky SIZEOF_* checks 2022-09-04 12:35:01 +02:00
Boris Kolpackov
2e1a2fe3c1 Fix bug in SIZEOF_PTHREAD_T implementation 2022-09-04 12:34:05 +02:00
Boris Kolpackov
2062ab7e57 Redo SIZEOF_OFF_T using __SIZEOF_SIZE_T__ instead of checking for CPUs 2022-09-04 10:18:57 +02:00
Boris Kolpackov
a64598861f Redo SIZEOF_VOID_P like SIZEOF_POINTER 2022-09-04 09:33:24 +02:00
6e0ee89374 Use #define instead of typedef in ssize_t check to avoid conflicts 2022-09-04 09:02:01 +02:00
ed2375e397 Correct Windows support in number of tests
The following are all supported on Windows:

FCNTL_H
SYS_STAT_H
IN6_ADDR
STRUCT_SOCKADDR_IN6
STRUCT_SOCKADDR_STORAGE
STRUCT_SOCKADDR_STORAGE_SS_FAMILY
2022-09-04 08:51:14 +02:00
Fred Helmesjö
fb04684043 Fix wrong define name in HAVE_STDDEF_H (GH PR #43) 2022-09-02 11:10:56 +02:00
Boris Kolpackov
1f2c1784c8 Fix previously added checks some more (correct couple of wrong file names) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
220e842bb3 Add HAVE_ACCEPT4 (GH PR #42) 2022-09-02 11:10:56 +02:00
Boris Kolpackov
f0bb56a739 Fixup previously added checks (add trailing newline, get rid of C++ comments, etc) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
49a03ff46f Add ssize_t (GH PR #40) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
94fad53de9 Add socklen_t (GH PR #39) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
180b052f7e Add SIZEOF_OFF_T (GH PR #31) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
4b9024013d Add HAVE_AFUNIX_H (GH PR #37) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
c4ec18c503 Add SIZEOF_VOID_P (GH PR #32) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
a31b66b8b7 Add HAVE___func__ and HAVE___FUNCTION__ (GH PR #27) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
c504aa31a4 Add HAVE_DECL_CTL_KERN, HAVE_DECL_KERN_ARND (GH PR #38) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
5f1d305468 Add HAVE_SA_FAMILY_T (GH PR #36) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
a6081c13f4 Add HAVE__GMTIME, HAVE__GMTIME_S, HAVE__GMTIME32, HAVE__GMTIME32_S, HAVE__GMTIME64, HAVE__GMTIME64_S (GH PR #35) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
ad176f5bd4 Add HAVE_STRUCT_ADDRINFO, HAVE_STRUCT_IN6_ADDR, HAVE_STRUCT_SOCKADDR_IN6, HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN, HAVE_STRUCT_SOCKADDR_IN_SIN_LEN, HAVE_STRUCT_SOCKADDR_UN, HAVE_STRUCT_SOCKADDR_STORAGE, HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY, HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY, HAVE_STRUCT_LINGER (GH PR #34) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
13e255d98b Add HAVE_STDDEF_H and HAVE_STDARG_H (#33) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
e2c881db6c Add HAVE_SIGACTION, HAVE_STRSEP, HAVE_STRTOK, HAVE_STRTOK_R, HAVE_STRTOL, HAVE_STRTOLL (#30) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
3a081e3697 Add HAVE_GETHOSTBYNAME_T* (GH PR #29) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
dbeacaffd4 Add HAVE_GETENV, HAVE_SETENV, HAVE_UNSETENV, HAVE_PUTENV, HAVE_GETRLIMIT, HAVE_SETRLIMIT, HAVE_SETFD (GH PR #28) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
98ca18573e Add HAVE_SLEEP, HAVE_USLEEP, HAVE_NANOSLEEP (GH PR #26) 2022-09-02 11:10:56 +02:00