Add Inotify to the release script testing
authorDana Jansens <danakj@orodu.net>
Mon, 1 Aug 2011 20:50:10 +0000 (16:50 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:55:15 +0000 (18:55 -0400)
release/go

index db07960ee220e94314adc0bb34f3bc397e0f87a3..b51a8a7a10ab86b76f8d3c5adb3e297502800964 100755 (executable)
@@ -46,12 +46,20 @@ echo Check compile with all options enabled
   error "configure failed"
 make >/dev/null 2>/dev/null || \
   error "make failed"
+grep "HAVE_SYS_INOTIFY_H 1" config.log>/dev/null || error "missing inotify.h"
 grep "XKB 1" config.log >/dev/null || error "missing xkb extension"
 grep "XRANDR 1" config.log >/dev/null || error "missing xrandr extension"
 grep "XINERAMA 1" config.log >/dev/null || error "missing xinerama extension"
 grep "SYNC 1" config.log >/dev/null || error "missing sync extension"
 make clean >/dev/null || error "make clean failed"
 
+echo Check compile with inotify disabled
+./configure -C --disable-inotify >/dev/null || \
+  error "configure failed"
+make >/dev/null 2>/dev/null || \
+  error "make (with --disable-inotify) failed"
+make clean >/dev/null || error "make clean failed"
+
 echo Check compile with startup notification disabled
 ./configure -C --disable-startup-notification >/dev/null || \
   error "configure failed"