aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check/check_x11_devel
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-25 12:59:46 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-25 12:59:46 +0100
commita8ccb671c3777e3bb6416a1624b6aa9d7185dd1c (patch)
tree6d463147ac5c56502b7300630e7d643bd0395038 /tools/check/check_x11_devel
parent1d998d8224dd7ac5b1f2a2175c3c050f27ae6f6b (diff)
downloadxen-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/check_x11_devel')
-rwxr-xr-xtools/check/check_x11_devel3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/check/check_x11_devel b/tools/check/check_x11_devel
index aab7e42cda..8b7df98400 100755
--- a/tools/check/check_x11_devel
+++ b/tools/check/check_x11_devel
@@ -5,4 +5,5 @@
has_header X11/keysymdef.h || \
has_header /usr/X11R6/include/X11/keysymdef.h || \
-fail "can't find X11 headers"
+has_header /usr/X11R7/include/X11/keysymdef.h || \
+warning "can't find X11 headers"