--- a/Makefile.OCaml 2015-11-19 17:16:42.016621111 +0000 +++ b/Makefile.OCaml 2015-11-19 21:16:13.117121612 +0000 @@ -89,6 +89,7 @@ endif endif buildexecutable:: + INOTIFY=$(shell if $(CC) $(CFLAGS) -c -o unison-2.48.3_inotify_test.o unison-2.48.3_inotify_test.c && $(CC) $(LDFLAGS) -o unison-2.48.3_inotify_test unison-2.48.3_inotify_test.o $(LDLIBS) ; then echo '#define GLIBC_SUPPORT_INOTIFY' > fsmonitor/linux/hasinotify.h ; else echo '#undef GLIBC_SUPPORT_INOTIFY' > fsmonitor/linux/hasinotify.h ; fi) @echo UISTYLE = $(UISTYLE) ####################################################################