diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-08-28 15:12:39 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-08-28 15:12:39 +0000 |
commit | 4680b0f8c728a69a24e7089b777f03899bab6c9f (patch) | |
tree | 15ca79e508d206308b3aaa65a747ddb1d54d32fc /rcfile_y.y | |
parent | 865694ffd4df6b32eb81722fa6b851fb73a45271 (diff) | |
download | fetchmail-4680b0f8c728a69a24e7089b777f03899bab6c9f.tar.gz fetchmail-4680b0f8c728a69a24e7089b777f03899bab6c9f.tar.bz2 fetchmail-4680b0f8c728a69a24e7089b777f03899bab6c9f.zip |
Large protocol independence patch.
svn path=/trunk/; revision=4280
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); } |