[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [TOOLS] Checks for libvncserver-dev and libsdl-dev.
# HG changeset patch # User Alastair Tse <atse@xxxxxxxxxxxxx> # Node ID 1e6f9222a1e11e49502d837eb349d0773078a156 # Parent dd857b2e2bca6da65dd3eb36d4d3e31b35a09760 [TOOLS] Checks for libvncserver-dev and libsdl-dev. Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx> --- tools/check/check_libvncserver | 21 +++++++++++++++++++++ tools/check/check_sdl | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) diff -r dd857b2e2bca -r 1e6f9222a1e1 tools/check/check_libvncserver --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/check/check_libvncserver Fri Dec 01 15:12:48 2006 +0000 @@ -0,0 +1,21 @@ +#!/bin/sh +# CHECK-BUILD CHECK-INSTALL + +RC=0 + +LIBVNCSERVER_CONFIG="$(which libvncserver-config)" + +if test -z ${LIBVNCSERVER_CONFIG}; then + RC=1 +else + ${LIBVNCSERVER_CONFIG} --libs 2>&1 > /dev/null + RC=$? +fi + +if test $RC -ne 0; then + echo "FAILED" + echo " *** libvncserver-config is missing. " + echo " *** Please install libvncserver." +fi + +exit $RC diff -r dd857b2e2bca -r 1e6f9222a1e1 tools/check/check_sdl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/check/check_sdl Fri Dec 01 15:12:48 2006 +0000 @@ -0,0 +1,21 @@ +#!/bin/sh +# CHECK-BUILD CHECK-INSTALL + +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 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |