[Zlib-devel] [PATCH] Out-of-srcdir builds, -Werror resistance
Mark Adler
madler at madler.net
Sat Jun 9 22:36:45 EDT 2012
On May 29, 2012, at 11:55 AM, Daniel Richard G. wrote:
> In addition to these changes, the zconf.h file in the source tree needs to
> be removed, because if it is present in both srcdir and builddir, the
> #include"zconf.h" in zlib.h will incorrectly pull in the former instead of
> the latter.
Daniel,
This has been discussed before. zconf.h has to remain for systems that need to simply compile the source code without using build scripts. Perhaps the problem you mention could be worked around with the -I option.
I have not applied zlib-build.patch.txt. Please submit one that does not delete zconf.h.
Mark
More information about the Zlib-devel
mailing list