Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / transports / autoreply.c
index 3755ba284e8e2e44757386ccf3f835a0d8dc8645..2f2fe1e16678a19a32aa99f44bce7410964700a7 100644 (file)
@@ -9,6 +9,8 @@
 
 
 #include "../exim.h"
+
+#ifdef TRANSPORT_AUTOREPLY     /* Remainder of file */
 #include "autoreply.h"
 
 
@@ -820,4 +822,5 @@ return FALSE;
 }
 
 #endif /*!MACRO_PREDEF*/
+#endif /*TRANSPORT_AUTOREPOL*/
 /* End of transport/autoreply.c */