[botan-devel] compilation issues with disabled modules

Jack Lloyd lloyd at randombit.net
Sat Feb 8 10:59:29 EST 2014


On Sat, Feb 01, 2014 at 09:09:36AM +0100, Markus Wanner wrote:
> Jack,
> 
> on the current head, I run into trouble when trying to compile with
> various modules disabled. Most importantly, disabling tls and x509
> failed. Trying some more, I also found ecdsa and ecdh to fail. The
> attached patch fixes these issues by adding a couple "#if defined" (and
> fixing a digit swap in unit_x509).
> 
> Is that the right way to go? Or do you want to integrate cmds and tests
> better (or differently) with the configure.py / info.txt infrastructure?

Hi Markus,

In the long run I will probably adapt cmd to use the same scheme as
the library itself as all the dependency logic is already there for
us. But until that actually happens your patch seems to be a good
solution, so I've applied it to trunk. Thanks!

Jack


More information about the botan-devel mailing list