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

Gerald Pfeifer gerald at pfeifer.com
Sat Jun 23 15:53:09 CDT 2012


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.

Can this be pushed back to the Wine 1.4 branch as well, please?

Gerald

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

diff --git a/configure.ac b/configure.ac
index 1753e14..7d0fa44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -383,6 +383,8 @@ dnl Check for -li386 for NetBSD and OpenBSD
 AC_CHECK_LIB(i386,i386_set_ldt)
 dnl Check for -lossaudio for NetBSD
 AC_CHECK_LIB(ossaudio,_oss_ioctl)
+dnl Check for -linotify for non-Linux platforms
+AC_CHECK_LIB(inotify,inotify_init)
 
 AC_SUBST(XLIB,"")
 AC_SUBST(OPENGL_LIBS,"")
-- 
1.7.7.3



More information about the wine-patches mailing list