+4488. [port] Darwin: use -framework for Kerberos. [RT #43418]
+
4487. [test] Make system tests work on Windows. [RT #42931]
4486. [bug] Look in $prefix/lib/pythonX.Y/site-packages for
@BIND9_MAKE_INCLUDES@
-CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
-CDEFINES =
+CINCLUDES =
+CDEFINES = @USE_GSSAPI@
CWARNINGS =
LIBS = @LIBS@
-#SO_TARGETS = driver.@SO@
-TARGETS = gssapi_krb@EXEEXT@ @SO_TARGETS@
+TARGETS = gssapi_krb@EXEEXT@
-SRCS = gssapi_krb.c driver.c
+SRCS = gssapi_krb.c
GSSAPIKRBOBJS = gssapi_krb.@O@
-SO_OBJS = driver.@O@
-SO_SRCS = driver.c
-
OBJS = ${GSSAPIKRBOBJS}
@BIND9_MAKE_RULES@
${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} \
-o $@ ${GSSAPIKRBOBJS} ${LIBS}
-#driver.@SO@: ${SO_OBJS}
-# @SO_LD@ -o $@ driver.o
-
clean distclean::
rm -f ${TARGETS}
int
main() {
-#if (defined(HAVE_GSSAPI_H) || \
- defined(HAVE_GSSAPI_GSSAPI_H)) && \
- (defined(HAVE_KRB5_H) || \
- defined(HAVE_KRB5_KRB5_H) || \
- defined(HAVE_GSSAPI_GSSAPI_KRB5_H) || \
- defined(HAVE_GSSAPI_KRB5_H) || \
- defined(HAVE_KERBEROSV5_KRB5_H))
+#ifdef GSSAPI
return (0);
#else
return (1);
fi
- if test "$ac_cv_search_seccomp_init" = "-lseccomp" ; then
+ if test "X$ac_cv_search_seccomp_init" = "X-lseccomp" ; then
if test "$cross_compiling" = yes; then :
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ac_prog="`echo $INSTALL | sed 's%.*/%%'`"
- test "$ac_dir" = "$ac_prog" && ac_dir=.
+ test "X$ac_dir" = "X$ac_prog" && ac_dir=.
test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
INSTALL="$ac_dir/$ac_prog"
;;
fi
-if test "$use_geoip" = "yes"
+if test "yes" = "$use_geoip"
then
for d in /usr /usr/local /opt/local
do
LIBS="$LIBS -Wl,-rpath=$use_geoip/lib"
;;
esac
- elif test "$use_geoip" = "yes"
+ elif test "yes" = "$use_geoip"
then
as_fn_error $? "GeoIP path not found" "$LINENO" 5
else
*/krb5-config|krb5-config)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: trying $use_gssapi" >&5
$as_echo "trying $use_gssapi" >&6; }
- if test "$use_gssapi" = krb5-config
+ if test krb5-config = "$use_gssapi"
then
# Extract the first word of "$use_gssapi", so it can be a program name with args.
set dummy $use_gssapi; ac_word=$2
done
- if test "$ISC_PLATFORM_GSSAPIHEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_GSSAPIHEADER"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: krb5-config: gssapi.h not found" >&5
$as_echo "krb5-config: gssapi.h not found" >&6; }
CPPFLAGS="$saved_cppflags"
done
- if test "$ISC_PLATFORM_KRB5HEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_KRB5HEADER"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: krb5-config: krb5.h not found" >&5
$as_echo "krb5-config: krb5.h not found" >&6; }
CPPFLAGS="$saved_cppflags"
LIBS=$saved_libs
fi
fi
- if test "$use_gssapi" = "yes"; then
+ if test "yes" = "$use_gssapi"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSAPI library, non krb5-config method" >&5
$as_echo_n "checking for GSSAPI library, non krb5-config method... " >&6; }
fi
;;
esac
+case "$host" in
+*darwin*)
+ if test "yes" = "$use_gssapi"
+ then
+ use_gssapi=framework
+ fi
+ ;;
+esac
+
# gssapi is just the framework, we really require kerberos v5, so
# look for those headers (the gssapi headers must be there, too)
# The problem with this implementation is that it doesn't allow
# for the specification of gssapi and krb5 headers in different locations,
# which probably ought to be fixed although fixing might raise the issue of
# trying to build with incompatible versions of gssapi and krb5.
-if test "$use_gssapi" = "yes"
+if test "yes" = "$use_gssapi"
then
# first, deal with the obvious
if test \( -f /usr/include/kerberosv5/krb5.h -o \
DST_GSSAPI_INC="$gssapi_cflags"
DNS_GSSAPI_LIBS="$gssapi_libs"
;;
+ framework)
+ USE_GSSAPI='-DGSSAPI'
+ ISC_PLATFORM_GSSAPIHEADER="#define ISC_PLATFORM_GSSAPIHEADER <Kerberos/Kerberos.h>"
+ ISC_PLATFORM_KRB5HEADER="#define ISC_PLATFORM_KRB5HEADER <Kerberos/Kerberos.h>"
+ DNS_GSSAPI_LIBS="-framework Kerberos"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: framework" >&5
+$as_echo "framework" >&6; }
+ ;;
+
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: looking in $use_gssapi/lib" >&5
$as_echo "looking in $use_gssapi/lib" >&6; }
done
- if test "$ISC_PLATFORM_GSSAPIHEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_GSSAPIHEADER"; then
as_fn_error $? "gssapi.h not found" "$LINENO" 5
fi
done
- if test "$ISC_PLATFORM_KRB5HEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_KRB5HEADER"; then
as_fn_error $? "krb5.h not found" "$LINENO" 5
fi
# -L/usr/local/lib to LIBS, which can make the
# -lgssapi_krb5 test succeed with shared libraries even
# when you are trying to build with KTH in /usr/lib.
- if test "$use_gssapi" = "/usr"
+ if test "/usr" = "$use_gssapi"
then
LIBS="$TRY_LIBS"
else
# many times as it is the right thing. Something better
# needs to be done.
#
- if test "$use_gssapi" = "/usr" -a \
+ if test "/usr" = "$use_gssapi" -a \
-f /usr/local/lib/libkrb5.a; then
FIX_KTH_VS_MIT=yes
fi
$as_echo_n "checking for OpenSSL library... " >&6; }
OPENSSL_WARNING=
openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw"
-if test "$want_native_pkcs11" = "yes"
+if test "yes" = "$want_native_pkcs11"
then
use_openssl="native_pkcs11"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: use of native PKCS11 instead" >&5
$as_echo "use of native PKCS11 instead" >&6; }
fi
-if test "$use_openssl" = "auto"
+if test "auto" = "$use_openssl"
then
for d in $openssldirs
do
If you don't want OpenSSL, use --without-openssl" "$LINENO" 5
;;
*)
- if test "$want_native_pkcs11" = "yes"
+ if test "yes" = "$want_native_pkcs11"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
$as_echo "" >&6; }
as_fn_error $? "OpenSSL and native PKCS11 cannot be used together." "$LINENO" 5
fi
- if test "$use_openssl" = "yes"
+ if test "yes" = "$use_openssl"
then
# User did not specify a path - guess it
for d in $openssldirs
break
fi
done
- if test "$use_openssl" = "yes"
+ if test "yes" = "$use_openssl"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
$as_echo "not found" >&6; }
as_fn_error $? "\"$use_openssl/include/openssl/opensslv.h\" not found" "$LINENO" 5
fi
CRYPTO='-DOPENSSL'
- if test "$use_openssl" = "/usr"
+ if test "/usr" = "$use_openssl"
then
DST_OPENSSL_INC=""
DST_OPENSSL_LIBS="-lcrypto"
ISC_OPENSSL_INC=""
ISC_OPENSSL_LIBS=""
- if test "$with_aes" = "yes"
+ if test "yes" = "$with_aes"
then
case "$have_aes" in
evp)
DNS_CRYPTO_LIBS="$DNS_CRYPTO_LIBS $DST_OPENSSL_LIBS"
ISC_PLATFORM_WANTAES="#undef ISC_PLATFORM_WANTAES"
-if test "$with_aes" = "yes"
+if test "yes" = "$with_aes"
then
if test "X$CRYPTO" = "X"
then
with_aes="no"
fi
fi
-if test "$with_aes" = "yes"
+if test "yes" = "$with_aes"
then
ISC_PLATFORM_WANTAES="#define ISC_PLATFORM_WANTAES 1"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Algorithm for Client Cookie" >&5
$as_echo_n "checking for the Algorithm for Client Cookie... " >&6; }
-if test "$with_cc_alg" = "auto"
+if test "auto" = "$with_cc_alg"
then
- if test "$with_aes" = "yes"
+ if test "yes" = "$with_aes"
then
with_cc_alg="aes"
else
sha1)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: sha1" >&5
$as_echo "sha1" >&6; }
- if test "$CRYPTO" = "-DOPENSSL"
+ if test "X$CRYPTO" = "X-DOPENSSL"
then
- if test "$want_openssl_hash" = "checkcc"
+ if test "checkcc" = "$want_openssl_hash"
then
want_openssl_hash="yes"
fi
sha256)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: sha256" >&5
$as_echo "sha256" >&6; }
- if test "$CRYPTO" = "-DOPENSSL"
+ if test "X$CRYPTO" = "X-DOPENSSL"
then
- if test "$want_openssl_hash" = "checkcc"
+ if test "checkcc" = "$want_openssl_hash"
then
want_openssl_hash="yes"
fi
;;
esac
-if test "$want_openssl_hash" = "checkcc"
+if test "checkcc" = "$want_openssl_hash"
then
want_openssl_hash="no"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKCS11 support" >&5
$as_echo_n "checking for PKCS11 support... " >&6; }
-if test "$use_pkcs11" = "auto"
+if test "auto" = "$use_pkcs11"
then
- if test "$want_native_pkcs11" = "yes"
+ if test "yes" = "$want_native_pkcs11"
then
use_pkcs11="yes"
else
if ! $use_threads; then
as_fn_error $? "PKCS11 requires thread support" "$LINENO" 5
fi
- if test "$CRYPTO" = "-DOPENSSL"
+ if test "X$CRYPTO" = "X-DOPENSSL"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL with PKCS11 support" >&5
$as_echo_n "checking for OpenSSL with PKCS11 support... " >&6; }
$as_echo "unknown provider: tweaks are in lib/isc/include/pk11/site.h" >&6; }
;;
esac
- if test "$set_pk11_flavor" = "yes" ; then
+ if test "yes" = "$set_pk11_flavor" ; then
CFLAGS="$CFLAGS -DPK11_FLAVOR=$pk11_flavor"
fi
;;
have_clock_gt=yes
fi
-if test "$have_clock_gt" = "no"; then
+if test "no" = "$have_clock_gt"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
if ${ac_cv_lib_rt_clock_gettime+:} false; then :
fi
-if test "$have_clock_gt" = "rt"; then
+if test "rt" = "$have_clock_gt"; then
LIBS="-lrt $LIBS"
fi
libxml2_cflags=`xml2-config --cflags`
;;
*)
- if test "$use_libxml2" = "yes" ; then
+ if test "yes" = "$use_libxml2" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
as_fn_error $? "required libxml2 version not available" "$LINENO" 5
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$SAVE_CFLAGS"
- if test "$FNOSTRICTALIASING" = "yes"; then
+ if test "yes" = "$FNOSTRICTALIASING"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
STD_CWARNINGS="$STD_CWARNINGS -fno-strict-aliasing"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$SAVE_CFLAGS"
- if test "$FNODELETENULLPOINTERCHECKS" = "yes"; then
+ if test "yes" = "$FNODELETENULLPOINTERCHECKS"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
STD_CWARNINGS="$STD_CWARNINGS -fno-delete-null-pointer-checks"
case $want_symtable in
yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
- if test "$PERL" = ""
+ if test "" = "$PERL"
then
as_fn_error $? "Internal symbol table requires perl but no perl is found.
Install perl or explicitly disable the feature by --disable-symtable." "$LINENO" 5
fi
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Internal symbol table does not work with libtool. Disabling symbol table." >&5
$as_echo "$as_me: WARNING: Internal symbol table does not work with libtool. Disabling symbol table." >&2;}
else
fi
done
- if test "$ac_cv_func_readline" = "yes"
+ if test "yes" = "$ac_cv_func_readline"
then
READLINE_LIB="$readline"
break
fi
done
- if test "$ac_cv_func_readline" = "yes"
+ if test "yes" = "$ac_cv_func_readline"
then
READLINE_LIB="$readline $lib"
break
fi
done
- if test "$ac_cv_func_readline" = "yes"
+ if test "yes" = "$ac_cv_func_readline"
then
break
fi
ISC_PLATFORM_USEGCCASM="#undef ISC_PLATFORM_USEGCCASM"
ISC_PLATFORM_USESTDASM="#undef ISC_PLATFORM_USESTDASM"
ISC_PLATFORM_USEMACASM="#undef ISC_PLATFORM_USEMACASM"
-if test "$use_atomic" = "yes"; then
+if test "yes" = "$use_atomic"; then
have_atomic=yes # set default
case "$host" in
i[3456]86-*)
$as_echo "$arch" >&6; }
fi
-if test "$have_atomic" = "yes"; then
+if test "yes" = "$have_atomic"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for inline assembly code" >&5
$as_echo_n "checking compiler support for inline assembly code... " >&6; }
$as_echo "$compiler" >&6; }
fi
-if test "$have_atomic" = "yes"; then
+if test "yes" = "$have_atomic"; then
ISC_PLATFORM_HAVEXADD="#define ISC_PLATFORM_HAVEXADD 1"
ISC_PLATFORM_HAVECMPXCHG="#define ISC_PLATFORM_HAVECMPXCHG 1"
ISC_PLATFORM_HAVEATOMICSTORE="#define ISC_PLATFORM_HAVEATOMICSTORE 1"
- if test "$have_xaddq" = "yes"; then
+ if test "yes" = "$have_xaddq"; then
ISC_PLATFORM_HAVEXADDQ="#define ISC_PLATFORM_HAVEXADDQ 1"
ISC_PLATFORM_HAVEATOMICSTOREQ="#define ISC_PLATFORM_HAVEATOMICSTOREQ 1"
else
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
-if test "$have_builtin_expect" = "yes"; then
+if test "yes" = "$have_builtin_expect"; then
$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
-if test "$have_builtin_clz" = "yes"; then
+if test "yes" = "$have_builtin_clz"; then
$as_echo "#define HAVE_BUILTIN_CLZ 1" >>confdefs.h
idnlib="no"
fi
-if test "$idnlib" = yes; then
+if test "yes" = "$idnlib"; then
as_fn_error $? "You must specify ARG for --with-idnlib." "$LINENO" 5
fi
atf="no"
fi
-if test "$atf" = yes; then
+if test yes = "$atf"; then
atf=`pwd`/unit/atf
ATFBUILD=atf-src
libm=no
fi
- if test "$libm" = "yes"; then
+ if test "yes" = "$libm"; then
ATFLIBS="$ATFLIBS -lm"
fi
UNITTESTS=tests
;;
esac
-if test "$dlopen" = "yes"; then
+if test "yes" = "$dlopen"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
$as_echo_n "checking for dlopen in -ldl... " >&6; }
if ${ac_cv_lib_dl_dlopen+:} false; then :
have_dl=no
fi
- if test "$have_dl" = "yes"; then
+ if test "yes" = "$have_dl"; then
LIBS="-ldl $LIBS"
fi
for ac_func in dlopen dlclose dlsym
fi
-if test "$dlopen" = "yes"; then
+if test "yes" = "$dlopen"; then
case $host in
*-linux*|*-gnu*)
SO_CFLAGS="-fPIC"
SO_LDFLAGS=""
- if test "$have_dl" = "yes"
+ if test "yes" = "$have_dl"
then
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"
else
*-freebsd*|*-openbsd*)
LDFLAGS="${LDFLAGS} -Wl,-E"
SO_CFLAGS="-fpic"
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"
else
SO_CFLAGS="-fPIC"
if test -z "$SO_LD"
then
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"
else
-if test "$cross_compiling" = "yes"; then
+if test "yes" = "$cross_compiling"; then
if test -z "$BUILD_CC"; then
as_fn_error $? "BUILD_CC not set" "$LINENO" 5
fi
echo "Optional features enabled:"
if $use_threads; then
echo " Multiprocessing support (--enable-threads)"
- if test "$enable_full_report" = "yes" -o "$locktype" = "standard"; then
+ if test "yes" = "$enable_full_report" -o "standard" = "$locktype"; then
echo " Mutex lock type: $locktype"
fi
fi
-test "$use_tuning" = "large" && echo " Large-system tuning (--with-tuning)"
-test "$use_dnstap" = "no" || \
+test "large" = "large" && echo " Large-system tuning (--with-tuning)"
+test "no" = "$use_dnstap" || \
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
-test "$use_geoip" = "no" || echo " GeoIP access control (--with-geoip)"
-test "$use_gssapi" = "no" || echo " GSS-API (--with-gssapi)"
-if test "$enable_full_report" = "yes" -o "$with_cc_alg" != "aes"; then
+test "no" = "$use_geoip" || echo " GeoIP access control (--with-geoip)"
+test "no" = "$use_gssapi" || echo " GSS-API (--with-gssapi)"
+if test "yes" = "$enable_full_report" -o "$with_cc_alg" != "aes"; then
echo " Algorithm: $with_cc_alg"
fi
# these lines are only printed if run with --enable-full-report
-if test "$enable_full_report" = "yes"; then
- test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
+if test "yes" = "$enable_full_report"; then
+ test "no" = "$enable_ipv6" -o "no" = "$found_ipv6" || \
echo " IPv6 support (--enable-ipv6)"
- test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes" || \
+ test "X$CRYPTO" = "X" -o "yes" = "$want_native_pkcs11" || \
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
test "X$PYTHON" = "X" || echo " Python tools (--with-python)"
test "X$XMLSTATS" = "X" || echo " XML statistics (--with-libxml2)"
fi
if test "$use_pkcs11" != "no"; then
- if test "$want_native_pkcs11" = "yes"; then
+ if test "yes" = "$want_native_pkcs11"; then
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
else
echo " PKCS#11/Cryptoki support using OpenSSL (--with-pkcs11)"
fi
echo " Provider library: $PKCS11_PROVIDER"
fi
-if test "$OPENSSL_GOST" = "yes" -o "$PKCS11_GOST" = "yes"; then
+if test "yes" = "$OPENSSL_GOST" -o "yes" = "$PKCS11_GOST"; then
echo " GOST algorithm support (encoding: $gosttype) (--with-gost)"
fi
-test "$OPENSSL_ECDSA" = "yes" -o "$PKCS11_ECDSA" = "yes" && \
+test "yes" = "$OPENSSL_ECDSA" -o "$PKCS11_ECDSA" && \
echo " ECDSA algorithm support (--with-ecdsa)"
-test "$enable_fixed" = "yes" && \
+test "yes" = "$enable_fixed" && \
echo " Allow 'fixed' rrset-order (--enable-fixed-rrset)"
-test "$enable_filter" = "yes" && \
+test "yes" = "$enable_filter" && \
echo " AAAA filtering (--enable-filter-aaaa)"
-test "$enable_seccomp" = yes && \
+test "yes" = "$enable_seccomp" && \
echo " Use libseccomp system call filtering (--enable-seccomp)"
-test "$want_backtrace" = "yes" && \
+test "yes" = "$want_backtrace" && \
echo " Print backtrace on crash (--enable-backtrace)"
-test "$want_symtable" = "minimal" && \
+test "minimal" = "$want_symtable" && \
echo " Use symbol table for backtrace, named only (--enable-symtable)"
-test "$want_symtable" = "yes" -o "$want_symtable" = "all" && \
+test "yes" = "$want_symtable" -o "all" = "$want_symtable" && \
echo " Use symbol table for backtrace, all binaries (--enable-symtable=all)"
-test "$use_libtool" = "no" || echo " Use GNU libtool (--with-libtool)"
-test "$want_querytrace" = "yes" && \
+test "no" = "$use_libtool" || echo " Use GNU libtool (--with-libtool)"
+test "yes" = "$want_querytrace" && \
echo " Very verbose query trace logging (--enable-querytrace)"
-test "$atf" = "no" || echo " Automated Testing Framework (--with-atf)"
+test "no" = "$atf" || echo " Automated Testing Framework (--with-atf)"
echo " Dynamically loadable zone (DLZ) drivers:"
-test "$use_dlz_bdb" = "no" || \
+test "no" = "$use_dlz_bdb" || \
echo " Berkeley DB (--with-dlz-bdb)"
-test "$use_dlz_ldap" = "no" || \
+test "no" = "$use_dlz_ldap" || \
echo " LDAP (--with-dlz-ldap)"
-test "$use_dlz_mysql" = "no" || \
+test "no" = "$use_dlz_mysql" || \
echo " MySQL (--with-dlz-mysql)"
-test "$use_dlz_odbc" = "no" || \
+test "no" = "$use_dlz_odbc" || \
echo " ODBC (--with-dlz-odbc)"
-test "$use_dlz_postgres" = "no" || \
+test "no" = "$use_dlz_postgres" || \
echo " Postgres (--with-dlz-postgres)"
-test "$use_dlz_filesystem" = "no" || \
+test "no" = "$use_dlz_filesystem" || \
echo " Filesystem (--with-dlz-filesystem)"
-test "$use_dlz_stub" = "no" || \
+test "no" = "$use_dlz_stub" || \
echo " Stub (--with-dlz-stub)"
test "$use_dlz_bdb $use_dlz_ldap $use_dlz_mysql $use_dlz_odbc $use_dlz_postgres $use_dlz_filesystem $use_dlz_stub" = "no no no no no no no" && echo " None"
echo
echo "Features disabled or unavailable on this platform:"
$use_threads || echo " Multiprocessing support (--enable-threads)"
-test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && \
+test "no" = "$enable_ipv6" -o "no" = "$found_ipv6" && \
echo " IPv6 support (--enable-ipv6)"
-test "$use_tuning" = "large" || echo " Large-system tuning (--with-tuning)"
+test "large" = "$use_tuning" || echo " Large-system tuning (--with-tuning)"
-test "$use_dnstap" = "no" && \
+test "no" = "$use_dnstap" && \
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
-test "$use_geoip" = "no" && echo " GeoIP access control (--with-geoip)"
-test "$use_gssapi" = "no" && echo " GSS-API (--with-gssapi)"
+test "no" = "$use_geoip" && echo " GeoIP access control (--with-geoip)"
+test "no" = "$use_gssapi" && echo " GSS-API (--with-gssapi)"
-test "$enable_fixed" = "yes" || \
+test "yes" = "$enable_fixed" || \
echo " Allow 'fixed' rrset-order (--enable-fixed-rrset)"
-if test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes"
+if test "X$CRYPTO" = "X" -o "yes" = "$want_native_pkcs11"
then
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
-elif test "$use_pkcs11" = "no"; then
+elif test "no" = "$use_pkcs11"; then
echo " PKCS#11/Cryptoki support (--with-pkcs11)"
fi
-test "$want_native_pkcs11" = "yes" ||
+test "yes" = "$want_native_pkcs11" ||
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
-test "X$CRYPTO" = "X" -o "$OPENSSL_GOST" = "yes" -o "$PKCS11_GOST" = "yes" || \
+test "X$CRYPTO" = "X" -o "yes" = "$OPENSSL_GOST" -o "yes" = "$PKCS11_GOST" || \
echo " GOST algorithm support (--with-gost)"
-test "X$CRYPTO" = "X" -o "$OPENSSL_ECDSA" = "yes" -o "$PKCS11_ECDSA" = "yes" || \
+test "X$CRYPTO" = "X" -o "yes" = "$OPENSSL_ECDSA" -o "yes" = "$PKCS11_ECDSA" || \
echo " ECDSA algorithm support (--with-ecdsa)"
-test "$enable_seccomp" = yes || \
+test "yess" = "$enable_seccomp" || \
echo " Use libseccomp system call filtering (--enable-seccomp)"
-test "$want_backtrace" = "yes" || \
+test "yes" = "$want_backtrace" || \
echo " Print backtrace on crash (--enable-backtrace)"
-test "$want_querytrace" = "yes" || \
+test "yes" = "$want_querytrace" || \
echo " Very verbose query trace logging (--enable-querytrace)"
-test "$use_libtool" = "yes" || echo " Use GNU libtool (--with-libtool)"
-test "$atf" = "no" && echo " Automated Testing Framework (--with-atf)"
+test "yes" = "$use_libtool" || echo " Use GNU libtool (--with-libtool)"
+test "no" = "$atf" && echo " Automated Testing Framework (--with-atf)"
test "X$PYTHON" = "X" && echo " Python tools (--with-python)"
test "X$XMLSTATS" = "X" && echo " XML statistics (--with-libxml2)"
;;
esac
AC_SEARCH_LIBS(seccomp_init, [seccomp])
- if test "$ac_cv_search_seccomp_init" = "-lseccomp" ; then
+ if test "X$ac_cv_search_seccomp_init" = "X-lseccomp" ; then
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
changequote([, ])
ac_prog="`echo $INSTALL | sed 's%.*/%%'`"
- test "$ac_dir" = "$ac_prog" && ac_dir=.
+ test "X$ac_dir" = "X$ac_prog" && ac_dir=.
test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
INSTALL="$ac_dir/$ac_prog"
;;
[ --with-geoip=PATH Build with GeoIP support (yes|no|path)],
use_geoip="$withval", use_geoip="no")
-if test "$use_geoip" = "yes"
+if test "yes" = "$use_geoip"
then
for d in /usr /usr/local /opt/local
do
LIBS="$LIBS -Wl,-rpath=$use_geoip/lib"
;;
esac
- elif test "$use_geoip" = "yes"
+ elif test "yes" = "$use_geoip"
then
AC_MSG_ERROR([GeoIP path not found])
else
case "$use_gssapi" in
*/krb5-config|krb5-config)
AC_MSG_RESULT(trying $use_gssapi)
- if test "$use_gssapi" = krb5-config
+ if test krb5-config = "$use_gssapi"
then
AC_PATH_PROG(KRB5_CONFIG, $use_gssapi)
else
CPPFLAGS="$gssapi_cflags $CPPFLAGS"
AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h,
[ISC_PLATFORM_GSSAPIHEADER="#define ISC_PLATFORM_GSSAPIHEADER <$ac_header>"])
- if test "$ISC_PLATFORM_GSSAPIHEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_GSSAPIHEADER"; then
AC_MSG_RESULT([krb5-config: gssapi.h not found])
CPPFLAGS="$saved_cppflags"
use_gssapi="yes"
else
AC_CHECK_HEADERS(krb5/krb5.h krb5.h,
[ISC_PLATFORM_KRB5HEADER="#define ISC_PLATFORM_KRB5HEADER <$ac_header>"])
- if test "$ISC_PLATFORM_KRB5HEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_KRB5HEADER"; then
AC_MSG_RESULT([krb5-config: krb5.h not found])
CPPFLAGS="$saved_cppflags"
use_gssapi="yes"
LIBS=$saved_libs
fi
fi
- if test "$use_gssapi" = "yes"; then
+ if test "yes" = "$use_gssapi"; then
AC_MSG_CHECKING([for GSSAPI library, non krb5-config method])
fi
;;
esac
+case "$host" in
+*darwin*)
+ if test "yes" = "$use_gssapi"
+ then
+ use_gssapi=framework
+ fi
+ ;;
+esac
+
# gssapi is just the framework, we really require kerberos v5, so
# look for those headers (the gssapi headers must be there, too)
# The problem with this implementation is that it doesn't allow
# for the specification of gssapi and krb5 headers in different locations,
# which probably ought to be fixed although fixing might raise the issue of
# trying to build with incompatible versions of gssapi and krb5.
-if test "$use_gssapi" = "yes"
+if test "yes" = "$use_gssapi"
then
# first, deal with the obvious
if test \( -f /usr/include/kerberosv5/krb5.h -o \
DST_GSSAPI_INC="$gssapi_cflags"
DNS_GSSAPI_LIBS="$gssapi_libs"
;;
+ framework)
+ USE_GSSAPI='-DGSSAPI'
+ ISC_PLATFORM_GSSAPIHEADER="#define ISC_PLATFORM_GSSAPIHEADER <Kerberos/Kerberos.h>"
+ ISC_PLATFORM_KRB5HEADER="#define ISC_PLATFORM_KRB5HEADER <Kerberos/Kerberos.h>"
+ DNS_GSSAPI_LIBS="-framework Kerberos"
+ AC_MSG_RESULT(framework)
+ ;;
+
*)
AC_MSG_RESULT(looking in $use_gssapi/lib)
USE_GSSAPI='-DGSSAPI'
[ISC_PLATFORM_GSSAPIHEADER="#define ISC_PLATFORM_GSSAPIHEADER <$ac_header>"
gssapi_hack="#include <$ac_header>"])
- if test "$ISC_PLATFORM_GSSAPIHEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_GSSAPIHEADER"; then
AC_MSG_ERROR([gssapi.h not found])
fi
[ISC_PLATFORM_KRB5HEADER="#define ISC_PLATFORM_KRB5HEADER <$ac_header>"
krb5_hack="#include <$ac_header>"])
- if test "$ISC_PLATFORM_KRB5HEADER" = ""; then
+ if test "" = "$ISC_PLATFORM_KRB5HEADER"; then
AC_MSG_ERROR([krb5.h not found])
fi
# -L/usr/local/lib to LIBS, which can make the
# -lgssapi_krb5 test succeed with shared libraries even
# when you are trying to build with KTH in /usr/lib.
- if test "$use_gssapi" = "/usr"
+ if test "/usr" = "$use_gssapi"
then
LIBS="$TRY_LIBS"
else
# many times as it is the right thing. Something better
# needs to be done.
#
- if test "$use_gssapi" = "/usr" -a \
+ if test "/usr" = "$use_gssapi" -a \
-f /usr/local/lib/libkrb5.a; then
FIX_KTH_VS_MIT=yes
fi
AC_MSG_CHECKING(for OpenSSL library)
OPENSSL_WARNING=
openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw"
-if test "$want_native_pkcs11" = "yes"
+if test "yes" = "$want_native_pkcs11"
then
use_openssl="native_pkcs11"
AC_MSG_RESULT(use of native PKCS11 instead)
fi
-if test "$use_openssl" = "auto"
+if test "auto" = "$use_openssl"
then
for d in $openssldirs
do
If you don't want OpenSSL, use --without-openssl])
;;
*)
- if test "$want_native_pkcs11" = "yes"
+ if test "yes" = "$want_native_pkcs11"
then
AC_MSG_RESULT()
AC_MSG_ERROR([OpenSSL and native PKCS11 cannot be used together.])
fi
- if test "$use_openssl" = "yes"
+ if test "yes" = "$use_openssl"
then
# User did not specify a path - guess it
for d in $openssldirs
break
fi
done
- if test "$use_openssl" = "yes"
+ if test "yes" = "$use_openssl"
then
AC_MSG_RESULT(not found)
AC_MSG_ERROR(
AC_MSG_ERROR(["$use_openssl/include/openssl/opensslv.h" not found])
fi
CRYPTO='-DOPENSSL'
- if test "$use_openssl" = "/usr"
+ if test "/usr" = "$use_openssl"
then
DST_OPENSSL_INC=""
DST_OPENSSL_LIBS="-lcrypto"
ISC_OPENSSL_INC=""
ISC_OPENSSL_LIBS=""
- if test "$with_aes" = "yes"
+ if test "yes" = "$with_aes"
then
case "$have_aes" in
evp)
DNS_CRYPTO_LIBS="$DNS_CRYPTO_LIBS $DST_OPENSSL_LIBS"
ISC_PLATFORM_WANTAES="#undef ISC_PLATFORM_WANTAES"
-if test "$with_aes" = "yes"
+if test "yes" = "$with_aes"
then
if test "X$CRYPTO" = "X"
then
with_aes="no"
fi
fi
-if test "$with_aes" = "yes"
+if test "yes" = "$with_aes"
then
ISC_PLATFORM_WANTAES="#define ISC_PLATFORM_WANTAES 1"
fi
#
AC_MSG_CHECKING(for the Algorithm for Client Cookie)
-if test "$with_cc_alg" = "auto"
+if test "auto" = "$with_cc_alg"
then
- if test "$with_aes" = "yes"
+ if test "yes" = "$with_aes"
then
with_cc_alg="aes"
else
case $with_cc_alg in
sha1)
AC_MSG_RESULT(sha1)
- if test "$CRYPTO" = "-DOPENSSL"
+ if test "X$CRYPTO" = "X-DOPENSSL"
then
- if test "$want_openssl_hash" = "checkcc"
+ if test "checkcc" = "$want_openssl_hash"
then
want_openssl_hash="yes"
fi
;;
sha256)
AC_MSG_RESULT(sha256)
- if test "$CRYPTO" = "-DOPENSSL"
+ if test "X$CRYPTO" = "X-DOPENSSL"
then
- if test "$want_openssl_hash" = "checkcc"
+ if test "checkcc" = "$want_openssl_hash"
then
want_openssl_hash="yes"
fi
[Use AES for Client Cookie generation])
;;
esac
-if test "$want_openssl_hash" = "checkcc"
+if test "checkcc" = "$want_openssl_hash"
then
want_openssl_hash="no"
fi
#
AC_MSG_CHECKING(for PKCS11 support)
-if test "$use_pkcs11" = "auto"
+if test "auto" = "$use_pkcs11"
then
- if test "$want_native_pkcs11" = "yes"
+ if test "yes" = "$want_native_pkcs11"
then
use_pkcs11="yes"
else
if ! $use_threads; then
AC_MSG_ERROR([PKCS11 requires thread support])
fi
- if test "$CRYPTO" = "-DOPENSSL"
+ if test "X$CRYPTO" = "X-DOPENSSL"
then
AC_MSG_CHECKING(for OpenSSL with PKCS11 support)
saved_cc="$CC"
AC_MSG_RESULT(unknown provider: tweaks are in lib/isc/include/pk11/site.h)
;;
esac
- if test "$set_pk11_flavor" = "yes" ; then
+ if test "yes" = "$set_pk11_flavor" ; then
CFLAGS="$CFLAGS -DPK11_FLAVOR=$pk11_flavor"
fi
;;
have_clock_gt=no
AC_CHECK_FUNC(clock_gettime,have_clock_gt=yes,)
-if test "$have_clock_gt" = "no"; then
+if test "no" = "$have_clock_gt"; then
AC_CHECK_LIB(rt,clock_gettime,have_clock_gt=rt,)
fi
AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if clock_gettime is available.])
fi
-if test "$have_clock_gt" = "rt"; then
+if test "rt" = "$have_clock_gt"; then
LIBS="-lrt $LIBS"
fi
libxml2_cflags=`xml2-config --cflags`
;;
*)
- if test "$use_libxml2" = "yes" ; then
+ if test "yes" = "$use_libxml2" ; then
AC_MSG_RESULT(no)
AC_MSG_ERROR(required libxml2 version not available)
else
CFLAGS="$CFLAGS -Werror -fno-strict-aliasing"
AC_TRY_COMPILE(,, [FNOSTRICTALIASING=yes],[FNOSTRICTALIASING=no])
CFLAGS="$SAVE_CFLAGS"
- if test "$FNOSTRICTALIASING" = "yes"; then
+ if test "yes" = "$FNOSTRICTALIASING"; then
AC_MSG_RESULT(yes)
STD_CWARNINGS="$STD_CWARNINGS -fno-strict-aliasing"
else
AC_TRY_COMPILE(,, [FNODELETENULLPOINTERCHECKS=yes],
[FNODELETENULLPOINTERCHECKS=no])
CFLAGS="$SAVE_CFLAGS"
- if test "$FNODELETENULLPOINTERCHECKS" = "yes"; then
+ if test "yes" = "$FNODELETENULLPOINTERCHECKS"; then
AC_MSG_RESULT(yes)
STD_CWARNINGS="$STD_CWARNINGS -fno-delete-null-pointer-checks"
else
want_symtable="$enableval", want_symtable="minimal")
case $want_symtable in
yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
- if test "$PERL" = ""
+ if test "" = "$PERL"
then
AC_MSG_ERROR([Internal symbol table requires perl but no perl is found.
Install perl or explicitly disable the feature by --disable-symtable.])
fi
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
AC_MSG_WARN([Internal symbol table does not work with libtool. Disabling symbol table.])
else
# we generate the internal symbol table only for those systems
LIBS="$readline"
AC_MSG_NOTICE(checking for readline with $readline)
AC_CHECK_FUNCS(readline)
- if test "$ac_cv_func_readline" = "yes"
+ if test "yes" = "$ac_cv_func_readline"
then
READLINE_LIB="$readline"
break
unset ac_cv_func_readline
LIBS="$readline $lib"
AC_CHECK_FUNCS(readline)
- if test "$ac_cv_func_readline" = "yes"
+ if test "yes" = "$ac_cv_func_readline"
then
READLINE_LIB="$readline $lib"
break
fi
done
- if test "$ac_cv_func_readline" = "yes"
+ if test "yes" = "$ac_cv_func_readline"
then
break
fi
ISC_PLATFORM_USEGCCASM="#undef ISC_PLATFORM_USEGCCASM"
ISC_PLATFORM_USESTDASM="#undef ISC_PLATFORM_USESTDASM"
ISC_PLATFORM_USEMACASM="#undef ISC_PLATFORM_USEMACASM"
-if test "$use_atomic" = "yes"; then
+if test "yes" = "$use_atomic"; then
have_atomic=yes # set default
case "$host" in
[i[3456]86-*])
AC_MSG_RESULT($arch)
fi
-if test "$have_atomic" = "yes"; then
+if test "yes" = "$have_atomic"; then
AC_MSG_CHECKING([compiler support for inline assembly code])
compiler=generic
AC_MSG_RESULT($compiler)
fi
-if test "$have_atomic" = "yes"; then
+if test "yes" = "$have_atomic"; then
ISC_PLATFORM_HAVEXADD="#define ISC_PLATFORM_HAVEXADD 1"
ISC_PLATFORM_HAVECMPXCHG="#define ISC_PLATFORM_HAVECMPXCHG 1"
ISC_PLATFORM_HAVEATOMICSTORE="#define ISC_PLATFORM_HAVEATOMICSTORE 1"
- if test "$have_xaddq" = "yes"; then
+ if test "yes" = "$have_xaddq"; then
ISC_PLATFORM_HAVEXADDQ="#define ISC_PLATFORM_HAVEXADDQ 1"
ISC_PLATFORM_HAVEATOMICSTOREQ="#define ISC_PLATFORM_HAVEATOMICSTOREQ 1"
else
have_builtin_expect=no
AC_MSG_RESULT(no)
])
-if test "$have_builtin_expect" = "yes"; then
+if test "yes" = "$have_builtin_expect"; then
AC_DEFINE(HAVE_BUILTIN_EXPECT, 1, [Define to 1 if the compiler supports __builtin_expect.])
fi
have_builtin_clz=no
AC_MSG_RESULT(no)
])
-if test "$have_builtin_clz" = "yes"; then
+if test "yes" = "$have_builtin_clz"; then
AC_DEFINE(HAVE_BUILTIN_CLZ, 1, [Define to 1 if the compiler supports __builtin_clz.])
fi
AC_ARG_WITH(idnlib,
[ --with-idnlib=ARG specify libidnkit],
idnlib="$withval", idnlib="no")
-if test "$idnlib" = yes; then
+if test "yes" = "$idnlib"; then
AC_MSG_ERROR([You must specify ARG for --with-idnlib.])
fi
AC_ARG_WITH(atf,
[ --with-atf=ARG support Automated Test Framework],
atf="$withval", atf="no")
-if test "$atf" = yes; then
+if test yes = "$atf"; then
atf=`pwd`/unit/atf
ATFBUILD=atf-src
AC_SUBST(ATFBUILD)
ATFBIN="$atf/bin"
ATFLIBS="-L$atf/lib -latf-c"
AC_CHECK_LIB(m, exp, libm=yes, libm=no)
- if test "$libm" = "yes"; then
+ if test "yes" = "$libm"; then
ATFLIBS="$ATFLIBS -lm"
fi
UNITTESTS=tests
;;
esac
-if test "$dlopen" = "yes"; then
+if test "yes" = "$dlopen"; then
AC_CHECK_LIB(dl, dlopen, have_dl=yes, have_dl=no)
- if test "$have_dl" = "yes"; then
+ if test "yes" = "$have_dl"; then
LIBS="-ldl $LIBS"
fi
AC_CHECK_FUNCS(dlopen dlclose dlsym,,dlopen=no)
fi
-if test "$dlopen" = "yes"; then
+if test "yes" = "$dlopen"; then
case $host in
*-linux*|*-gnu*)
SO_CFLAGS="-fPIC"
SO_LDFLAGS=""
- if test "$have_dl" = "yes"
+ if test "yes" = "$have_dl"
then
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"
else
*-freebsd*|*-openbsd*)
LDFLAGS="${LDFLAGS} -Wl,-E"
SO_CFLAGS="-fpic"
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"
else
SO_CFLAGS="-fPIC"
if test -z "$SO_LD"
then
- if test "$use_libtool" = "yes"; then
+ if test "yes" = "$use_libtool"; then
SO_LDFLAGS="-Xcompiler -shared"
SO_LD="${CC}"
else
AC_SUBST(DLZ_SYSTEM_TEST)
AC_SUBST_FILE(DLZ_DRIVER_RULES)
-if test "$cross_compiling" = "yes"; then
+if test "yes" = "$cross_compiling"; then
if test -z "$BUILD_CC"; then
AC_MSG_ERROR([BUILD_CC not set])
fi
echo "Optional features enabled:"
if $use_threads; then
echo " Multiprocessing support (--enable-threads)"
- if test "$enable_full_report" = "yes" -o "$locktype" = "standard"; then
+ if test "yes" = "$enable_full_report" -o "standard" = "$locktype"; then
echo " Mutex lock type: $locktype"
fi
fi
-test "$use_tuning" = "large" && echo " Large-system tuning (--with-tuning)"
-test "$use_dnstap" = "no" || \
+test "large" = "large" && echo " Large-system tuning (--with-tuning)"
+test "no" = "$use_dnstap" || \
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
-test "$use_geoip" = "no" || echo " GeoIP access control (--with-geoip)"
-test "$use_gssapi" = "no" || echo " GSS-API (--with-gssapi)"
-if test "$enable_full_report" = "yes" -o "$with_cc_alg" != "aes"; then
+test "no" = "$use_geoip" || echo " GeoIP access control (--with-geoip)"
+test "no" = "$use_gssapi" || echo " GSS-API (--with-gssapi)"
+if test "yes" = "$enable_full_report" -o "$with_cc_alg" != "aes"; then
echo " Algorithm: $with_cc_alg"
fi
# these lines are only printed if run with --enable-full-report
-if test "$enable_full_report" = "yes"; then
- test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" || \
+if test "yes" = "$enable_full_report"; then
+ test "no" = "$enable_ipv6" -o "no" = "$found_ipv6" || \
echo " IPv6 support (--enable-ipv6)"
- test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes" || \
+ test "X$CRYPTO" = "X" -o "yes" = "$want_native_pkcs11" || \
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
test "X$PYTHON" = "X" || echo " Python tools (--with-python)"
test "X$XMLSTATS" = "X" || echo " XML statistics (--with-libxml2)"
fi
if test "$use_pkcs11" != "no"; then
- if test "$want_native_pkcs11" = "yes"; then
+ if test "yes" = "$want_native_pkcs11"; then
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
else
echo " PKCS#11/Cryptoki support using OpenSSL (--with-pkcs11)"
fi
echo " Provider library: $PKCS11_PROVIDER"
fi
-if test "$OPENSSL_GOST" = "yes" -o "$PKCS11_GOST" = "yes"; then
+if test "yes" = "$OPENSSL_GOST" -o "yes" = "$PKCS11_GOST"; then
echo " GOST algorithm support (encoding: $gosttype) (--with-gost)"
fi
-test "$OPENSSL_ECDSA" = "yes" -o "$PKCS11_ECDSA" = "yes" && \
+test "yes" = "$OPENSSL_ECDSA" -o "$PKCS11_ECDSA" && \
echo " ECDSA algorithm support (--with-ecdsa)"
-test "$enable_fixed" = "yes" && \
+test "yes" = "$enable_fixed" && \
echo " Allow 'fixed' rrset-order (--enable-fixed-rrset)"
-test "$enable_filter" = "yes" && \
+test "yes" = "$enable_filter" && \
echo " AAAA filtering (--enable-filter-aaaa)"
-test "$enable_seccomp" = yes && \
+test "yes" = "$enable_seccomp" && \
echo " Use libseccomp system call filtering (--enable-seccomp)"
-test "$want_backtrace" = "yes" && \
+test "yes" = "$want_backtrace" && \
echo " Print backtrace on crash (--enable-backtrace)"
-test "$want_symtable" = "minimal" && \
+test "minimal" = "$want_symtable" && \
echo " Use symbol table for backtrace, named only (--enable-symtable)"
-test "$want_symtable" = "yes" -o "$want_symtable" = "all" && \
+test "yes" = "$want_symtable" -o "all" = "$want_symtable" && \
echo " Use symbol table for backtrace, all binaries (--enable-symtable=all)"
-test "$use_libtool" = "no" || echo " Use GNU libtool (--with-libtool)"
-test "$want_querytrace" = "yes" && \
+test "no" = "$use_libtool" || echo " Use GNU libtool (--with-libtool)"
+test "yes" = "$want_querytrace" && \
echo " Very verbose query trace logging (--enable-querytrace)"
-test "$atf" = "no" || echo " Automated Testing Framework (--with-atf)"
+test "no" = "$atf" || echo " Automated Testing Framework (--with-atf)"
echo " Dynamically loadable zone (DLZ) drivers:"
-test "$use_dlz_bdb" = "no" || \
+test "no" = "$use_dlz_bdb" || \
echo " Berkeley DB (--with-dlz-bdb)"
-test "$use_dlz_ldap" = "no" || \
+test "no" = "$use_dlz_ldap" || \
echo " LDAP (--with-dlz-ldap)"
-test "$use_dlz_mysql" = "no" || \
+test "no" = "$use_dlz_mysql" || \
echo " MySQL (--with-dlz-mysql)"
-test "$use_dlz_odbc" = "no" || \
+test "no" = "$use_dlz_odbc" || \
echo " ODBC (--with-dlz-odbc)"
-test "$use_dlz_postgres" = "no" || \
+test "no" = "$use_dlz_postgres" || \
echo " Postgres (--with-dlz-postgres)"
-test "$use_dlz_filesystem" = "no" || \
+test "no" = "$use_dlz_filesystem" || \
echo " Filesystem (--with-dlz-filesystem)"
-test "$use_dlz_stub" = "no" || \
+test "no" = "$use_dlz_stub" || \
echo " Stub (--with-dlz-stub)"
test "$use_dlz_bdb $use_dlz_ldap $use_dlz_mysql $use_dlz_odbc $use_dlz_postgres $use_dlz_filesystem $use_dlz_stub" = "no no no no no no no" && echo " None"
echo
echo "Features disabled or unavailable on this platform:"
$use_threads || echo " Multiprocessing support (--enable-threads)"
-test "$enable_ipv6" = "no" -o "$found_ipv6" = "no" && \
+test "no" = "$enable_ipv6" -o "no" = "$found_ipv6" && \
echo " IPv6 support (--enable-ipv6)"
-test "$use_tuning" = "large" || echo " Large-system tuning (--with-tuning)"
+test "large" = "$use_tuning" || echo " Large-system tuning (--with-tuning)"
-test "$use_dnstap" = "no" && \
+test "no" = "$use_dnstap" && \
echo " Allow 'dnstap' packet logging (--enable-dnstap)"
-test "$use_geoip" = "no" && echo " GeoIP access control (--with-geoip)"
-test "$use_gssapi" = "no" && echo " GSS-API (--with-gssapi)"
+test "no" = "$use_geoip" && echo " GeoIP access control (--with-geoip)"
+test "no" = "$use_gssapi" && echo " GSS-API (--with-gssapi)"
-test "$enable_fixed" = "yes" || \
+test "yes" = "$enable_fixed" || \
echo " Allow 'fixed' rrset-order (--enable-fixed-rrset)"
-if test "X$CRYPTO" = "X" -o "$want_native_pkcs11" = "yes"
+if test "X$CRYPTO" = "X" -o "yes" = "$want_native_pkcs11"
then
echo " OpenSSL cryptography/DNSSEC (--with-openssl)"
-elif test "$use_pkcs11" = "no"; then
+elif test "no" = "$use_pkcs11"; then
echo " PKCS#11/Cryptoki support (--with-pkcs11)"
fi
-test "$want_native_pkcs11" = "yes" ||
+test "yes" = "$want_native_pkcs11" ||
echo " Native PKCS#11/Cryptoki support (--enable-native-pkcs11)"
-test "X$CRYPTO" = "X" -o "$OPENSSL_GOST" = "yes" -o "$PKCS11_GOST" = "yes" || \
+test "X$CRYPTO" = "X" -o "yes" = "$OPENSSL_GOST" -o "yes" = "$PKCS11_GOST" || \
echo " GOST algorithm support (--with-gost)"
-test "X$CRYPTO" = "X" -o "$OPENSSL_ECDSA" = "yes" -o "$PKCS11_ECDSA" = "yes" || \
+test "X$CRYPTO" = "X" -o "yes" = "$OPENSSL_ECDSA" -o "yes" = "$PKCS11_ECDSA" || \
echo " ECDSA algorithm support (--with-ecdsa)"
-test "$enable_seccomp" = yes || \
+test "yess" = "$enable_seccomp" || \
echo " Use libseccomp system call filtering (--enable-seccomp)"
-test "$want_backtrace" = "yes" || \
+test "yes" = "$want_backtrace" || \
echo " Print backtrace on crash (--enable-backtrace)"
-test "$want_querytrace" = "yes" || \
+test "yes" = "$want_querytrace" || \
echo " Very verbose query trace logging (--enable-querytrace)"
-test "$use_libtool" = "yes" || echo " Use GNU libtool (--with-libtool)"
-test "$atf" = "no" && echo " Automated Testing Framework (--with-atf)"
+test "yes" = "$use_libtool" || echo " Use GNU libtool (--with-libtool)"
+test "no" = "$atf" && echo " Automated Testing Framework (--with-atf)"
test "X$PYTHON" = "X" && echo " Python tools (--with-python)"
test "X$XMLSTATS" = "X" && echo " XML statistics (--with-libxml2)"