summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-10-23 19:02:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-10-23 19:02:26 +0000
commitb89f24fccfb15be8047815a3e2282292418714e2 (patch)
tree2f03bc5b6ce0c10b6c9249e27652fc95981a5f10 /configure.ac
parent0c094fae3bf55bee4babe1cadd8311a91b353079 (diff)
downloadmana-b89f24fccfb15be8047815a3e2282292418714e2.tar.gz
mana-b89f24fccfb15be8047815a3e2282292418714e2.tar.bz2
mana-b89f24fccfb15be8047815a3e2282292418714e2.tar.xz
mana-b89f24fccfb15be8047815a3e2282292418714e2.zip
Added zlib check before PhysFS check. The PhysFS check was failing on MSYS
because of a missing -lz.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac3
1 files changed, 3 insertions, 0 deletions
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/)]))