mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
dependencies (libvncserver and libsdl devel packages). Enable them with XENFB_TOOLS=y. Signed-off-by: Ewan Mellor <ewan@xensource.com>
28 lines
396 B
Bash
Executable File
28 lines
396 B
Bash
Executable File
#!/bin/sh
|
|
# CHECK-BUILD CHECK-INSTALL
|
|
|
|
if [ ! "$XENFB_TOOLS" = "y" ]
|
|
then
|
|
echo -n "unused, "
|
|
exit 0
|
|
fi
|
|
|
|
RC=0
|
|
|
|
SDL_CONFIG="$(which sdl-config)"
|
|
|
|
if test -z ${SDL_CONFIG}; then
|
|
RC=1
|
|
else
|
|
${SDL_CONFIG} --libs 2>&1 > /dev/null
|
|
RC=$?
|
|
fi
|
|
|
|
if test $RC -ne 0; then
|
|
echo "FAILED"
|
|
echo " *** sdl-config is missing. "
|
|
echo " *** Please install libsdl-dev or sdl."
|
|
fi
|
|
|
|
exit $RC
|