Commit Graph

98 Commits

Author SHA1 Message Date
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
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
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
Emil Rosenquist
0745c11a0b Add HAVE_VASPRINTF (GH PR #25) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
f6498ae4d5 Add HAVE_UMASK (GH PR #23) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
3b7b79fe78 Add HAVE_PIPE, HAVE_PIPE2 (GH PR #22) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
cc385bb874 Add HAVE_SYS_*_H, HAVE_SELECT, HAVE_SENDFILE, HAVE_SYSCLT (GH PR #21) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
0364b16e8c Add SIZEOF_{SHORT,INT,LONGLONG,PTHREAD_T} (GH PR #20) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
7d2082cbb2 Add HAVE_STDINT_H, HAVE_*INT*_T (GH PR #19) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
30bc3f72c0 Add HAVE_TIMERFD_CREATE (GH PR #18) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
995f06fd3a Add HAVE_TIMERADD, HAVE_TIMERCLEAR, HAVE_TIMERISSET (GH PR #17) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
0132c118e5 Add HAVE_ERRNO_H (GH PR #16) 2022-09-02 11:10:56 +02:00