mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 06:39:59 -04:00
Update win32 configure for --enable-querytrace (#37520)
Also enable querytrace when --enable-developer is specified.
(cherry picked from commit 84f95ddb25)
This commit is contained in:
parent
00cc9fb766
commit
5ec24730f9
6 changed files with 37 additions and 3 deletions
4
CHANGES
4
CHANGES
|
|
@ -14,7 +14,9 @@
|
|||
[RT #38056]
|
||||
|
||||
4072. [func] Add a --enable-querytrace configure switch for
|
||||
very verbose query tracelogging. [RT #37520]
|
||||
very verbose query tracelogging. (This option
|
||||
has a negative performance impact and should be
|
||||
used only for debugging.) [RT #37520]
|
||||
|
||||
4071. [cleanup] Initialize pthread mutex attrs just once, instead of
|
||||
doing it per mutex creation. [RT #38547]
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: config.h.win32,v 1.28 2011/10/30 23:39:39 marka Exp $ */
|
||||
|
||||
/*
|
||||
* win32 configuration file
|
||||
* All definitions, declarations, macros and includes are
|
||||
|
|
@ -396,6 +394,9 @@ typedef __int64 off_t;
|
|||
/* Large system tuning */
|
||||
@TUNE_LARGE@
|
||||
|
||||
/* Verbose query trace logging */
|
||||
@WANT_QUERYTRACE@
|
||||
|
||||
/*
|
||||
* Define to nothing if C supports flexible array members, and to 1 if it does
|
||||
* not. That way, with a declaration like `struct s { int n; double
|
||||
|
|
|
|||
1
configure
vendored
1
configure
vendored
|
|
@ -11436,6 +11436,7 @@ case "$enable_developer" in
|
|||
yes)
|
||||
STD_CDEFINES="$STD_CDEFINES -DISC_LIST_CHECKINIT=1"
|
||||
test "${enable_fixed_rrset+set}" = set || enable_fixed_rrset=yes
|
||||
test "${enable_querytrace+set}" = set || enable_querytrace=yes
|
||||
test "${with_atf+set}" = set || with_atf=yes
|
||||
test "${enable_filter_aaaa+set}" = set || enable_filter_aaaa=yes
|
||||
test "${with_dlz_filesystem+set}" = set || with_dlz_filesystem=yes
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ case "$enable_developer" in
|
|||
yes)
|
||||
STD_CDEFINES="$STD_CDEFINES -DISC_LIST_CHECKINIT=1"
|
||||
test "${enable_fixed_rrset+set}" = set || enable_fixed_rrset=yes
|
||||
test "${enable_querytrace+set}" = set || enable_querytrace=yes
|
||||
test "${with_atf+set}" = set || with_atf=yes
|
||||
test "${enable_filter_aaaa+set}" = set || enable_filter_aaaa=yes
|
||||
test "${with_dlz_filesystem+set}" = set || with_dlz_filesystem=yes
|
||||
|
|
|
|||
|
|
@ -49,6 +49,15 @@
|
|||
<listitem>
|
||||
<para>None</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
An <command>--enable-querytrace</command> configure switch is
|
||||
now available to enable very verbose query tracelogging. This
|
||||
option can only be set at compile time. This option has a
|
||||
negative performance impact and should be used only for
|
||||
debugging.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
<sect2 id="relnotes_changes">
|
||||
|
|
|
|||
|
|
@ -371,6 +371,7 @@ my @substdefh = ("AES_SIT",
|
|||
"ISC_LIST_CHECKINIT",
|
||||
"PREFER_GOSTASN1",
|
||||
"TUNE_LARGE",
|
||||
"WANT_QUERYTRACE",
|
||||
"WITH_IDN");
|
||||
|
||||
# for platform.h
|
||||
|
|
@ -484,6 +485,7 @@ my @enablelist = ("developer",
|
|||
"native-pkcs11",
|
||||
"openssl-hash",
|
||||
"filter-aaaa",
|
||||
"querytrace",
|
||||
"rpz-nsdname",
|
||||
"rpz-nsip",
|
||||
"sit");
|
||||
|
|
@ -541,6 +543,7 @@ my @help = (
|
|||
" enable-filter-aaaa enable filtering of AAAA records [default=no]\n",
|
||||
" enable-fixed-rrset enable fixed rrset ordering [default=no]\n",
|
||||
" enable-developer enable developer build settings [default=no]\n",
|
||||
" enable-querytrace enable very verbose query trace [default=no]\n",
|
||||
" enable-rpz-nsip enable rpz-nsip rules [default=yes]\n",
|
||||
" enable-rpz-nsdname enable rpz-nsdname rules [default=yes]\n",
|
||||
" enable-sit enable source identity token [default=yes]\n",
|
||||
|
|
@ -582,6 +585,7 @@ my $enable_filter_aaaa = "no";
|
|||
my $enable_isc_spnego = "yes";
|
||||
my $enable_fixed_rrset = "no";
|
||||
my $enable_developer = "no";
|
||||
my $enable_querytrace = "no";
|
||||
my $enable_rpz_nsip = "yes";
|
||||
my $enable_rpz_nsdname = "yes";
|
||||
my $enable_sit = "yes";
|
||||
|
|
@ -740,6 +744,10 @@ sub myenable {
|
|||
if ($val =~ /^yes$/i) {
|
||||
$enable_developer = "yes";
|
||||
}
|
||||
} elsif ($key =~ /^querytrace$/i) {
|
||||
if ($val =~ /^yes$/i) {
|
||||
$enable_querytrace = "yes";
|
||||
}
|
||||
} elsif ($key =~ /^rpz-nsip$/i) {
|
||||
if ($val =~ /^no$/i) {
|
||||
$enable_rpz_nsip = "no";
|
||||
|
|
@ -767,6 +775,7 @@ sub myenable {
|
|||
if ($enable_developer eq "yes") {
|
||||
$configdefh{"ISC_LIST_CHECKINIT"} = 1;
|
||||
$enable_filter_aaaa = "yes";
|
||||
$enable_querytrace = "yes";
|
||||
# no atf on WIN32
|
||||
$enable_fixed_rrset = "yes";
|
||||
# TODO: dlz filesystem
|
||||
|
|
@ -997,6 +1006,11 @@ if ($verbose) {
|
|||
} else {
|
||||
print "developer: disabled\n";
|
||||
}
|
||||
if ($enable_querytrace eq "yes") {
|
||||
print "querytrace: enabled\n";
|
||||
} else {
|
||||
print "querytrace: disabled\n";
|
||||
}
|
||||
if ($enable_rpz_nsip eq "yes") {
|
||||
print "rpz-nsip: enabled\n";
|
||||
} else {
|
||||
|
|
@ -1361,6 +1375,11 @@ if ($enable_rpz_nsip ne "no") {
|
|||
$configdefh{"ENABLE_RPZ_NSIP"} = 1;
|
||||
}
|
||||
|
||||
# enable-querytrace
|
||||
if ($enable_querytrace eq "yes") {
|
||||
$configdefh{"WANT_QUERYTRACE"} = 1;
|
||||
}
|
||||
|
||||
# enable-rpz-nsdname
|
||||
if ($enable_rpz_nsdname ne "no") {
|
||||
$configdefh{"ENABLE_RPZ_NSDNAME"} = 1;
|
||||
|
|
@ -2938,6 +2957,7 @@ exit 0;
|
|||
# --enable-atomic supported (renamed to intrinsic)
|
||||
# --enable-spnego support (part of GSSAPI)
|
||||
# --enable-fixed-rrset supported
|
||||
# --enable-querytrace supported
|
||||
# --disable-rpz-nsip supported
|
||||
# --disable-rpz-nsdname supported
|
||||
# --enable-filter-aaaa supported
|
||||
|
|
|
|||
Loading…
Reference in a new issue