WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [TOOLS] Checks for libvncserver-dev and l

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [TOOLS] Checks for libvncserver-dev and libsdl-dev.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 03 Dec 2006 15:10:31 +0000
Delivery-date: Sun, 03 Dec 2006 07:11:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [TOOLS] Checks for libvncserver-dev and libsdl-dev., Xen patchbot-unstable <=