source: trunk/packages/xen-common/xen-common/tools/check/check_sdl @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

  • Property svn:executable set to *
File size: 396 bytes
Line 
1#!/bin/sh
2# CHECK-BUILD CHECK-INSTALL
3
4if [ ! "$XENFB_TOOLS" = "y" ]
5then
6    echo -n "unused, "
7    exit 0
8fi
9
10RC=0
11
12SDL_CONFIG="$(which sdl-config)"
13
14if test -z ${SDL_CONFIG}; then
15    RC=1
16else
17    ${SDL_CONFIG} --libs 2>&1 > /dev/null
18    RC=$?
19fi
20
21if test $RC -ne 0; then
22    echo "FAILED"
23        echo " *** sdl-config is missing. "
24    echo " *** Please install libsdl-dev or sdl."
25fi
26
27exit $RC
Note: See TracBrowser for help on using the repository browser.