aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-08-24 18:44:41 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-08-24 18:44:41 +0000
commit22c3634747ea4d6416463e638b2ece869d65aaf0 (patch)
tree7b3740a1a2b84ded57022d800f18afa6e22985a7 /rcfile_y.y
parent1c388f19b09e83f881337ab175832f002574fd0a (diff)
downloadfetchmail-22c3634747ea4d6416463e638b2ece869d65aaf0.tar.gz
fetchmail-22c3634747ea4d6416463e638b2ece869d65aaf0.tar.bz2
fetchmail-22c3634747ea4d6416463e638b2ece869d65aaf0.zip
Enable compilation with SDPS off.
svn path=/trunk/; revision=2051
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 9d688779..f3dabf1d 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -140,8 +140,12 @@ serv_option : AKA alias_list
#endif /* INET6 */
}
| SDPS {
+#ifdef ENABLE_SDPS
current.server.protocol = P_POP3;
current.server.sdps = TRUE;
+#else
+ yyerror("SDPS not enabled.");
+#endif /* ENABLE_SDPS */
}
| UIDL {current.server.uidl = FLAG_TRUE;}
| NO UIDL {current.server.uidl = FLAG_FALSE;}