[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tools: fix x11 check
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1245931186 -3600 # Node ID edd603e77be42d1f4ceae7f0d8b7140320dd2cee # Parent f3a909c8e8e67e875c2b357a7f4801b79b42ece4 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@xxxxxxx> --- tools/check/check_x11_devel | 3 ++- tools/check/funcs.sh | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff -r f3a909c8e8e6 -r edd603e77be4 tools/check/check_x11_devel --- a/tools/check/check_x11_devel Wed Jun 24 15:24:53 2009 +0100 +++ b/tools/check/check_x11_devel Thu Jun 25 12:59:46 2009 +0100 @@ -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" diff -r f3a909c8e8e6 -r edd603e77be4 tools/check/funcs.sh --- a/tools/check/funcs.sh Wed Jun 24 15:24:53 2009 +0100 +++ b/tools/check/funcs.sh Thu Jun 25 12:59:46 2009 +0100 @@ -78,6 +78,11 @@ check_sys_root() { fi } +warning() { + echo + echo " *** `basename "$0"` FAILED${*+: $*}" +} + fail() { echo echo " *** `basename "$0"` FAILED${*+: $*}" _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |