Build: Add gnutls-dane to USE_GNUTLS_PC/TLS_LIBS
[exim.git] / src / src / EDITME
index dea4e4cf834b74b611518c9b2aa8a48b198ac45a..a37037265d533e536338944c289ca2ca36079f1e 100644 (file)
@@ -367,10 +367,10 @@ PCRE_CONFIG=yes
 
 
 #------------------------------------------------------------------------------
-# Uncomment the following line to add DANE support
+# Comment out the following line to remove DANE support
 # Note: Enabling this unconditionally overrides DISABLE_DNSSEC
 # For DANE under GnuTLS we need an additional library.  See TLS_LIBS below.
-SUPPORT_DANE=yes
+SUPPORT_DANE=yes
 
 #------------------------------------------------------------------------------
 # Additional libraries and include directories may be required for some
@@ -772,9 +772,11 @@ HEADERS_CHARSET="ISO-8859-1"
 
 # Uncomment the first and either the second or the third of these if you
 # are using GnuTLS.  If you have pkg-config, then the second, else the third.
+# If you disabled SUPPORT_DANE support above, you do not need the gnutls-dane
+# libraries here.
 # USE_GNUTLS=yes
-# USE_GNUTLS_PC=gnutls
-# TLS_LIBS=-lgnutls -ltasn1 -lgcrypt
+# USE_GNUTLS_PC=gnutls gnutls-dane
+# TLS_LIBS=-lgnutls -ltasn1 -lgcrypt -lgnutls-dane
 
 # If using GnuTLS older than 2.10 and using pkg-config then note that Exim's
 # build process will require libgcrypt-config to exist in your $PATH.  A
@@ -806,11 +808,12 @@ HEADERS_CHARSET="ISO-8859-1"
 # need something like
 
 # TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto
+
 # or
-# TLS_LIBS=-L/opt/gnu/lib -lgnutls -ltasn1 -lgcrypt
 
-# For DANE under GnuTLS we need an additional library.
-# TLS_LIBS += -lgnutls-dane
+# TLS_LIBS=-L/opt/gnu/lib -lgnutls -ltasn1 -lgcrypt -lgnutls-dane
+# If not using DANE under GnuTLS we can lose one library
+# TLS_LIBS=-L/opt/gnu/lib -lgnutls -ltasn1 -lgcrypt
 
 # TLS_LIBS is included only on the command for linking Exim itself, not on any
 # auxiliary programs. If the include files are not in a standard place, you can