aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohannes Schickel2012-08-21 02:13:19 +0200
committerJohannes Schickel2012-08-21 02:13:19 +0200
commiteff6ea09fbf1b64bc37011e5c94cf8798f658150 (patch)
tree6c91a9af72672243275149b82b2a97a0d6abf0f0 /configure
parent05eb6eecfce5a049a100872ba4a4fb414cf913a5 (diff)
downloadscummvm-rg350-eff6ea09fbf1b64bc37011e5c94cf8798f658150.tar.gz
scummvm-rg350-eff6ea09fbf1b64bc37011e5c94cf8798f658150.tar.bz2
scummvm-rg350-eff6ea09fbf1b64bc37011e5c94cf8798f658150.zip
Revert "CONFIGURE: Don't disable the sword25 engine when libpng is not found"
This reverts commit 7543c3ba5fcc914a4031fc8328aacd3d28c7055d. We depend on libpng for PNG decoding again, thus disable sword25 when libpng is not available.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 5ab145c5f4..4b54832294 100755
--- a/configure
+++ b/configure
@@ -3201,6 +3201,11 @@ fi
define_in_config_if_yes "$_png" 'USE_PNG'
echo "$_png"
+if test `get_engine_build sword25` = yes && test ! "$_png" = yes ; then
+ echo "...disabling Broken Sword 2.5 engine. PNG is required"
+ engine_disable sword25
+fi
+
#
# Check for Theora Decoder
#