randombit / botan

Cryptography Toolkit
https://botan.randombit.net
BSD 2-Clause "Simplified" License
2.52k stars 558 forks source link

Split up build.h #3861

Open randombit opened 8 months ago

randombit commented 8 months ago

A lot of build.h is completely for internal use. It contains:

From an API perspective the only things that the user needs to see is the version info and the HAS_FOO feature macros.

Some other things probably need to be visible since we use them in headers somehow (eg BOTAN_MP_WORD_BITS defines size of word and we use that in headers)

Shinleon commented 6 months ago

This appears to be fixed, at least in that build.h doesn't exist, and buildh.in doesn't have BOTAN_HAS_FOO or %{local_config}.