From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Sharma Subject: [PATCH][2/5] Fail the build unless libSDL is installed. Date: Fri, 1 Jul 2005 11:56:00 -0700 Message-ID: <20050701185600.GA32184@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Fail the build unless libSDL is installed. Signed-off-by: Arun Sharma 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