From b89f24fccfb15be8047815a3e2282292418714e2 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 23 Oct 2006 19:02:26 +0000 Subject: Added zlib check before PhysFS check. The PhysFS check was failing on MSYS because of a missing -lz. --- ChangeLog | 6 +++++- configure.ac | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0dfe9b9c..58265fe8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-23 Bjørn Lindeijer + + * configure.ac: Added zlib check before PhysFS check. The PhysFS check + was failing on MSYS because of a missing -lz. + 2006-10-12 Yohann Ferreira * debian/rules, debian/tmw-data.install, debian/tmw-data.dirs, @@ -32,7 +37,6 @@ src/resources/ambientoverlay.h: Resolved some weirdness involving the terms scroll and speed. - 2006-10-07 Eugenio Favalli * The Mana World.dev, tmw.cbp: Updated project files. diff --git a/configure.ac b/configure.ac index 068fbd8e..4c7be5b7 100755 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,9 @@ AC_MSG_ERROR([ *** Unable to find Guichan library (guichan.sf.net)])) #AC_CHECK_LIB([guichan_opengl], [gcnOpenGL], , #AC_MSG_ERROR([ *** Unable to find Guichan OpenGL library (guichan.sf.net)])) +AC_CHECK_LIB([z], [inflate], , +AC_MSG_ERROR([ *** Unable to find zlib (http://www.gzip.org/zlib/)])) + AC_CHECK_LIB([physfs], [PHYSFS_init], , AC_MSG_ERROR([ *** Unable to find PhysFS library (icculus.org/physfs/)])) -- cgit v1.2.3-70-g09d2