[Zlib-devel] configure script

Enrico Weigelt weigelt at metux.de
Sun Sep 18 11:05:42 EDT 2011


* John Bowler <jbowler at frontiernet.net> schrieb:
> The problem, surely, is that zconf.h and Makefile are *both* machine
> generated and source controlled.
> 
> The distributed versions of the files are under source control and are used
> in some builds of zlib; IRC it is perfectly possible to build zlib with the
> distributed zconf.h and I think certain builds of libpng do that.

Simply change that ;-p

A ./configure call is needed nevertheless for generating a proper Makefile.
If somebody's really so silly to write his own Makefile and still using
the shipped zconf.h file, he's already in the role of a downstream branch
maintainer (no matter if he's aware of that or not), and should be up
on is own to generated a proper zconf.h (or simply copy zconf.h.in).

And *IF* you really want to support backwards compatibility for those
folks, simply copy it over on release tarball generation (trivial).
(similar as most autotools-based projects do it for the autogenerated
scripts, etc)


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt at metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------




More information about the Zlib-devel mailing list