Outside Linux, wineserver fails to link when sys/inotify.h is present, as it tries to find inotify symbols in libc, which doesn't have them. The inotify symbols are in libinotify.so. Detect it properly, and link to it where available.
Also clean up usage of inotify on Linux/i386. It shouldn't need to redefine everything, the header was available in sys/inotify.h for a long time now.
Does not regenerate "configure".
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- configure.ac | 11 ++++++++++- server/Makefile.in | 2 +- server/change.c | 45 --------------------------------------------- 3 files changed, 11 insertions(+), 47 deletions(-)