Commit Graph

91 Commits

Author SHA1 Message Date
Boris Kolpackov
abb954022e Fix test not to use conditional dependency declarations 2022-07-20 11:10:18 +02:00
Boris Kolpackov
3c49282131 Don't load autoconf module in skeleton mode in tests 2022-06-29 10:40:06 +02:00
Francois Kritzinger
a7d7c362de Add checks used by libharfbuzz 2022-05-26 16:57:02 +02:00
Francois Kritzinger
4c1a1bbff5 Add BUILD2_AUTOCONF_MACOS 2022-05-26 16:56:59 +02:00
Boris Kolpackov
7ae9db1cf1 Minor tweak to README 2022-05-25 14:47:46 +02:00
Boris Kolpackov
c2e0802100 Document const, inline, volatile checks semantics 2022-04-26 08:53:09 +02:00
Boris Kolpackov
86ce902bf6 Add note to README.md 2022-04-24 15:38:37 +02:00
Boris Kolpackov
55e7bd4edb Document and detect issue with conditional checks 2022-04-24 12:58:43 +02:00
Boris Kolpackov
55d590890e Simplify HAVE_RDRND check not to require base 2022-04-24 12:58:43 +02:00
Boris Kolpackov
79d26b5bb3 Rename LIBC_VERSION to BUILD2_AUTOCONF_LIBC_VERSION, add include guard 2022-04-24 12:58:43 +02:00
Boris Kolpackov
fba5138c0d Add SIZEOF_{LONG,POINTER,SIZE_T} checks 2022-04-24 11:12:35 +02:00
Francois Kritzinger
8e969c04e2 Add HAVE_INTRIN_H 2022-04-21 09:19:46 +02:00
Francois Kritzinger
701dcd4e9f Add HAVE_CTZ, HAVE_CTZL, and HAVE_CTZLL 2022-04-21 09:19:46 +02:00
Boris Kolpackov
c95f077194 Adjust to new target auxiliary data storage interface and semantics 2022-04-20 11:03:10 +02:00
Francois Kritzinger
ca7bedbbd3 Add HAVE_UNISTD_H and HAVE_FCNTL_H 2022-03-24 15:57:50 +02:00
Francois Kritzinger
26aab9ba94 Fix HAVE_F16C and LIBC_VERSION 2022-02-11 14:04:57 +02:00
Boris Kolpackov
c251ce6fe7 Sort checks as strings to do it case-sensitively on Windows 2022-02-11 11:09:27 +02:00
Francois Kritzinger
87f2f24d5b Add HAVE_AES and HAVE_F16C 2022-02-08 11:28:36 +02:00
Francois Kritzinger
802db34adb Add more checks used by Qt 2022-02-04 17:07:41 +02:00
Francois Kritzinger
a0aa26a578 Add checks used by Qt 2022-02-02 10:34:41 +02:00
Francois Kritzinger
17aa02d771 Add checks for endianness 2022-01-24 14:53:17 +02:00
Francois Kritzinger
d72596f486 Add checks for explicit_bzero(), explicit_memset() 2022-01-24 14:52:13 +02:00
Francois Kritzinger
2b7f360cdd Add checks for SIMD 2022-01-24 14:52:10 +02:00
Boris Kolpackov
fe71b0bac7 Clear checks set after depdb verification 2022-01-20 16:27:45 +02:00
Boris Kolpackov
54a336216d Minor tweaks 2022-01-20 10:58:44 +02:00
Boris Kolpackov
6bb88b24c2 Rename basics test to module in preparation for checks tests 2022-01-20 10:21:31 +02:00
Boris Kolpackov
c588672b93 Add support for checks reuse
Specifically:

1. A check's option name can now be marked as "unprefixable": `// <NAME>!`.

2. A check can now list a number of base checks: `// <NAME> : <BASE>...`.

3. Duplicate options are now automatically suppressed.
2022-01-20 10:10:09 +02:00
Boris Kolpackov
4e8713e8e9 Add builds: all to manifest 2022-01-20 10:10:09 +02:00
Boris Kolpackov
e023354f8f Redo tests to first #undef 2022-01-14 10:44:55 +02:00
Boris Kolpackov
908358e13e Update copyright 2022-01-14 10:44:55 +02:00
Boris Kolpackov
ee8622ee17 Adjust to fixed in::rule interface 2021-11-29 13:41:43 +02:00
Boris Kolpackov
f0715ced26 Add support for custom prefix in built-in checks 2021-11-24 13:30:54 +02:00
Boris Kolpackov
d1dc8180d4 Update README.md with usage information 2021-11-05 09:05:38 +02:00
Boris Kolpackov
a2e1f8a7d9 Automatically detect flavor based on .cmake/.meson file extensions 2021-11-05 08:36:34 +02:00
Boris Kolpackov
8e355c01d0 Improve generated checks source file formatting 2021-11-04 16:50:26 +02:00
Boris Kolpackov
a6eb5d21b2 Tweak .gitignore 2021-11-04 11:46:44 +02:00
Boris Kolpackov
705b1bd474 Detect and warn about wrong configuration file flavor 2021-11-04 10:59:53 +02:00
Boris Kolpackov
5df3ee0dc1 Complete built-in checks support, add few checks 2021-11-04 10:59:53 +02:00
Boris Kolpackov
be2c4ff0b3 Add infrastructure for build-in checks 2021-11-04 10:59:53 +02:00
Boris Kolpackov
ef54e197e9 Initial module implementation
At this stage it handles Autoconf (#undef), CMake (#cmakedefine), and Meson
(#mesondefine) special lines but does not have any built-in tests.
2021-11-04 10:59:53 +02:00
Boris Kolpackov
19fcde9ddc Initial project setup (README, LICENSE, etc) 2021-10-31 13:36:24 +02:00