From cab80b8d08e8d9a70efd63797c8bddd1ad5b478c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 1 Aug 2011 16:50:10 -0400 Subject: [PATCH] Add Inotify to the release script testing --- release/go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release/go b/release/go index db07960e..b51a8a7a 100755 --- a/release/go +++ b/release/go @@ -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" -- 2.34.1