The test-security-check and test-symbol-check scripts still reference Autoconf and it’s behaviour:
0def env_flags() -> list[str]:
1    # This should behave the same as AC_TRY_LINK, so arrange well-known flags
2    # in the same order as autoconf would.
3    #
4    # See the definitions for ac_link in autoconf's lib/autoconf/c.m4 file for
5    # reference.
The also expect CPPFLAGS to be passed into them, but this isn’t happening from CMake: