setup.py: skip inotify if there's no inotify_add_watch
Debian Etch doesn't include a sys/inotify.h header, which makes it
impossible to compile _inotify.c, making hg uninstallable.
The cc.has_function() method is implemented by trying to compile a
simple C program. Since there's no redirection involved all error
messages are sent to the terminal. This is not particularly pretty
but at least it allows the installation to complete.
#header#
<title>#repo|escape#: tags</title>
<link rel="alternate" type="application/atom+xml"
href="#url#atom-tags" title="Atom feed for #repo|escape#: tags">
<link rel="alternate" type="application/rss+xml"
href="#url#rss-tags" title="RSS feed for #repo|escape#: tags">
</head>
<body>
<div class="buttons">
<a href="#url#log{sessionvars%urlparameter}">changelog</a>
<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a>
<a type="application/rss+xml" href="#url#rss-tags">rss</a>
<a type="application/atom+xml" href="#url#atom-tags">atom</a>
</div>
<h2>tags:</h2>
<ul id="tagEntries">
#entries%tagentry#
</ul>
#footer#