I have the same problem. Also I think that --with-sablot make the problem. the follow steps:
make distclean
then
./configure ... (like you wrote there) but without --with-sablot
then you (so was by me) will not become anymore problem with zlib.
and now ./configure (with all the rule that you have to give inclusive --with-sablot).
by me has function in this constelation:
./configure --with-zlib --disable-debug --with-mysql=/usr/local/mysql/current --with-apxs=/usr/local/apache/1.3.14/bin/apxs --with-config-path=/etc --enable-track-vars=yes --enable-url-include --enable-versioning --with-gd --with-gdbm --enable-dba --enable-trans-sid --with-sablot
good luck