James Ralston qralston+ml.nettle-bugs@andrew.cmu.edu writes:
I don't have any strong opinions on whether GMP is needed. But if it *is* needed, then configure should die if it can't find GMP, rather than giving the builder the illusion that typing "make" can actually succeed. ;)
Ah, it seems I misunderstood you, I thought "anything that includes rsa.h fails to compile, because rsa.h unconditionally includes <gmp.h>" referred to some other program *using* nettle, not files that are part of nettle.
If making nettle fails when there's no GMP available, that's definitely a bug. Please provide error messages, version info etc.
The intended behaviour in this case is to build a nettle library without any public-key support.
Regards, /Niels