Build config: add -DNO_GMP for use with nettle/mini-gmp

This commit is contained in:
Simon Kelley
2014-06-17 19:49:31 +01:00
parent 70772c9091
commit 063efb330a
4 changed files with 17 additions and 4 deletions

View File

@@ -105,6 +105,8 @@ HAVE_AUTH
define this to include the facility to act as an authoritative DNS
server for one or more zones.
HAVE_DNSSEC
include DNSSEC validator.
NO_IPV6
NO_TFTP
@@ -118,6 +120,11 @@ NO_AUTH
which are enabled by default in the distributed source tree. Building dnsmasq
with something like "make COPTS=-DNO_SCRIPT" will do the trick.
NO_NETTLE_ECC
Don't include the ECDSA cypher in DNSSEC validation. Needed for older Nettle versions.
NO_GMP
Don't use and link against libgmp, Useful if nettle is built with --enable-mini-gmp.
LEASEFILE
CONFFILE
RESOLVFILE

View File

@@ -26,7 +26,8 @@
# include <nettle/ecc-curve.h>
#endif
#include <nettle/nettle-meta.h>
#include <gmp.h>
#include <nettle/bignum.h>
#define SERIAL_UNDEF -100
#define SERIAL_EQ 0