From eff6ea09fbf1b64bc37011e5c94cf8798f658150 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 21 Aug 2012 02:13:19 +0200 Subject: 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. --- configure | 5 +++++ 1 file changed, 5 insertions(+) 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 # -- cgit v1.2.3