2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-04 08:35:31 +00:00

4814. [cleanup] Use AS_HELP_STRING for consistent help text. [RT #46521]

This commit is contained in:
Mark Andrews
2017-11-13 11:36:45 +11:00
parent 9eb5aa40aa
commit 6bbbf12936
4 changed files with 508 additions and 434 deletions

View File

@@ -1,3 +1,5 @@
4814. [cleanup] Use AS_HELP_STRING for consistent help text. [RT #46521]
4813. [bug] Address potential read after free errors from 4813. [bug] Address potential read after free errors from
query_synthnodata, query_synthwildcard and query_synthnodata, query_synthwildcard and
query_synthnxdomain. [RT #46547] query_synthnxdomain. [RT #46547]

83
configure vendored
View File

@@ -1689,7 +1689,7 @@ Optional Features:
--enable-libbind deprecated --enable-libbind deprecated
--enable-buffer-useinline --enable-buffer-useinline
define ISC_BUFFER_USEINLINE when compiling define ISC_BUFFER_USEINLINE when compiling
[[default=yes]] [default=yes]
--enable-warn-shadow turn on -Wshadow when compiling --enable-warn-shadow turn on -Wshadow when compiling
--enable-warn-error turn on -Werror when compiling --enable-warn-error turn on -Werror when compiling
--enable-developer enable developer build settings --enable-developer enable developer build settings
@@ -1709,8 +1709,13 @@ Optional Features:
--enable-backtrace log stack backtrace on abort [default=yes] --enable-backtrace log stack backtrace on abort [default=yes]
--enable-symtable use internal symbol table for backtrace --enable-symtable use internal symbol table for backtrace
[all|minimal(default)|none] [all|minimal(default)|none]
--enable-ipv6 use IPv6 default=autodetect --enable-ipv6 use IPv6 [default=autodetect]
--disable-tcp-fastopen disable TCP Fast Open support [default=autodetect] --disable-tcp-fastopen disable TCP Fast Open support [default=autodetect]
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TCP_FASTOPEN socket option" >&5
$as_echo_n "checking for TCP_FASTOPEN socket option... " >&6; }
case "$enable_tcp_fastopen" in
yes|''|autodetect
--enable-getifaddrs enable the use of getifaddrs() [yes|no]. --enable-getifaddrs enable the use of getifaddrs() [yes|no].
--disable-isc-spnego use SPNEGO from GSSAPI library --disable-isc-spnego use SPNEGO from GSSAPI library
--disable-chroot disable chroot --disable-chroot disable chroot
@@ -1720,7 +1725,8 @@ Optional Features:
--enable-fixed-rrset enable fixed rrset ordering [default=no] --enable-fixed-rrset enable fixed rrset ordering [default=no]
--disable-rpz-nsip disable rpz nsip rules [default=enabled] --disable-rpz-nsip disable rpz nsip rules [default=enabled]
--disable-rpz-nsdname disable rpz nsdname rules [default=enabled] --disable-rpz-nsdname disable rpz nsdname rules [default=enabled]
--enable-dnsrps-dl DNS Response Policy Service delayed link [default=$librpz_dl] --enable-dnsrps-dl DNS Response Policy Service delayed link
[default=$librpz_dl]
--enable-dnsrps enable DNS Response Policy Service API --enable-dnsrps enable DNS Response Policy Service API
--enable-dnstap enable dnstap support (requires fstrm, protobuf-c) --enable-dnstap enable dnstap support (requires fstrm, protobuf-c)
--enable-querytrace enable very verbose query trace logging [default=no] --enable-querytrace enable very verbose query trace logging [default=no]
@@ -1738,54 +1744,60 @@ Optional Packages:
--with-python-install-dir=PATH --with-python-install-dir=PATH
installation directory for Python modules installation directory for Python modules
--with-geoip=PATH Build with GeoIP support (yes|no|path) --with-geoip=PATH Build with GeoIP support (yes|no|path)
--with-gssapi=[PATH|[/path/]krb5-config] Specify path for system-supplied GSSAPI [default=yes] --with-gssapi=PATH|/path/krb5-config
Specify path for system-supplied GSSAPI
[default=yes]
--with-randomdev=PATH Specify path for random device --with-randomdev=PATH Specify path for random device
--with-locktype=ARG Specify mutex lock type (adaptive or standard) --with-locktype=ARG Specify mutex lock type (adaptive or standard)
--with-libtool use GNU libtool --with-libtool use GNU libtool
--with-openssl=PATH Build with OpenSSL yes|no|path. --with-openssl=PATH Build with OpenSSL [yes|no|path]. (Crypto is
(Crypto is required for DNSSEC) required for DNSSEC)
--with-pkcs11=PATH Build with PKCS11 support yes|no|path --with-pkcs11=PATH Build with PKCS11 support [yes|no|path] (PATH is for
(PATH is for the PKCS11 provider) the PKCS11 provider)
--with-ecdsa Crypto ECDSA --with-ecdsa Crypto ECDSA
--with-gost Crypto GOST yes|no|raw|asn1. --with-gost Crypto GOST [yes|no|raw|asn1].
--with-eddsa Crypto EDDSA yes|all|no. --with-eddsa Crypto EDDSA [yes|all|no].
--with-aes Crypto AES --with-aes Crypto AES
--with-cc-alg=ALG choose the algorithm for Client Cookie [aes|sha1|sha256] --with-cc-alg=ALG choose the algorithm for Client Cookie
--with-lmdb=PATH build with LMDB library yes|no|path [aes|sha1|sha256]
--with-libxml2=PATH build with libxml2 library yes|no|path --with-lmdb=PATH build with LMDB library [yes|no|path]
--with-libjson=PATH build with libjson0 library yes|no|path --with-libxml2=PATH build with libxml2 library [yes|no|path]
--with-libjson=PATH build with libjson0 library [yes|no|path]
--with-zlib=PATH build with zlib for HTTP compression [default=yes] --with-zlib=PATH build with zlib for HTTP compression [default=yes]
--with-purify=PATH use Rational purify --with-purify=PATH use Rational purify
--with-gperftools-profiler use gperftools CPU profiler --with-gperftools-profiler
--with-kame=PATH use Kame IPv6 default path /usr/local/v6 use gperftools CPU profiler
--with-readline=LIBSPEC specify readline library default auto --with-kame=PATH use Kame IPv6 [default path /usr/local/v6]
--with-readline=LIBSPEC specify readline library [default auto]
--with-dnsrps-libname DNSRPS provider library name (librpz.so) --with-dnsrps-libname DNSRPS provider library name (librpz.so)
--with-dnsrps-dir path to DNSRPS provider library --with-dnsrps-dir path to DNSRPS provider library
--with-protobuf-c=path Path where protobuf-c is installed, for dnstap --with-protobuf-c=path Path where protobuf-c is installed, for dnstap
--with-libfstrm=path Path where libfstrm is installed, for dnstap --with-libfstrm=path Path where libfstrm is installed, for dnstap
--with-docbook-xsl=PATH specify path for Docbook-XSL stylesheets --with-docbook-xsl=PATH specify path for Docbook-XSL stylesheets
--with-idn=MPREFIX enable IDN support using idnkit default PREFIX --with-idn=MPREFIX enable IDN support using idnkit [default PREFIX]
--with-libiconv=IPREFIX GNU libiconv are in IPREFIX default PREFIX --with-libiconv=IPREFIX GNU libiconv are in IPREFIX [default PREFIX]
--with-iconv=LIBSPEC specify iconv library default -liconv --with-iconv=LIBSPEC specify iconv library [default -liconv]
--with-idnlib=ARG specify libidnkit --with-idnlib=ARG specify libidnkit
--with-atf=ARG support Automated Test Framework --with-atf support Automated Test Framework
--with-tuning=ARG Specify server tuning (large or default) --with-tuning=ARG Specify server tuning (large or default)
--with-dlopen=ARG support dynamically loadable DLZ drivers --with-dlopen=ARG support dynamically loadable DLZ drivers
--with-dlz-postgres=PATH Build with Postgres DLZ driver yes|no|path. --with-dlz-postgres=PATH
Build with Postgres DLZ driver [yes|no|path].
(Required to use Postgres with DLZ) (Required to use Postgres with DLZ)
--with-dlz-mysql=PATH Build with MySQL DLZ driver yes|no|path. --with-dlz-mysql=PATH Build with MySQL DLZ driver [yes|no|path]. (Required
(Required to use MySQL with DLZ) to use MySQL with DLZ)
--with-dlz-bdb=PATH Build with Berkeley DB DLZ driver yes|no|path. --with-dlz-bdb=PATH Build with Berkeley DB DLZ driver [yes|no|path].
(Required to use Berkeley DB with DLZ) (Required to use Berkeley DB with DLZ)
--with-dlz-filesystem=ARG Build with filesystem DLZ driver yes|no. --with-dlz-filesystem=ARG
(Required to use file system driver with DLZ) Build with filesystem DLZ driver [yes|no]. (Required
--with-dlz-ldap=PATH Build with LDAP DLZ driver yes|no|path. to use file system driver with DLZ)
(Required to use LDAP with DLZ) --with-dlz-ldap=PATH Build with LDAP DLZ driver [yes|no|path]. (Required
--with-dlz-odbc=PATH Build with ODBC DLZ driver yes|no|path. to use LDAP with DLZ)
(Required to use ODBC with DLZ) --with-dlz-odbc=PATH Build with ODBC DLZ driver [yes|no|path]. (Required
--with-dlz-stub=ARG Build with stub DLZ driver yes|no. to use ODBC with DLZ)
(Required to use stub driver with DLZ) --with-dlz-stub=ARG Build with stub DLZ driver [yes|no]. (Required to
use stub driver with DLZ)
--with-make-clean run "make clean" at end of configure [yes|no] --with-make-clean run "make clean" at end of configure [yes|no]
Some influential environment variables: Some influential environment variables:
@@ -18821,11 +18833,6 @@ if test "${enable_tcp_fastopen+set}" = set; then :
enableval=$enable_tcp_fastopen; enableval=$enable_tcp_fastopen;
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TCP_FASTOPEN socket option" >&5
$as_echo_n "checking for TCP_FASTOPEN socket option... " >&6; }
case "$enable_tcp_fastopen" in
yes|''|autodetect)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */

