[Zlib-devel] configure script
Enrico Weigelt
weigelt at metux.de
Sun Sep 18 12:17:02 EDT 2011
* Mark Adler <madler at madler.net> schrieb:
> On Sep 18, 2011, at 8:05 AM, Enrico Weigelt wrote:
> > A ./configure call is needed nevertheless for generating a proper Makefile.
>
> The Makefile that's there is not a proper make file. As I said, what it does is tell the user trying to use make to use configure first.
Which makes it rather useless. Just leave it off and people will
know to run configure anyways.
> > 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).
>
> No, this silly person may simply be someone compiling on a system that
> doesn't deal in make files, scripts, etc. All they want to do is just
> use their C compiler to compile the source.
Which makes it a downstream branch. They'll have to maintain the whole
build process (probably including changes on zconf.h) on their own anyways.
> It makes no sense to add a mysterious hurdle for them: to discover that
> they need to copy zconf.h.in to zconf.h.
Compiler complaints on missing zconf.h, an zconf.h.in file laying around
there, pretty obvious what's to do. The required cognitive step is
really trivial.
> > And *IF* you really want to support backwards compatibility for those
> > folks, simply copy it over on release tarball generation (trivial).
>
> I want what is pulled from github to be the same as the release tarball,
> to avoid having to support two different distributions.
Okay, simply put the generated tree into git, in its own downstream
branch (ontop of master). Takes a few lines of shellscript to do it
once and for all, fully automatically.
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