2017-04-28 02:38:51 -04:00
|
|
|
<!--
|
2017-04-23 20:06:00 -04:00
|
|
|
Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2021-06-03 02:37:05 -04:00
|
|
|
|
2020-11-19 04:35:57 -05:00
|
|
|
SPDX-License-Identifier: MPL-2.0
|
2021-06-03 02:37:05 -04:00
|
|
|
|
2017-04-23 20:06:00 -04:00
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
2021-06-03 02:37:05 -04:00
|
|
|
|
2017-04-23 20:06:00 -04:00
|
|
|
See the COPYRIGHT file distributed with this work for additional
|
2017-10-26 00:42:56 -04:00
|
|
|
information regarding copyright ownership.
|
2017-04-28 02:38:51 -04:00
|
|
|
-->
|
2020-11-19 04:35:57 -05:00
|
|
|
Setting the `CPPFLAGS` environment variable before running `configure`
|
|
|
|
|
can be used to enable certain compile-time options that are not
|
|
|
|
|
explicitly defined in `configure`.
|
2017-04-20 22:21:54 -04:00
|
|
|
|
|
|
|
|
Some of these settings are:
|
|
|
|
|
|
2020-11-19 04:35:57 -05:00
|
|
|
| Setting | Description |
|
|
|
|
|
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
| `-DCHECK_LOCAL=0` | Don't check out-of-zone addresses in `named-checkzone` |
|
|
|
|
|
| `-DCHECK_SIBLING=0` | Don't check sibling glue in `named-checkzone` |
|
|
|
|
|
| `-DISC_FACILITY=LOG_LOCAL0` | Change the default syslog facility for `named` |
|
|
|
|
|
| `-DISC_HEAP_CHECK` | Test heap consistency after every heap operation; used when debugging |
|
|
|
|
|
| `-DISC_MEM_TRACKLINES=0` | Don't track memory allocations by file and line number; this improves performance but makes debugging more difficult |
|
|
|
|
|
| `-DNAMED_RUN_PID_DIR=0` | Create default PID files in `${localstatedir}/run` rather than `${localstatedir}/run/named/` |
|
|
|
|
|
| `-DNS_CLIENT_DROPPORT=0` | Disable dropping queries from particular well-known ports |
|