]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
configure: with-libdecaf
authorJosh Soref <jsoref@users.noreply.github.com>
Thu, 4 Oct 2018 15:05:46 +0000 (11:05 -0400)
committerJosh Soref <jsoref@users.noreply.github.com>
Thu, 4 Oct 2018 15:05:46 +0000 (11:05 -0400)
configure.ac
docs/appendices/compiling.rst
m4/pdns_with_libdecaf.m4 [moved from m4/pdns_check_libdecaf.m4 with 50% similarity]
pdns/recursordist/configure.ac
pdns/recursordist/docs/appendices/compiling.rst
pdns/recursordist/m4/pdns_check_libdecaf.m4 [deleted symlink]
pdns/recursordist/m4/pdns_with_libdecaf.m4 [new symlink]

index ac70741e01684624f3547bcef9ec2b7bc27b732c..2dadee1ceb0e3a23d12b953e64e9f6ddb0cab6d1 100644 (file)
@@ -94,7 +94,7 @@ AC_CHECK_HEADERS(
 )
 
 PDNS_CHECK_LIBSODIUM
-PDNS_CHECK_LIBDECAF
+PDNS_WITH_LIBDECAF
 PDNS_CHECK_LIBCRYPTO([
 ],[
    AC_MSG_ERROR([OpenSSL/libcrypto not found])
index 4c11893dce8849ac5061c93ef976ddf04272c11c..8972ecf6f2eeed271e645303f6392055dcc11116 100644 (file)
@@ -62,13 +62,19 @@ ed25519 support with libsodium
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 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
 ^^^^^^^^^^^^^^^^^^^^^^
@@ -76,4 +82,3 @@ 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``.
-
similarity index 50%
rename from m4/pdns_check_libdecaf.m4
rename to m4/pdns_with_libdecaf.m4
index e810903f6cd51f2c9793b7d5e1cb730571c21762..9710366021a852917bdd0140cd3bc875590c8286 100644 (file)
@@ -1,15 +1,15 @@
-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],[
index dbf0e73e7b24a9cf4f72ef94466edc488669f080..c6b0b3321925b9cf338819553132cefbe1ea3ad8 100644 (file)
@@ -120,7 +120,7 @@ PDNS_CHECK_LIBCRYPTO([
 PDNS_CHECK_LIBCRYPTO_ECDSA
 PDNS_CHECK_LIBCRYPTO_EDDSA
 PDNS_CHECK_LIBSODIUM
-PDNS_CHECK_LIBDECAF
+PDNS_WITH_LIBDECAF
 
 PDNS_WITH_NET_SNMP
 
index 267cab81786cfd0ee077cc7f66933e3a2954c602..cf8952a44697551c27217e63692e74bd390cc653 100644 (file)
@@ -52,7 +52,10 @@ ed25519 and ed448 support with libdecaf
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 `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
 ^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/pdns/recursordist/m4/pdns_check_libdecaf.m4 b/pdns/recursordist/m4/pdns_check_libdecaf.m4
deleted file mode 120000 (symlink)
index 01bef52..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../m4/pdns_check_libdecaf.m4
\ No newline at end of file
diff --git a/pdns/recursordist/m4/pdns_with_libdecaf.m4 b/pdns/recursordist/m4/pdns_with_libdecaf.m4
new file mode 120000 (symlink)
index 0000000..e932fd1
--- /dev/null
@@ -0,0 +1 @@
+../../../m4/pdns_with_libdecaf.m4
\ No newline at end of file