All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fail the build unless libSDL is installed.
@ 2005-06-30 20:31 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-06-30 20:31 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] only message in thread

only message in thread, other threads:[~2005-06-30 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 20:31 [PATCH] Fail the build unless libSDL is installed Arun Sharma

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.