View File

@@ -43,7 +43,7 @@ AC_SUBST(CCNOOPT)
AC_SUBST(BACKTRACECFLAGS) AC_SUBST(BACKTRACECFLAGS)
# Warn if the user specified libbind, which is now deprecated # Warn if the user specified libbind, which is now deprecated
AC_ARG_ENABLE(libbind, [ --enable-libbind deprecated]) AC_ARG_ENABLE(libbind, AS_HELP_STRING([--enable-libbind], [deprecated]))
case "$enable_libbind" in case "$enable_libbind" in
yes) yes)
@@ -54,8 +54,10 @@ It is available from http://www.isc.org as a separate download.])
;; ;;
esac esac
AC_ARG_ENABLE(buffer_useinline, AS_HELP_STRING([--enable-buffer-useinline], AC_ARG_ENABLE(buffer_useinline,
[define ISC_BUFFER_USEINLINE when compiling [[default=yes]]]), AS_HELP_STRING([--enable-buffer-useinline],
[define ISC_BUFFER_USEINLINE when compiling
[default=yes]]),
if test yes = "${enable}" if test yes = "${enable}"
then then
AC_DEFINE([ISC_BUFFER_USEINLINE], [1], AC_DEFINE([ISC_BUFFER_USEINLINE], [1],
@@ -63,11 +65,17 @@ AC_ARG_ENABLE(buffer_useinline, AS_HELP_STRING([--enable-buffer-useinline],
fi, fi,
AC_DEFINE([ISC_BUFFER_USEINLINE], [1])) AC_DEFINE([ISC_BUFFER_USEINLINE], [1]))
AC_ARG_ENABLE(warn_shadow, [ --enable-warn-shadow turn on -Wshadow when compiling]) AC_ARG_ENABLE(warn_shadow,
AS_HELP_STRING([--enable-warn-shadow],
[turn on -Wshadow when compiling]))
AC_ARG_ENABLE(warn_error, [ --enable-warn-error turn on -Werror when compiling]) AC_ARG_ENABLE(warn_error,
AS_HELP_STRING([--enable-warn-error],
[turn on -Werror when compiling]))
AC_ARG_ENABLE(developer, [ --enable-developer enable developer build settings]) AC_ARG_ENABLE(developer,
AS_HELP_STRING([--enable-developer],
[enable developer build settings]))
XTARGETS= XTARGETS=
case "$enable_developer" in case "$enable_developer" in
yes) yes)
@@ -86,8 +94,12 @@ esac
AC_SUBST(XTARGETS) AC_SUBST(XTARGETS)
# American Fuzzy Lop # American Fuzzy Lop
AC_ARG_ENABLE(afl, [ --enable-afl enable American Fuzzy Lop test harness [[default=no]]], AC_ARG_ENABLE(afl,
[AC_DEFINE([ENABLE_AFL], [1], [Define to enable American Fuzzy Lop test harness])]) AS_HELP_STRING([--enable-afl],
[enable American Fuzzy Lop test harness
[default=no]]),
[AC_DEFINE([ENABLE_AFL], [1],
[Define to enable American Fuzzy Lop test harness])])
case "$enable_afl" in case "$enable_afl" in
yes) yes)
LIBS="$LIBS -lpthread" LIBS="$LIBS -lpthread"
@@ -98,7 +110,9 @@ esac
#libseccomp sandboxing #libseccomp sandboxing
AC_CHECK_FUNCS(getrandom) AC_CHECK_FUNCS(getrandom)
AC_ARG_ENABLE(seccomp, AC_ARG_ENABLE(seccomp,
AS_HELP_STRING([--enable-seccomp],[enable support for libseccomp system call filtering [default=no]])) AS_HELP_STRING([--enable-seccomp],
[enable support for libseccomp system call
filtering [default=no]]))
case "$enable_seccomp" in case "$enable_seccomp" in
yes) yes)
case $host_os in case $host_os in
@@ -218,10 +232,11 @@ AC_SUBST(PERL)
# If python is unavailable, we simply don't build those. # If python is unavailable, we simply don't build those.
# #
AC_ARG_WITH(python, AC_ARG_WITH(python,
[ --with-python=PATH specify path to python interpreter], AS_HELP_STRING([--with-python=PATH],
[specify path to python interpreter]),
use_python="$withval", use_python="unspec") use_python="$withval", use_python="unspec")
AC_ARG_WITH(python-install-dir, AC_ARG_WITH(python-install-dir,
AC_HELP_STRING([--with-python-install-dir=PATH], AS_HELP_STRING([--with-python-install-dir=PATH],
[installation directory for Python modules]), [installation directory for Python modules]),
use_python_install_dir="$withval", use_python_install_dir="unspec") use_python_install_dir="$withval", use_python_install_dir="unspec")
@@ -658,7 +673,8 @@ AC_SUBST(ISC_PLATFORM_HAVELIFCONF)
# check if we have kqueue # check if we have kqueue
# #
AC_ARG_ENABLE(kqueue, AC_ARG_ENABLE(kqueue,
[ --enable-kqueue use BSD kqueue when available [[default=yes]]], AS_HELP_STRING([--enable-kqueue],
[use BSD kqueue when available [default=yes]]),
want_kqueue="$enableval", want_kqueue="yes") want_kqueue="$enableval", want_kqueue="yes")
case $want_kqueue in case $want_kqueue in
yes) yes)
@@ -683,7 +699,8 @@ AC_SUBST(ISC_PLATFORM_HAVEKQUEUE)
# so we need to try running the code, not just test its existence. # so we need to try running the code, not just test its existence.
# #
AC_ARG_ENABLE(epoll, AC_ARG_ENABLE(epoll,
[ --enable-epoll use Linux epoll when available [[default=auto]]], AS_HELP_STRING([--enable-epoll],
[use Linux epoll when available [default=auto]]),
want_epoll="$enableval", want_epoll="auto") want_epoll="$enableval", want_epoll="auto")
case $want_epoll in case $want_epoll in
auto) auto)
@@ -716,7 +733,8 @@ AC_SUBST(ISC_PLATFORM_HAVEEPOLL)
# check if we support /dev/poll # check if we support /dev/poll
# #
AC_ARG_ENABLE(devpoll, AC_ARG_ENABLE(devpoll,
[ --enable-devpoll use /dev/poll when available [[default=yes]]], AS_HELP_STRING([--enable-devpoll],
[use /dev/poll when available [default=yes]]),
want_devpoll="$enableval", want_devpoll="yes") want_devpoll="$enableval", want_devpoll="yes")
case $want_devpoll in case $want_devpoll in
yes) yes)
@@ -779,7 +797,8 @@ AC_C_BIGENDIAN
GEOIPLINKSRCS= GEOIPLINKSRCS=
GEOIPLINKOBJS= GEOIPLINKOBJS=
AC_ARG_WITH(geoip, AC_ARG_WITH(geoip,
[ --with-geoip=PATH Build with GeoIP support (yes|no|path)], AS_HELP_STRING([--with-geoip=PATH],
[Build with GeoIP support (yes|no|path)]),
use_geoip="$withval", use_geoip="no") use_geoip="$withval", use_geoip="no")
if test "yes" = "$use_geoip" if test "yes" = "$use_geoip"
@@ -871,7 +890,9 @@ AC_SUBST(GEOIPLINKOBJS)
AC_MSG_CHECKING(for GSSAPI library) AC_MSG_CHECKING(for GSSAPI library)
AC_ARG_WITH(gssapi, AC_ARG_WITH(gssapi,
[ --with-gssapi=[[PATH|[/path/]krb5-config]] Specify path for system-supplied GSSAPI [[default=yes]]], AS_HELP_STRING([--with-gssapi=[PATH|[/path/]krb5-config]],
[Specify path for system-supplied GSSAPI
[default=yes]]),
use_gssapi="$withval", use_gssapi="yes") use_gssapi="$withval", use_gssapi="yes")
# first try using krb5-config, if that does not work then fall back to "yes" method. # first try using krb5-config, if that does not work then fall back to "yes" method.
@@ -1149,7 +1170,8 @@ AC_SUBST(DNS_CRYPTO_LIBS)
# #
AC_MSG_CHECKING(for random device) AC_MSG_CHECKING(for random device)
AC_ARG_WITH(randomdev, AC_ARG_WITH(randomdev,
[ --with-randomdev=PATH Specify path for random device], AS_HELP_STRING([--with-randomdev=PATH],
[Specify path for random device]),
use_randomdev="$withval", use_randomdev="unspec") use_randomdev="$withval", use_randomdev="unspec")
case "$use_randomdev" in case "$use_randomdev" in
@@ -1283,7 +1305,9 @@ then
AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE),) AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE),)
AC_ARG_WITH(locktype, AC_ARG_WITH(locktype,
[ --with-locktype=ARG Specify mutex lock type (adaptive or standard)], AS_HELP_STRING([--with-locktype=ARG],
[Specify mutex lock type
(adaptive or standard)]),
locktype="$withval", locktype="adaptive") locktype="$withval", locktype="adaptive")
case "$locktype" in case "$locktype" in
@@ -1397,8 +1421,7 @@ ISC_THREAD_DIR=$thread_dir
AC_SUBST(ISC_THREAD_DIR) AC_SUBST(ISC_THREAD_DIR)
AC_MSG_CHECKING(for libtool) AC_MSG_CHECKING(for libtool)
AC_ARG_WITH(libtool, AC_ARG_WITH(libtool, AS_HELP_STRING([--with-libtool], [use GNU libtool]),
[ --with-libtool use GNU libtool],
use_libtool="$withval", use_libtool="no") use_libtool="$withval", use_libtool="no")
case $use_libtool in case $use_libtool in
@@ -1444,42 +1467,48 @@ AC_SUBST(INSTALL_LIBRARY)
# (note it implies both --without-openssl and --with-pkcs11) # (note it implies both --without-openssl and --with-pkcs11)
# #
AC_ARG_ENABLE(native-pkcs11, AC_ARG_ENABLE(native-pkcs11,
[ --enable-native-pkcs11 use native PKCS11 for all crypto [[default=no]]], AS_HELP_STRING([--enable-native-pkcs11],
[use native PKCS11 for all crypto [default=no]]),
want_native_pkcs11="$enableval", want_native_pkcs11="no") want_native_pkcs11="$enableval", want_native_pkcs11="no")
# #
# was --with-openssl specified? # was --with-openssl specified?
# #
AC_ARG_WITH(openssl, AC_ARG_WITH(openssl,
[ --with-openssl[=PATH] Build with OpenSSL [yes|no|path]. AS_HELP_STRING([--with-openssl[=PATH]],
(Crypto is required for DNSSEC)], [Build with OpenSSL [yes|no|path].
(Crypto is required for DNSSEC)]),
use_openssl="$withval", use_openssl="auto") use_openssl="$withval", use_openssl="auto")
# #
# was --with-pkcs11 specified? # was --with-pkcs11 specified?
# #
AC_ARG_WITH(pkcs11, AC_ARG_WITH(pkcs11,
[ --with-pkcs11[=PATH] Build with PKCS11 support [yes|no|path] AS_HELP_STRING([--with-pkcs11[=PATH]],
(PATH is for the PKCS11 provider)], [Build with PKCS11 support [yes|no|path]
(PATH is for the PKCS11 provider)]),
use_pkcs11="$withval", use_pkcs11="auto") use_pkcs11="$withval", use_pkcs11="auto")
# #
# were --with-ecdsa, --with-gost, --with-eddsa, --with-aes specified # were --with-ecdsa, --with-gost, --with-eddsa, --with-aes specified
# #
AC_ARG_WITH(ecdsa, [ --with-ecdsa Crypto ECDSA], AC_ARG_WITH(ecdsa, AS_HELP_STRING([--with-ecdsa], [Crypto ECDSA]),
with_ecdsa="$withval", with_ecdsa="auto") with_ecdsa="$withval", with_ecdsa="auto")
AC_ARG_WITH(gost, [ --with-gost Crypto GOST [yes|no|raw|asn1].], AC_ARG_WITH(gost,
AS_HELP_STRING([--with-gost], [Crypto GOST [yes|no|raw|asn1].]),
with_gost="$withval", with_gost="auto") with_gost="$withval", with_gost="auto")
AC_ARG_WITH(eddsa, [ --with-eddsa Crypto EDDSA [yes|all|no].], AC_ARG_WITH(eddsa, AS_HELP_STRING([--with-eddsa], [Crypto EDDSA [yes|all|no].]),
with_eddsa="$withval", with_eddsa="auto") with_eddsa="$withval", with_eddsa="auto")
AC_ARG_WITH(aes, [ --with-aes Crypto AES], AC_ARG_WITH(aes, AS_HELP_STRING([--with-aes], [Crypto AES]),
with_aes="$withval", with_aes="checkcc") with_aes="$withval", with_aes="checkcc")
# #
# Client Cookie algorithm choice # Client Cookie algorithm choice
# #
AC_ARG_WITH(cc-alg, AC_ARG_WITH(cc-alg,
[ --with-cc-alg=ALG choose the algorithm for Client Cookie [[aes|sha1|sha256]]], AS_HELP_STRING([--with-cc-alg=ALG],
[choose the algorithm for Client Cookie
[aes|sha1|sha256]]),
with_cc_alg="$withval", with_cc_alg="auto") with_cc_alg="$withval", with_cc_alg="auto")
case $with_cc_alg in case $with_cc_alg in
@@ -1718,7 +1747,7 @@ DSO_METHOD_dlfcn();
) )
AC_ARG_ENABLE(openssl-version-check, AC_ARG_ENABLE(openssl-version-check,
[AC_HELP_STRING([--enable-openssl-version-check], [AS_HELP_STRING([--enable-openssl-version-check],
[check OpenSSL version @<:@default=yes@:>@])]) [check OpenSSL version @<:@default=yes@:>@])])
case "$enable_openssl_version_check" in case "$enable_openssl_version_check" in
yes|'') yes|'')
@@ -2086,7 +2115,8 @@ esac
# was --enable-openssl-hash specified? # was --enable-openssl-hash specified?
# #
AC_ARG_ENABLE(openssl-hash, AC_ARG_ENABLE(openssl-hash,
[ --enable-openssl-hash use OpenSSL for hash functions [[default=yes]]], AS_HELP_STRING([--enable-openssl-hash],
[use OpenSSL for hash functions [default=yes]]),
want_openssl_hash="$enableval", want_openssl_hash="whenossl") want_openssl_hash="$enableval", want_openssl_hash="whenossl")
AC_MSG_CHECKING(for using OpenSSL for hash functions) AC_MSG_CHECKING(for using OpenSSL for hash functions)
@@ -2376,7 +2406,8 @@ fi
AC_MSG_CHECKING(for using the crypto library (vs. builtin) for random functions) AC_MSG_CHECKING(for using the crypto library (vs. builtin) for random functions)
AC_ARG_ENABLE(crypto-rand, AC_ARG_ENABLE(crypto-rand,
[ --enable-crypto-rand use the crypto provider for random [[default=yes]]], AS_HELP_STRING([--enable-crypto-rand],
[use the crypto provider for random [default=yes]]),
want_crypto_rand="$enableval", want_crypto_rand="auto") want_crypto_rand="$enableval", want_crypto_rand="auto")
if test "$want_crypto_rand" = "auto" if test "$want_crypto_rand" = "auto"
then then
@@ -2436,7 +2467,8 @@ AC_SUBST(ISC_PLATFORM_CRYPTORANDOM)
# #
AC_MSG_CHECKING(for lmdb library) AC_MSG_CHECKING(for lmdb library)
AC_ARG_WITH(lmdb, AC_ARG_WITH(lmdb,
[ --with-lmdb[=PATH] build with LMDB library [yes|no|path]], AS_HELP_STRING([--with-lmdb[=PATH]],
[build with LMDB library [yes|no|path]]),
use_lmdb="$withval", use_lmdb="auto") use_lmdb="$withval", use_lmdb="auto")
have_lmdb="" have_lmdb=""
@@ -2503,7 +2535,8 @@ AC_SUBST(NZDTARGETS)
# #
AC_MSG_CHECKING(for libxml2 library) AC_MSG_CHECKING(for libxml2 library)
AC_ARG_WITH(libxml2, AC_ARG_WITH(libxml2,
[ --with-libxml2[=PATH] build with libxml2 library [yes|no|path]], AS_HELP_STRING([--with-libxml2[=PATH]],
[build with libxml2 library [yes|no|path]]),
use_libxml2="$withval", use_libxml2="auto") use_libxml2="$withval", use_libxml2="auto")
case "$use_libxml2" in case "$use_libxml2" in
@@ -2558,7 +2591,8 @@ AC_SUBST(XMLSTATS)
# #
AC_MSG_CHECKING(for json library) AC_MSG_CHECKING(for json library)
AC_ARG_WITH(libjson, AC_ARG_WITH(libjson,
[ --with-libjson[=PATH] build with libjson0 library [yes|no|path]], AS_HELP_STRING([--with-libjson[=PATH]],
[build with libjson0 library [yes|no|path]]),
use_libjson="$withval", use_libjson="auto") use_libjson="$withval", use_libjson="auto")
have_libjson="" have_libjson=""
@@ -2638,7 +2672,9 @@ AC_SUBST(JSONSTATS)
# #
AC_MSG_CHECKING(for zlib library) AC_MSG_CHECKING(for zlib library)
AC_ARG_WITH(zlib, AC_ARG_WITH(zlib,
[ --with-zlib[=PATH] build with zlib for HTTP compression [[default=yes]] ], AS_HELP_STRING([--with-zlib[=PATH]],
[build with zlib for HTTP compression
[default=yes]]),
with_zlib="$withval", with_zlib="auto") with_zlib="$withval", with_zlib="auto")
have_zlib="" have_zlib=""
@@ -2725,7 +2761,8 @@ fi
# #
# Large File # Large File
# #
AC_ARG_ENABLE(largefile, [ --enable-largefile 64-bit file support], AC_ARG_ENABLE(largefile,
AS_HELP_STRING([--enable-largefile], [64-bit file support]),
want_largefile="yes", want_largefile="no") want_largefile="yes", want_largefile="no")
case $want_largefile in case $want_largefile in
yes) yes)
@@ -2877,7 +2914,7 @@ esac
# #
AC_MSG_CHECKING(whether to use purify) AC_MSG_CHECKING(whether to use purify)
AC_ARG_WITH(purify, AC_ARG_WITH(purify,
[ --with-purify[=PATH] use Rational purify], AS_HELP_STRING([--with-purify[=PATH]],[use Rational purify]),
use_purify="$withval", use_purify="no") use_purify="$withval", use_purify="no")
case "$use_purify" in case "$use_purify" in
@@ -2919,7 +2956,8 @@ AC_SUBST(PURIFY)
# #
AC_MSG_CHECKING(whether to use gperftools profiler) AC_MSG_CHECKING(whether to use gperftools profiler)
AC_ARG_WITH(gperftools-profiler, AC_ARG_WITH(gperftools-profiler,
[ --with-gperftools-profiler use gperftools CPU profiler], AS_HELP_STRING([--with-gperftools-profiler],
[use gperftools CPU profiler]),
use_profiler="$withval", use_profiler="no") use_profiler="$withval", use_profiler="no")
case $use_profiler in case $use_profiler in
@@ -2939,7 +2977,8 @@ esac
# glibc-compatible backtrace() function. # glibc-compatible backtrace() function.
# #
AC_ARG_ENABLE(backtrace, AC_ARG_ENABLE(backtrace,
[ --enable-backtrace log stack backtrace on abort [[default=yes]]], AS_HELP_STRING([--enable-backtrace],
[log stack backtrace on abort [default=yes]]),
want_backtrace="$enableval", want_backtrace="yes") want_backtrace="$enableval", want_backtrace="yes")
case $want_backtrace in case $want_backtrace in
yes) yes)
@@ -2955,8 +2994,9 @@ esac
AC_SUBST(ISC_PLATFORM_USEBACKTRACE) AC_SUBST(ISC_PLATFORM_USEBACKTRACE)
AC_ARG_ENABLE(symtable, AC_ARG_ENABLE(symtable,
[ --enable-symtable use internal symbol table for backtrace AS_HELP_STRING([--enable-symtable],
[[all|minimal(default)|none]]], [use internal symbol table for backtrace
[all|minimal(default)|none]]),
want_symtable="$enableval", want_symtable="minimal") want_symtable="$enableval", want_symtable="minimal")
case $want_symtable in case $want_symtable in
yes|all|minimal) # "yes" is a hidden value equivalent to "minimal" yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
@@ -3022,7 +3062,7 @@ AC_SUBST(BIND9_CO_RULE)
# IPv6 # IPv6
# #
AC_ARG_ENABLE(ipv6, AC_ARG_ENABLE(ipv6,
[ --enable-ipv6 use IPv6 [default=autodetect]]) AS_HELP_STRING([--enable-ipv6], [use IPv6 [default=autodetect]]))
case "$enable_ipv6" in case "$enable_ipv6" in
yes|''|autodetect) yes|''|autodetect)
@@ -3053,7 +3093,8 @@ AC_TRY_COMPILE([
# #
AC_MSG_CHECKING(for Kame IPv6 support) AC_MSG_CHECKING(for Kame IPv6 support)
AC_ARG_WITH(kame, AC_ARG_WITH(kame,
[ --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]], AS_HELP_STRING([--with-kame[=PATH]],
[use Kame IPv6 [default path /usr/local/v6]]),
use_kame="$withval", use_kame="no") use_kame="$withval", use_kame="no")
case "$use_kame" in case "$use_kame" in
@@ -3376,7 +3417,8 @@ AC_SUBST(ISC_PLATFORM_NEEDPORTT)
# #
AC_ARG_ENABLE(tcp_fastopen, AC_ARG_ENABLE(tcp_fastopen,
[ --disable-tcp-fastopen disable TCP Fast Open support [[default=autodetect]]]) AS_HELP_STRING([--disable-tcp-fastopen],
[disable TCP Fast Open support [default=autodetect]])
AC_MSG_CHECKING(for TCP_FASTOPEN socket option) AC_MSG_CHECKING(for TCP_FASTOPEN socket option)
case "$enable_tcp_fastopen" in case "$enable_tcp_fastopen" in
@@ -3483,7 +3525,8 @@ AC_CHECK_FUNC(gai_strerror, AC_DEFINE(HAVE_GAISTRERROR))
AC_SUBST(ISC_IRS_GETNAMEINFOSOCKLEN) AC_SUBST(ISC_IRS_GETNAMEINFOSOCKLEN)
AC_ARG_ENABLE(getifaddrs, AC_ARG_ENABLE(getifaddrs,
[ --enable-getifaddrs enable the use of getifaddrs() [[yes|no]].], AS_HELP_STRING([--enable-getifaddrs],
[enable the use of getifaddrs() [yes|no].]),
want_getifaddrs="$enableval", want_getifaddrs="yes") want_getifaddrs="$enableval", want_getifaddrs="yes")
# #
@@ -3569,7 +3612,8 @@ AC_SUBST(ISC_PLATFORM_NEEDSTRCASESTR)
AC_SUBST(READLINE_LIB) AC_SUBST(READLINE_LIB)
AC_ARG_WITH(readline, AC_ARG_WITH(readline,
[ --with-readline[=LIBSPEC] specify readline library [default auto]], AS_HELP_STRING([--with-readline[=LIBSPEC]],
[specify readline library [default auto]]),
use_readline="$withval", use_readline="auto") use_readline="$withval", use_readline="auto")
case "$use_readline" in case "$use_readline" in
no) ;; no) ;;
@@ -3686,7 +3730,8 @@ AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR))
# Use our own SPNEGO implementation? # Use our own SPNEGO implementation?
# #
AC_ARG_ENABLE(isc-spnego, AC_ARG_ENABLE(isc-spnego,
[ --disable-isc-spnego use SPNEGO from GSSAPI library]) AS_HELP_STRING([--disable-isc-spnego],
[use SPNEGO from GSSAPI library]))
if test -n "$USE_GSSAPI" if test -n "$USE_GSSAPI"
then then
@@ -3747,8 +3792,7 @@ AC_SUBST(ISC_PLATFORM_QUADFORMAT)
# #
# Note it is very recommended to *not* disable chroot(), # Note it is very recommended to *not* disable chroot(),
# this is only because chroot() was made obsolete by Posix. # this is only because chroot() was made obsolete by Posix.
AC_ARG_ENABLE(chroot, AC_ARG_ENABLE(chroot, AS_HELP_STRING([--disable-chroot], [disable chroot]))
[ --disable-chroot disable chroot])
case "$enable_chroot" in case "$enable_chroot" in
yes|'') yes|'')
AC_CHECK_FUNCS(chroot) AC_CHECK_FUNCS(chroot)
@@ -3757,7 +3801,8 @@ case "$enable_chroot" in
;; ;;
esac esac
AC_ARG_ENABLE(linux-caps, AC_ARG_ENABLE(linux-caps,
[ --disable-linux-caps disable linux capabilities]) AS_HELP_STRING([--disable-linux-caps],
[disable linux capabilities]))
case "$enable_linux_caps" in case "$enable_linux_caps" in
yes|'') yes|'')
AC_CHECK_HEADERS(linux/types.h) AC_CHECK_HEADERS(linux/types.h)
@@ -4023,8 +4068,8 @@ AC_CHECK_HEADERS(stdatomic.h,
ISC_PLATFORM_HAVESTDATOMIC="#undef ISC_PLATFORM_HAVESTDATOMIC"]) ISC_PLATFORM_HAVESTDATOMIC="#undef ISC_PLATFORM_HAVESTDATOMIC"])
AC_ARG_ENABLE(atomic, AC_ARG_ENABLE(atomic,
[ --enable-atomic enable machine specific atomic operations AS_HELP_STRING([--enable-atomic],
[[default=autodetect]]], [enable machine specific atomic operations [default=autodetect]]),
enable_atomic="$enableval", enable_atomic="$enableval",
enable_atomic="autodetect") enable_atomic="autodetect")
case "$enable_atomic" in case "$enable_atomic" in
@@ -4328,9 +4373,9 @@ AC_SUBST(ISC_PLATFORM_BUSYWAITNOP)
# Activate "rrset-order fixed" or not? # Activate "rrset-order fixed" or not?
# #
AC_ARG_ENABLE(fixed-rrset, AC_ARG_ENABLE(fixed-rrset,
[ --enable-fixed-rrset enable fixed rrset ordering [[default=no]]], AS_HELP_STRING([--enable-fixed-rrset],
enable_fixed="$enableval", [enable fixed rrset ordering [default=no]]),
enable_fixed="no") enable_fixed="$enableval", enable_fixed="no")
case "$enable_fixed" in case "$enable_fixed" in
yes) yes)
AC_DEFINE(DNS_RDATASET_FIXED, 1, AC_DEFINE(DNS_RDATASET_FIXED, 1,
@@ -4346,9 +4391,9 @@ esac
# Enable response policy rewriting using NS IP addresses # Enable response policy rewriting using NS IP addresses
# #
AC_ARG_ENABLE(rpz-nsip, AC_ARG_ENABLE(rpz-nsip,
[ --disable-rpz-nsip disable rpz nsip rules [[default=enabled]]], AS_HELP_STRING([--disable-rpz-nsip],
enable_nsip="$enableval", [disable rpz nsip rules [default=enabled]]),
enable_nsip="yes") enable_nsip="$enableval", enable_nsip="yes")
case "$enable_nsip" in case "$enable_nsip" in
yes) yes)
AC_DEFINE(ENABLE_RPZ_NSIP, 1, AC_DEFINE(ENABLE_RPZ_NSIP, 1,
@@ -4364,9 +4409,9 @@ esac
# Enable response policy rewriting using NS name # Enable response policy rewriting using NS name
# #
AC_ARG_ENABLE(rpz-nsdname, AC_ARG_ENABLE(rpz-nsdname,
[ --disable-rpz-nsdname disable rpz nsdname rules [[default=enabled]]], AS_HELP_STRING([--disable-rpz-nsdname],
enable_nsdname="$enableval", [disable rpz nsdname rules [default=enabled]]),
enable_nsdname="yes") enable_nsdname="$enableval", enable_nsdname="yes")
case "$enable_nsdname" in case "$enable_nsdname" in
yes) yes)
AC_DEFINE(ENABLE_RPZ_NSDNAME, 1, AC_DEFINE(ENABLE_RPZ_NSDNAME, 1,
@@ -4400,14 +4445,17 @@ AC_SEARCH_LIBS(dlopen, dl)
librpz_dl=yes librpz_dl=yes
AC_CHECK_FUNCS(dlopen dlclose dlsym,,librpz_dl=no) AC_CHECK_FUNCS(dlopen dlclose dlsym,,librpz_dl=no)
AC_ARG_ENABLE([dnsrps-dl], AC_ARG_ENABLE([dnsrps-dl],
[ --enable-dnsrps-dl DNS Response Policy Service delayed link [[default=$librpz_dl]]], AS_HELP_STRING([--enable-dnsrps-dl],
[enable_librpz_dl="$enableval"], [DNS Response Policy Service delayed link
[enable_librpz_dl="$librpz_dl"]) [default=$librpz_dl]]),
[enable_librpz_dl="$enableval"], [enable_librpz_dl="$librpz_dl"])
AC_ARG_WITH([dnsrps-libname], AC_ARG_WITH([dnsrps-libname],
[ --with-dnsrps-libname DNSRPS provider library name (librpz.so)], AS_HELP_STRING([--with-dnsrps-libname],
[DNSRPS provider library name (librpz.so)]),
[librpz_name="$withval"], [librpz_name="librpz.so"]) [librpz_name="$withval"], [librpz_name="librpz.so"])
AC_ARG_WITH([dnsrps-dir], AC_ARG_WITH([dnsrps-dir],
[ --with-dnsrps-dir path to DNSRPS provider library], AS_HELP_STRING([--with-dnsrps-dir],
[path to DNSRPS provider library]),
[librpz_path="$withval/$librpz_name"], [librpz_path="$librpz_name"]) [librpz_path="$withval/$librpz_name"], [librpz_path="$librpz_name"])
AC_DEFINE_UNQUOTED([DNSRPS_LIBRPZ_PATH], ["$librpz_path"], AC_DEFINE_UNQUOTED([DNSRPS_LIBRPZ_PATH], ["$librpz_path"],
[dnsrps $librpz_name]) [dnsrps $librpz_name])
@@ -4426,8 +4474,7 @@ AC_DEFINE_UNQUOTED([DNSRPS_LIB_OPEN], [$dnsrps_lib_open],
AC_ARG_ENABLE([dnsrps], AC_ARG_ENABLE([dnsrps],
AS_HELP_STRING([--enable-dnsrps], AS_HELP_STRING([--enable-dnsrps],
[enable DNS Response Policy Service API]), [enable DNS Response Policy Service API]),
[enable_dnsrps=$enableval], [enable_dnsrps=$enableval], [enable_dnsrps=no])
[enable_dnsrps=no])
if test "x$enable_dnsrps" != "xno"; then if test "x$enable_dnsrps" != "xno"; then
if test "x$dnsrps_avail" != "xyes"; then if test "x$dnsrps_avail" != "xyes"; then
AC_MSG_ERROR([[dlopen and librpz.so needed for DNSRPS]]) AC_MSG_ERROR([[dlopen and librpz.so needed for DNSRPS]])
@@ -4442,9 +4489,10 @@ fi
# Activate dnstap? # Activate dnstap?
# #
AC_ARG_ENABLE(dnstap, AC_ARG_ENABLE(dnstap,
[ --enable-dnstap enable dnstap support (requires fstrm, protobuf-c)], AS_HELP_STRING([--enable-dnstap],
use_dnstap=$enableval, [enable dnstap support
use_dnstap=no) (requires fstrm, protobuf-c)]),
use_dnstap=$enableval, use_dnstap=no)
DNSTAP= DNSTAP=
DNSTAPSRCS= DNSTAPSRCS=
@@ -4456,7 +4504,7 @@ if test "x$use_dnstap" != "xno"; then
AC_MSG_ERROR([Dnstap requires threads.]) AC_MSG_ERROR([Dnstap requires threads.])
fi fi
AC_ARG_WITH([protobuf-c], AC_ARG_WITH([protobuf-c],
AC_HELP_STRING([--with-protobuf-c=path], AS_HELP_STRING([--with-protobuf-c=path],
[Path where protobuf-c is installed, for dnstap]), [ [Path where protobuf-c is installed, for dnstap]), [
# workaround for protobuf-c includes at old dir # workaround for protobuf-c includes at old dir
# before protobuf-c-1.0.0 # before protobuf-c-1.0.0
@@ -4487,7 +4535,7 @@ if test "x$use_dnstap" != "xno"; then
if test -z "$PROTOC_C"; then if test -z "$PROTOC_C"; then
AC_MSG_ERROR([The protoc-c program was not found.]) AC_MSG_ERROR([The protoc-c program was not found.])
fi fi
AC_ARG_WITH([libfstrm], AC_HELP_STRING([--with-libfstrm=path], AC_ARG_WITH([libfstrm], AS_HELP_STRING([--with-libfstrm=path],
[Path where libfstrm is installed, for dnstap]), [ [Path where libfstrm is installed, for dnstap]), [
CFLAGS="$CFLAGS -I$withval/include" CFLAGS="$CFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib" LDFLAGS="$LDFLAGS -L$withval/lib"
@@ -4643,7 +4691,8 @@ AC_SUBST($1)
# #
AC_MSG_CHECKING(for Docbook-XSL path) AC_MSG_CHECKING(for Docbook-XSL path)
AC_ARG_WITH(docbook-xsl, AC_ARG_WITH(docbook-xsl,
[ --with-docbook-xsl=PATH specify path for Docbook-XSL stylesheets], AS_HELP_STRING([--with-docbook-xsl[=PATH]],
[specify path for Docbook-XSL stylesheets]),
docbook_path="$withval", docbook_path="auto") docbook_path="$withval", docbook_path="auto")
case "$docbook_path" in case "$docbook_path" in
auto) auto)
@@ -4681,7 +4730,8 @@ NOM_PATH_FILE(XSLT_DBLATEX_FASTBOOK, xsl/latex_book_fast.xsl, $dblatex_xsl_trees
# IDN support # IDN support
# #
AC_ARG_WITH(idn, AC_ARG_WITH(idn,
[ --with-idn[=MPREFIX] enable IDN support using idnkit [default PREFIX]], AS_HELP_STRING([--with-idn[=MPREFIX]],
[enable IDN support using idnkit [default PREFIX]]),
use_idn="$withval", use_idn="no") use_idn="$withval", use_idn="no")
case "$use_idn" in case "$use_idn" in
yes) yes)
@@ -4701,7 +4751,8 @@ esac
iconvinc= iconvinc=
iconvlib= iconvlib=
AC_ARG_WITH(libiconv, AC_ARG_WITH(libiconv,
[ --with-libiconv[=IPREFIX] GNU libiconv are in IPREFIX [default PREFIX]], AS_HELP_STRING([--with-libiconv[=IPREFIX]],
[GNU libiconv are in IPREFIX [default PREFIX]]),
use_libiconv="$withval", use_libiconv="no") use_libiconv="$withval", use_libiconv="no")
case "$use_libiconv" in case "$use_libiconv" in
yes) yes)
@@ -4720,7 +4771,8 @@ no)
esac esac
AC_ARG_WITH(iconv, AC_ARG_WITH(iconv,
[ --with-iconv[=LIBSPEC] specify iconv library [default -liconv]], AS_HELP_STRING([--with-iconv[=LIBSPEC]],
[specify iconv library [default -liconv]]),
iconvlib="$withval") iconvlib="$withval")
case "$iconvlib" in case "$iconvlib" in
no) no)
@@ -4732,7 +4784,7 @@ yes)
esac esac
AC_ARG_WITH(idnlib, AC_ARG_WITH(idnlib,
[ --with-idnlib=ARG specify libidnkit], AS_HELP_STRING([--with-idnlib=ARG], [specify libidnkit]),
idnlib="$withval", idnlib="no") idnlib="$withval", idnlib="no")
if test "yes" = "$idnlib"; then if test "yes" = "$idnlib"; then
AC_MSG_ERROR([You must specify ARG for --with-idnlib.]) AC_MSG_ERROR([You must specify ARG for --with-idnlib.])
@@ -4754,7 +4806,7 @@ AC_SUBST(IDNLIBS)
# Check whether to build Automated Test Framework unit tests # Check whether to build Automated Test Framework unit tests
# #
AC_ARG_WITH(atf, AC_ARG_WITH(atf,
[ --with-atf=ARG support Automated Test Framework], AS_HELP_STRING([--with-atf],[support Automated Test Framework]),
atf="$withval", atf="no") atf="$withval", atf="no")
if test "yes" = "$atf"; then if test "yes" = "$atf"; then
atf=`pwd`/unit/atf atf=`pwd`/unit/atf
@@ -4798,7 +4850,8 @@ AC_CHECK_FUNCS(setlocale)
# was --with-tuning specified? # was --with-tuning specified?
# #
AC_ARG_WITH(tuning, AC_ARG_WITH(tuning,
[ --with-tuning=ARG Specify server tuning (large or default)], AS_HELP_STRING([--with-tuning=ARG],
[Specify server tuning (large or default)]),
use_tuning="$withval", use_tuning="no") use_tuning="$withval", use_tuning="no")
case "$use_tuning" in case "$use_tuning" in
@@ -4821,7 +4874,9 @@ esac
# was --enable-querytrace specified? # was --enable-querytrace specified?
# #
AC_ARG_ENABLE(querytrace, AC_ARG_ENABLE(querytrace,
[ --enable-querytrace enable very verbose query trace logging [[default=no]]], AS_HELP_STRING([--enable-querytrace],
[enable very verbose query trace logging
[default=no]]),
want_querytrace="$enableval", want_querytrace="no") want_querytrace="$enableval", want_querytrace="no")
AC_MSG_CHECKING([whether to enable query trace logging]) AC_MSG_CHECKING([whether to enable query trace logging])
@@ -4971,7 +5026,8 @@ SO_TARGETS=""
SO_STRIP="cat" SO_STRIP="cat"
AC_ARG_WITH(dlopen, AC_ARG_WITH(dlopen,
[ --with-dlopen=ARG support dynamically loadable DLZ drivers], AS_HELP_STRING([--with-dlopen=ARG],
[support dynamically loadable DLZ drivers]),
dlopen="$withval", dlopen="yes") dlopen="$withval", dlopen="yes")
case $host in case $host in
@@ -5415,7 +5471,8 @@ AC_OUTPUT
# Now that the Makefiles exist we can ensure that everything is rebuilt. # Now that the Makefiles exist we can ensure that everything is rebuilt.
# #
AC_ARG_WITH(make-clean, AC_ARG_WITH(make-clean,
[ --with-make-clean run "make clean" at end of configure [[yes|no]]], AS_HELP_STRING([--with-make-clean],
[run "make clean" at end of configure [yes|no]]),
make_clean="$withval", make_clean="yes") make_clean="$withval", make_clean="yes")
case "$make_clean" in case "$make_clean" in
yes) yes)
@@ -5432,7 +5489,8 @@ yes)
esac esac
AC_ARG_ENABLE(full-report, AC_ARG_ENABLE(full-report,
[ --enable-full-report report values of all configure options]) AS_HELP_STRING([--enable-full-report],
[report values of all configure options]))
report() { report() {
echo "===============================================================================" echo "==============================================================================="

View File

@@ -57,8 +57,9 @@ AC_DEFUN(DLZ_ADD_DRIVER, [
AC_MSG_CHECKING(for Postgres DLZ driver) AC_MSG_CHECKING(for Postgres DLZ driver)
AC_ARG_WITH(dlz_postgres, AC_ARG_WITH(dlz_postgres,
[ --with-dlz-postgres[=PATH] Build with Postgres DLZ driver [yes|no|path]. AS_HELP_STRING([--with-dlz-postgres[=PATH]],
(Required to use Postgres with DLZ)], [Build with Postgres DLZ driver [yes|no|path].
(Required to use Postgres with DLZ)]),
use_dlz_postgres="$withval", use_dlz_postgres="no") use_dlz_postgres="$withval", use_dlz_postgres="no")
if test "$use_dlz_postgres" != "no" if test "$use_dlz_postgres" != "no"
@@ -126,8 +127,9 @@ esac
AC_MSG_CHECKING(for MySQL DLZ driver) AC_MSG_CHECKING(for MySQL DLZ driver)
AC_ARG_WITH(dlz_mysql, AC_ARG_WITH(dlz_mysql,
[ --with-dlz-mysql[=PATH] Build with MySQL DLZ driver [yes|no|path]. AS_HELP_STRING([--with-dlz-mysql[=PATH]],
(Required to use MySQL with DLZ)], [Build with MySQL DLZ driver [yes|no|path].
(Required to use MySQL with DLZ)]),
use_dlz_mysql="$withval", use_dlz_mysql="no") use_dlz_mysql="$withval", use_dlz_mysql="no")
AC_CHECK_PROGS(MYSQL_CONFIG, mysql_config) AC_CHECK_PROGS(MYSQL_CONFIG, mysql_config)
@@ -232,8 +234,9 @@ esac
AC_MSG_CHECKING(for Berkeley DB DLZ driver...) AC_MSG_CHECKING(for Berkeley DB DLZ driver...)
AC_ARG_WITH(dlz_bdb, AC_ARG_WITH(dlz_bdb,
[ --with-dlz-bdb[=PATH] Build with Berkeley DB DLZ driver [yes|no|path]. AS_HELP_STRING([--with-dlz-bdb[=PATH]],
(Required to use Berkeley DB with DLZ)], [Build with Berkeley DB DLZ driver [yes|no|path].
(Required to use Berkeley DB with DLZ)]),
use_dlz_bdb="$withval", use_dlz_bdb="no") use_dlz_bdb="$withval", use_dlz_bdb="no")
case "$use_dlz_bdb" in case "$use_dlz_bdb" in
@@ -356,8 +359,9 @@ esac
AC_MSG_CHECKING(for file system DLZ driver) AC_MSG_CHECKING(for file system DLZ driver)
AC_ARG_WITH(dlz_filesystem, AC_ARG_WITH(dlz_filesystem,
[ --with-dlz-filesystem[=ARG] Build with filesystem DLZ driver [yes|no]. AS_HELP_STRING([--with-dlz-filesystem[=ARG]],
(Required to use file system driver with DLZ)], [Build with filesystem DLZ driver [yes|no].
(Required to use file system driver with DLZ)]),
use_dlz_filesystem="$withval", use_dlz_filesystem="no") use_dlz_filesystem="$withval", use_dlz_filesystem="no")
case "$use_dlz_filesystem" in case "$use_dlz_filesystem" in
@@ -378,8 +382,9 @@ esac
AC_MSG_CHECKING(for LDAP DLZ driver) AC_MSG_CHECKING(for LDAP DLZ driver)
AC_ARG_WITH(dlz_ldap, AC_ARG_WITH(dlz_ldap,
[ --with-dlz-ldap[=PATH] Build with LDAP DLZ driver [yes|no|path]. AS_HELP_STRING([--with-dlz-ldap[=PATH]],
(Required to use LDAP with DLZ)], [Build with LDAP DLZ driver [yes|no|path].
(Required to use LDAP with DLZ)]),
use_dlz_ldap="$withval", use_dlz_ldap="no") use_dlz_ldap="$withval", use_dlz_ldap="no")
if test "$use_dlz_ldap" = "yes" if test "$use_dlz_ldap" = "yes"
@@ -424,8 +429,9 @@ esac
AC_MSG_CHECKING(for ODBC DLZ driver) AC_MSG_CHECKING(for ODBC DLZ driver)
AC_ARG_WITH(dlz_odbc, AC_ARG_WITH(dlz_odbc,
[ --with-dlz-odbc[=PATH] Build with ODBC DLZ driver [yes|no|path]. AS_HELP_STRING([--with-dlz-odbc[=PATH]],
(Required to use ODBC with DLZ)], [Build with ODBC DLZ driver [yes|no|path].
(Required to use ODBC with DLZ)]),
use_dlz_odbc="$withval", use_dlz_odbc="no") use_dlz_odbc="$withval", use_dlz_odbc="no")
if test "$use_dlz_odbc" = "yes" if test "$use_dlz_odbc" = "yes"
@@ -481,8 +487,9 @@ esac
AC_MSG_CHECKING(for stub DLZ driver) AC_MSG_CHECKING(for stub DLZ driver)
AC_ARG_WITH(dlz_stub, AC_ARG_WITH(dlz_stub,
[ --with-dlz-stub[=ARG] Build with stub DLZ driver [yes|no]. AS_HELP_STRING([--with-dlz-stub[=ARG]],
(Required to use stub driver with DLZ)], [Build with stub DLZ driver [yes|no].
(Required to use stub driver with DLZ)]),
use_dlz_stub="$withval", use_dlz_stub="no") use_dlz_stub="$withval", use_dlz_stub="no")
case "$use_dlz_stub" in case "$use_dlz_stub" in