Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / auths / dovecot.c
index 377c09205f4258e1aa68459a12d65e3bb16db4c5..7f437fa0dbc64e3cae4169925915b319990cd407 100644 (file)
@@ -23,6 +23,8 @@ because using C buffered I/O gives problems on some operating systems. PH */
  */
 
 #include "../exim.h"
+
+#ifdef AUTH_DOVECOT    /* Remainder of file */
 #include "dovecot.h"
 
 #define VERSION_MAJOR  1
@@ -533,4 +535,6 @@ return ret;
 }
 
 
-#endif   /*!MACRO_PREDEF*/
+#endif /*!MACRO_PREDEF*/
+#endif /*AUTH_DOVECOT*/
+/* end of auths/dovecot.c */