From 4680b0f8c728a69a24e7089b777f03899bab6c9f Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 28 Aug 2005 15:12:39 +0000 Subject: Large protocol independence patch. svn path=/trunk/; revision=4280 --- rcfile_y.y | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 518b0ecb..48ddac9d 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -200,18 +200,18 @@ serv_option : AKA alias_list | QVIRTUAL STRING {current.server.qvirtual=xstrdup($2);} | INTERFACE STRING { -#if (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) +#ifdef CAN_MONITOR interface_parse($2, ¤t.server); -#else /* (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) */ +#else fprintf(stderr, GT_("fetchmail: interface option is only supported under Linux (without IPv6) and FreeBSD\n")); -#endif /* (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) */ +#endif } | MONITOR STRING { -#if (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) +#ifdef CAN_MONITOR current.server.monitor = xstrdup($2); -#else /* (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) */ +#else fprintf(stderr, GT_("fetchmail: monitor option is only supported under Linux (without IPv6) and FreeBSD\n")); -#endif /* (defined(linux) && !defined(INET6_ENABLE) || defined(__FreeBSD__)) */ +#endif } | PLUGIN STRING { current.server.plugin = xstrdup($2); } | PLUGOUT STRING { current.server.plugout = xstrdup($2); } -- cgit v1.2.3