Update win32 configure for --enable-querytrace (#37520)
Also enable querytrace when --enable-developer is specified.
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -19,7 +19,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
|
||||
|
||||
@@ -327,6 +327,15 @@
|
||||
easier-to-read comments. [RT #38458]
|
||||
</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">
|
||||
|
||||
@@ -375,6 +375,7 @@ my @substdefh = ("AES_SIT",
|
||||
"ISC_LIST_CHECKINIT",
|
||||
"PREFER_GOSTASN1",
|
||||
"TUNE_LARGE",
|
||||
"WANT_QUERYTRACE",
|
||||
"WITH_IDN");
|
||||
|
||||
# for platform.h
|
||||
@@ -488,6 +489,7 @@ my @enablelist = ("developer",
|
||||
"native-pkcs11",
|
||||
"openssl-hash",
|
||||
"filter-aaaa",
|
||||
"querytrace",
|
||||
"rpz-nsdname",
|
||||
"rpz-nsip",
|
||||
"sit");
|
||||
@@ -545,6 +547,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",
|
||||
@@ -586,6 +589,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";
|
||||
@@ -744,6 +748,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";
|
||||
@@ -771,6 +779,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
|
||||
@@ -1001,6 +1010,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 {
|
||||
@@ -1365,6 +1379,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;
|
||||
@@ -2942,6 +2961,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
|
||||
|
||||
Reference in New Issue
Block a user