From e3a487702abb7c6f09aae8b0bdf53d3089112af2 Mon Sep 17 00:00:00 2001 From: md5 Date: Fri, 13 May 2011 20:35:39 +0300 Subject: CONFIGURE: Don't enable the sword25 engine if Zlib is not enabled --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 91461f340b..46e6eb8b8f 100755 --- a/configure +++ b/configure @@ -2654,6 +2654,11 @@ fi define_in_config_if_yes "$_zlib" 'USE_ZLIB' echo "$_zlib" +if test `get_engine_build sword25` = yes && test ! "$_zlib" = yes ; then + echo "...disabling Broken Sword 2.5 engine. ZLib is required" + engine_disable sword25 +fi + # # Check for LibMPEG2 # -- cgit v1.2.3