Build: avoid compiling code for unused transports, routers, authenticators
[exim.git] / src / src / auths / spa.c
index 0d4262ec563423b11b0c4d9de36bb559c449ec8b..51418c4ed1736af57a8e856166fc5410d3507d26 100644 (file)
@@ -34,6 +34,8 @@ References:
 
 
 #include "../exim.h"
+
+#ifdef AUTH_SPA                /* Remainder of file */
 #include "spa.h"
 
 /* #define DEBUG_SPA */
@@ -372,5 +374,6 @@ if (errno != 0 || buffer[0] != '3')
 return FAIL;
 }
 
-#endif   /*!MACRO_PREDEF*/
+#endif /*!MACRO_PREDEF*/
+#endif /*AUTH_SPA*/
 /* End of spa.c */