]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Don't delete SRCDIR/zconf.h when building out of tree 17/head
authorDaniel Axtens <dja@axtens.net>
Tue, 5 May 2015 12:00:53 +0000 (22:00 +1000)
committerDaniel Axtens <dja@axtens.net>
Tue, 5 May 2015 13:38:48 +0000 (23:38 +1000)
commitff7c02c8a7492ce3f3ab997c26ca737fac57f5d3
treeaf9a204d2e86505e4340221d05d6e7dfe0de6aac
parent8142dbf7a21d524c4d8e310653e860ae6a885f7e
Don't delete SRCDIR/zconf.h when building out of tree

This avoids dirtying the source directory when building out of tree

Various build changes to make sure this works:
 - Includes for arch dir specify BUILDDIR before SRCDIR
 - #include <zconf.h> instead of "zconf.h": that way the include order
   takes effect.
 - Insert an #error directive in the original zconf.h that we process out.
   That way we can be sure we are including the right one when building
   out of tree.

Signed-off-by: Daniel Axtens <dja@axtens.net>
configure
zconf.h
zconf.h.cmakein
zconf.h.in
zlib.h