diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-06-25 12:59:46 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-06-25 12:59:46 +0100 |
commit | a8ccb671c3777e3bb6416a1624b6aa9d7185dd1c (patch) | |
tree | 6d463147ac5c56502b7300630e7d643bd0395038 /tools/check/funcs.sh | |
parent | 1d998d8224dd7ac5b1f2a2175c3c050f27ae6f6b (diff) | |
download | xen-a8ccb671c3777e3bb6416a1624b6aa9d7185dd1c.tar.gz xen-a8ccb671c3777e3bb6416a1624b6aa9d7185dd1c.tar.bz2 xen-a8ccb671c3777e3bb6416a1624b6aa9d7185dd1c.zip |
tools: fix x11 check
X.org is installed in /usr/X11R7.
Attached patch covers this in the x11 check.
Xen has no direct X11 dependency
(it's inherited from SDL and SDL is optional for qemu-dm)
so warn but don't fail if no X11 is installed.
Fixes build problem on distributions which build their packages (*BSD
and Gentoo).
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/check/funcs.sh')
-rw-r--r-- | tools/check/funcs.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/check/funcs.sh b/tools/check/funcs.sh index d3fb60abb3..095dcb1ad2 100644 --- a/tools/check/funcs.sh +++ b/tools/check/funcs.sh @@ -78,6 +78,11 @@ check_sys_root() { fi } +warning() { + echo + echo " *** `basename "$0"` FAILED${*+: $*}" +} + fail() { echo echo " *** `basename "$0"` FAILED${*+: $*}" |