Arun Sharma
2005-Jul-01 18:56 UTC
[Xen-devel] [PATCH][2/5] Fail the build unless libSDL is installed.
Fail the build unless libSDL is installed.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
diff -r a7b2638827fa -r be004ea3a553 tools/check/check_sdl_lib
--- /dev/null Thu Jun 30 19:25:19 2005
+++ b/tools/check/check_sdl_lib Thu Jun 30 20:29:39 2005
@@ -0,0 +1,10 @@
+#!/bin/bash
+# CHECK-BUILD CHECK-INSTALL
+
+function error {
+ echo ''Check for SDL library failed.''
+ exit 1
+}
+
+set -e
+ldconfig -p | grep libSDL-.*so || error
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Keir Fraser
2005-Jul-01 21:08 UTC
[Xen-devel] Re: [PATCH][2/5] Fail the build unless libSDL is installed.
On 1 Jul 2005, at 19:56, Arun Sharma wrote:> Fail the build unless libSDL is installed. > > Signed-off-by: Arun Sharma <arun.sharma@intel.com>Display a warning, and don''t build the device model, if there''s no libsdl. Many people won''t have libsdl but also don''t care about the vmx device models. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel