* [PATCH][2/5] Fail the build unless libSDL is installed.
@ 2005-07-01 18:56 Arun Sharma
2005-07-01 21:08 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: Arun Sharma @ 2005-07-01 18:56 UTC (permalink / raw)
To: Ian Pratt, Keir Fraser; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-01 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 18:56 [PATCH][2/5] Fail the build unless libSDL is installed Arun Sharma
2005-07-01 21:08 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.