Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / auths / tls.c
index 72ad56c4e1f7cd0af34caab423dab698f0500f6b..005032f57dfa21e6eaf336294db71e793e8b734c 100644 (file)
@@ -12,6 +12,8 @@ a server to verify a client SSL certificate
 
 
 #include "../exim.h"
+
+#ifdef AUTH_TLS                /* Remainder of file */
 #include "tls.h"
 
 /* Options specific to the tls authentication mechanism. */
@@ -91,5 +93,6 @@ return auth_check_serv_cond(ablock);
 }
 
 
-#endif   /*!MACRO_PREDEF*/
+#endif /*!MACRO_PREDEF*/
+#endif /*AUTH_TLS*/
 /* End of tls.c */