aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoost Peters2004-07-20 13:42:36 +0000
committerJoost Peters2004-07-20 13:42:36 +0000
commit521d46b425aa699d0554330b0c43118083fca6a5 (patch)
tree5cdd6987f1a1a96f5ea54bfcf3244feaf6b7906b /configure
parent38ddd36d4132253d914a721d66e3b4c8601e3568 (diff)
downloadscummvm-rg350-521d46b425aa699d0554330b0c43118083fca6a5.tar.gz
scummvm-rg350-521d46b425aa699d0554330b0c43118083fca6a5.tar.bz2
scummvm-rg350-521d46b425aa699d0554330b0c43118083fca6a5.zip
Add null driver to configure
svn-id: r14288
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 68cbdf36cf..3b1e4ba110 100755
--- a/configure
+++ b/configure
@@ -244,7 +244,7 @@ Usage: $0 [OPTIONS]...
Configuration:
-h, --help display this help and exit
- --backend=BACKEND backend to build (sdl, x11, morphos, dc, gp32) [sdl]
+ --backend=BACKEND backend to build (sdl, x11, morphos, dc, gp32, null) [sdl]
Installation directories:
--prefix=DIR use this prefix for installing ScummVM [/usr/local]
@@ -972,6 +972,10 @@ fi
# Backend related stuff
#
case $_backend in
+ null)
+ DEFINES="$DEFINES -DUSE_NULL_DRIVER"
+ OBJS="$OBJS backends/null/null.o"
+ ;;
sdl)
find_sdlconfig
INCLUDES="$INCLUDES `$_sdlconfig --cflags`"