[Zlib-devel] [PATCH] Out-of-srcdir builds, -Werror resistance

Daniel Richard G. oss at teragram.com
Sun Jun 10 00:51:06 EDT 2012


> 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 would do it if zconf.h were included using #include<> rather than
#include"". Would that be possible?

The configure script could also copy zlib.h to the build directory, if you
don't mind two identical copies of the file in a non-srcdir build.

> I have not applied zlib-build.patch.txt.  Please
> submit one that does not delete zconf.h.

The patch doesn't touch this file; my suggestion to delete it is all there
is.







More information about the Zlib-devel mailing list