mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
10 lines
206 B
Bash
Executable File
10 lines
206 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-BUILD
|
|
|
|
. ./funcs.sh
|
|
|
|
has_header X11/keysymdef.h || \
|
|
has_header /usr/X11R6/include/X11/keysymdef.h || \
|
|
has_header /usr/X11R7/include/X11/keysymdef.h || \
|
|
warning "can't find X11 headers"
|