configure: Add -linotify when present, for non-Linux platforms.

Gerald Pfeifer gerald at
Sat Aug 23 11:36:14 CDT 2014

On Tue, 26 Jun 2012, Alexandre Julliard wrote:
>> A FreeBSD user ran into this when sys/inotify.h was present via an
>> extra package and Wine went ahead using that, only to fail at link-
>> time.
> We'd want to use kqueue instead on FreeBSD.

Yes, but _if_ inotify is present, we can (should?) use that until
someone implements that alternate approach, can't we?

Right now the build simply fails in that case, since we pick up
the headers, but not the library.

Can I talk you into accepting the patch below? :-)


--- |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ b/
index 1753e14..7d0fa44 100644
--- a/
+++ b/
@@ -383,6 +383,8 @@ dnl Check for -li386 for NetBSD and OpenBSD
 dnl Check for -lossaudio for NetBSD
+dnl Check for -linotify for non-Linux platforms

More information about the wine-devel mailing list