mirror of https://github.com/getdnsapi/getdns.git
Make visible existing options that are visible in autoconf.
Also punctuate option text consistently.
This commit is contained in:
parent
60eb113770
commit
5f3d5191b0
|
@ -110,21 +110,23 @@ else ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# Options.
|
# Options.
|
||||||
option(ENABLE_SHARED "build shared libraries" ON)
|
option(ENABLE_SHARED "Build shared libraries." ON)
|
||||||
option(ENABLE_STATIC "build static libraries" ON)
|
option(ENABLE_STATIC "Build static libraries." ON)
|
||||||
if ((NOT ENABLE_SHARED) AND (NOT ENABLE_STATIC))
|
if ((NOT ENABLE_SHARED) AND (NOT ENABLE_STATIC))
|
||||||
message(FATAL_ERROR "You must build either static or shared libraries.")
|
message(FATAL_ERROR "You must build either static or shared libraries.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set(DNSSEC_ROADBLOCK_AVOIDANCE 1) # Nail on, as build fails if off.
|
set(DNSSEC_ROADBLOCK_AVOIDANCE ON CACHE BOOL "Enable/disable DNSSEC roadblock avoidance.")
|
||||||
set(STUB_NATIVE_DNSSEC 1) # Nail on for now.
|
set(MAX_UDP_BACKOFF 1000 CACHE STRING "Set the maximum number of messages that can be sent to other upstreams before the upstream which has previously timed out will be tried again.")
|
||||||
set(MAXIMUM_UPSTREAM_OPTION_SPACE 3000)
|
set(STUB_NATIVE_DNSSEC ON CACHE BOOL "Enable/disable native stub DNSSEC support.")
|
||||||
set(EDNS_PADDING_OPCODE 12)
|
|
||||||
set(MAX_CNAME_REFERRALS 100)
|
# Options not exposed in autoconf.
|
||||||
set(DRAFT_RRTYPES 1)
|
set(DRAFT_RRTYPES 1)
|
||||||
set(EDNS_COOKIE_OPCODE 10)
|
set(EDNS_COOKIE_OPCODE 10)
|
||||||
set(EDNS_COOKIE_ROLLOVER_TIME "(24*60*60)")
|
set(EDNS_COOKIE_ROLLOVER_TIME "(24*60*60)")
|
||||||
set(UDP_MAX_BACKOFF 1000)
|
set(EDNS_PADDING_OPCODE 12)
|
||||||
|
set(MAX_CNAME_REFERRALS 100)
|
||||||
|
set(MAXIMUM_UPSTREAM_OPTION_SPACE 3000)
|
||||||
|
|
||||||
# Does the compiler accept the "format" attribute?
|
# Does the compiler accept the "format" attribute?
|
||||||
try_compile(HAVE_ATTR_FORMAT
|
try_compile(HAVE_ATTR_FORMAT
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
#cmakedefine DRAFT_RRTYPES @DRAFT_RRTYPES@
|
#cmakedefine DRAFT_RRTYPES @DRAFT_RRTYPES@
|
||||||
#cmakedefine EDNS_COOKIE_OPCODE @EDNS_COOKIE_OPCODE@
|
#cmakedefine EDNS_COOKIE_OPCODE @EDNS_COOKIE_OPCODE@
|
||||||
#cmakedefine EDNS_COOKIE_ROLLOVER_TIME @EDNS_COOKIE_ROLLOVER_TIME@
|
#cmakedefine EDNS_COOKIE_ROLLOVER_TIME @EDNS_COOKIE_ROLLOVER_TIME@
|
||||||
#cmakedefine UDP_MAX_BACKOFF @UDP_MAX_BACKOFF@
|
#cmakedefine UDP_MAX_BACKOFF @MAX_UDP_BACKOFF@
|
||||||
|
|
||||||
#cmakedefine HAVE_DECL_GETENTROPY 1
|
#cmakedefine HAVE_DECL_GETENTROPY 1
|
||||||
#cmakedefine HAVE_DECL_INET_PTON 1
|
#cmakedefine HAVE_DECL_INET_PTON 1
|
||||||
|
|
Loading…
Reference in New Issue