)
PDNS_CHECK_LIBSODIUM
-PDNS_CHECK_LIBDECAF
+PDNS_WITH_LIBDECAF
PDNS_CHECK_LIBCRYPTO([
],[
AC_MSG_ERROR([OpenSSL/libcrypto not found])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The PowerDNS Authoritative Server can link with `libsodium <https://download.libsodium.org/doc/>`_ to support ed25519 (DNSSEC algorithm 15).
-To detect libsodium, use the ``--enable-libsodium`` configure option.
+To detect libsodium, use the ``--with-libsodium`` configure option.
+
+.. versionchanged:: 4.2.0
+ This option was previously ``--enable-libsodium``
ed25519 and ed448 support with libdecaf
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`libdecaf <https://sourceforge.net/projects/ed448goldilocks/>`_ is a library that allows the PowerDNS Authoritative Server to support ed25519 and Ed448 (DNSSEC algorithms 15 and 16).
-To detect libdecaf, use the ``--enable-libdecaf`` configure option.
+To detect libdecaf, use the ``--with-libdecaf`` configure option.
+
+.. versionchanged:: 4.2.0
+ This option was previously ``--enable-libdecaf``
systemd notify support
^^^^^^^^^^^^^^^^^^^^^^
During configure, ``configure`` will attempt to detect the availability of `systemd or systemd-daemon <https://freedesktop.org/wiki/Software/systemd/>`_ headers.
To force the use of systemd (and failing configure if the headers do not exist), use ``--enable-systemd``.
To set the directory where the unit files should be installed, use ``--with-systemd=/path/to/unit/dir``.
-
-AC_DEFUN([PDNS_CHECK_LIBDECAF],[
+AC_DEFUN([PDNS_WITH_LIBDECAF],[
AC_MSG_CHECKING([whether we will be linking in libdecaf])
- AC_ARG_ENABLE([libdecaf],
- [AS_HELP_STRING([--enable-libdecaf],[use libdecaf @<:@default=no@:>@])],
- [enable_libdecaf=$enableval],
- [enable_libdecaf=no]
+ AC_ARG_WITH([libdecaf],
+ [AS_HELP_STRING([--with-libdecaf],[use libdecaf @<:@default=no@:>@])],
+ [with_libdecaf=$withval],
+ [with_libdecaf=no]
)
- AC_MSG_RESULT([$enable_libdecaf])
+ AC_MSG_RESULT([$with_libdecaf])
- AM_CONDITIONAL([LIBDECAF],[test "x$enable_libdecaf" != "xno"])
+ AM_CONDITIONAL([LIBDECAF],[test "x$with_libdecaf" != "xno"])
- AS_IF([test "x$enable_libdecaf" != "xno"],[
+ AS_IF([test "x$with_libdecaf" != "xno"],[
save_LIBS=$LIBS
LIBS=""
AC_SEARCH_LIBS([decaf_ed25519_sign],[decaf],[
PDNS_CHECK_LIBCRYPTO_ECDSA
PDNS_CHECK_LIBCRYPTO_EDDSA
PDNS_CHECK_LIBSODIUM
-PDNS_CHECK_LIBDECAF
+PDNS_WITH_LIBDECAF
PDNS_WITH_NET_SNMP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`libdecaf <https://sourceforge.net/projects/ed448goldilocks/>`_ is a library that allows the PowerDNS Recursor to support ed25519 and Ed448 (DNSSEC algorithms 15 and 16).
-To detect libdecaf, use the ``--enable-libdecaf`` configure option.
+To detect libdecaf, use the ``--with-libdecaf`` configure option.
+
+.. versionchanged:: 4.2.0
+ This option was previously ``--enable-libdecaf``
Protobuf to emit DNS logs
^^^^^^^^^^^^^^^^^^^^^^^^^
+++ /dev/null
-../../../m4/pdns_check_libdecaf.m4
\ No newline at end of file
--- /dev/null
+../../../m4/pdns_with_libdecaf.m4
\ No newline at end of file