Build-variant tidyup
[exim.git] / src / src / exim.h
index c272a0147a9777103ff1e2d88c6ce77d1f12d07d..0de0595b1487d2d4e360f2050fb1a9d844ba846e 100644 (file)
@@ -593,8 +593,8 @@ default to EDQUOT if it exists, otherwise ENOSPC. */
 #endif
 
 /* DANE w/o DNSSEC is useless */
-#if defined(EXPERIMENTAL_DANE) && defined(DISABLE_DNSSEC)
-# undef DISABLE_DNSSEC
+#if defined(SUPPORT_DANE) && defined(DISABLE_DNSSEC)
+# error DANE support requires DNSSEC support
 #endif
 
 /* Some platforms (FreeBSD, OpenBSD, Solaris) do not seem to define this */