Commit Graph

15 Commits

Author SHA1 Message Date
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
ed653f0cc2 Add ability to specify substitutions as key-value pairs 2022-09-02 10:46:23 +02:00
Boris Kolpackov
7ae9db1cf1 Minor tweak to README 2022-05-25 14:47:46 +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
79d26b5bb3 Rename LIBC_VERSION to BUILD2_AUTOCONF_LIBC_VERSION, add include guard 2022-04-24 12:58:43 +02:00
Francois Kritzinger
a0aa26a578 Add checks used by Qt 2022-02-02 10:34:41 +02:00
Boris Kolpackov
54a336216d Minor tweaks 2022-01-20 10:58:44 +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
e023354f8f Redo tests to first #undef 2022-01-14 10:44:55 +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
5df3ee0dc1 Complete built-in checks support, add few 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