]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove other remains of GnuTLS config that was never useful 10971/head
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 10 Nov 2021 09:07:58 +0000 (10:07 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 10 Nov 2021 10:21:31 +0000 (11:21 +0100)
pdns/recursordist/Makefile.am
pdns/recursordist/configure.ac

index 16f388ccaabcbf2f62bb58c7ad56a6a5715efcc0..98df6482a2059b2493f9fe1ee063c4fdeb738fbc 100644 (file)
@@ -447,10 +447,10 @@ AM_CPPFLAGS += $(LIBSSL_CFLAGS)
 pdns_recursor_LDADD += $(LIBSSL_LIBS)
 endif
 
-if HAVE_GNUTLS
-AM_CPPFLAGS += $(GNUTLS_CFLAGS)
-pdns_recursor_LDADD += $(GNUTLS_LIBS)
-endif
+#if HAVE_GNUTLS
+#AM_CPPFLAGS += $(GNUTLS_CFLAGS)
+#pdns_recursor_LDADD += $(GNUTLS_LIBS)
+#endif
 endif
 if HAVE_LIBCURL
 pdns_recursor_SOURCES += minicurl.cc minicurl.hh
index e092533fc061a7e35daac35dbb95694c5f0f1e17..c86b941a193cb48ef9c27f93c7edca095375ad85 100644 (file)
@@ -89,7 +89,8 @@ PDNS_CHECK_LIBCURL
 
 PDNS_WITH_NET_SNMP
 
-AM_CONDITIONAL([HAVE_GNUTLS], [false])
+# not runtime selectable at the moment
+#AM_CONDITIONAL([HAVE_GNUTLS], [false])
 AM_CONDITIONAL([HAVE_LIBSSL], [false])
 
 PDNS_ENABLE_DNS_OVER_TLS
@@ -99,8 +100,8 @@ AS_IF([test "x$enable_dns_over_tls" != "xno"], [
   # not runtime selectable at the moment
   # PDNS_WITH_GNUTLS 
 
-  AS_IF([test "x$HAVE_GNUTLS" != "x1" -a "x$HAVE_LIBSSL" != "x1"], [
-    AC_MSG_ERROR([DNS over TLS support requested but neither GnuTLS nor OpenSSL are available])
+  AS_IF([test "x$HAVE_LIBSSL" != "x1"], [
+    AC_MSG_ERROR([DNS over TLS support requested but no OpenSSL available])
   ])
 ])
 
@@ -244,12 +245,12 @@ AS_IF([test "x$enable_dns_over_tls" != "xno"],
   [AC_MSG_NOTICE([DNS over TLS: yes])],
   [AC_MSG_NOTICE([DNS over TLS: no])]
 )
-AS_IF([test "x$enable_dns_over_tls" != "xno"], [
-  AS_IF([test "x$GNUTLS_LIBS" != "x"],
-    [AC_MSG_NOTICE([GnuTLS: yes])],
-    [AC_MSG_NOTICE([GnuTLS: no])]
-  )]
-)
+#AS_IF([test "x$enable_dns_over_tls" != "xno"], [
+#  AS_IF([test "x$GNUTLS_LIBS" != "x"],
+#    [AC_MSG_NOTICE([GnuTLS: yes])],
+#    [AC_MSG_NOTICE([GnuTLS: no])]
+#  )]
+#)
 AS_IF([test "x$enable_dns_over_tls" != "xno"], [
   AS_IF([test "x$LIBSSL_LIBS" != "x"],
     [AC_MSG_NOTICE([OpenSSL: yes])],