https://bugs.winehq.org/show_bug.cgi?id=37578
--- Comment #8 from Todd Chester ToddAndMargo@zoho.com --- (In reply to Henri Verbeet from comment #6)
The config.log and configure output would have been helpful. Note that we do already have an explicit check for libz at http://source.winehq.org/git/wine.git/blob/HEAD:/configure.ac#l1518.
Hi Henri,
Perfect! Just put the line for zlib line before the libpng line and no more bogus error about libpng missing when it is actually zlib.
Well, they may still get the error on libpng, but the zlib error will come first and once it is fixed the libpng error will disappear.
-T