Re: [Nagios-devel] [PATCH] fix datarootdir warnings by autoconf 2.61

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [PATCH] fix datarootdir warnings by autoconf 2.61

Post by Guest »


--VrqPEDrXMn8OVzN4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 17, 2009 at 10:50:41AM +0200, Andreas Ericsson wrote:
> Ethan Galstad wrote:
> >> Andreas Ericsson schrieb:
> >=20
> > The only thing anyone should be mucking with when making changes is
> > configure.in. The "configure" script has been in CVS for ages, and
> > there's no reason to take it out now. I don't really think there's an
> > absolute requirement that all the core devs use the same autoconf
> > version, as long as its somewhat recent. Makes it a hell of a lot
> > easier to just to a CVS checkout and run ./configure, which helps with
> > automated scripts.
> >=20
>=20
> There are two problems with this.
>=20
> The first is patch review. If someone makes a change to configure.in
> and re-generates configure from it with a more recent version of autoconf
> the patch will be *huge*, but the actual change might be 3-4 lines.

i would say at the least it would be good form to split them into seperate
commits, so that one could see the "actual" change vs the "10000 lines of
noise" change.

> Personally I like what the plugins do about this, shipping a microscopic
> script that just issues the autoconf commands so one doesn't have to
> remember them.

yeah. i'd go so far as to call this a "best practice" for using autoconf,
i.e. shipping a "bootstrap.sh" or "autogen.sh" which does some sanity checks
and then generates the autofoo stuff.

for 3rd party distributers (i.e. debian and other distros), as soon as you
have to make one change in the build system, the out-of-the-box configure
scripts become pretty burdensome to deal with.

i'd say the existance of a hypothetical autogen script plus nightly snapsho=
ts
ought to placate most of the arguments behind having ./configure in the VCS.

granted i'm not the most active with nagios these days, but i have to
deal with this type of problem all the time and it's a major PITA to
deal with so i figured i'd just chip in my 0.16 SEK :)


sean

--VrqPEDrXMn8OVzN4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKOLNaynjLPm522B0RArKbAJ4wJZRC+hEtC+BBlHF1/3ZEiskw3gCcDRvA
nj4V7TMbyJIB6yS9tSyTCPY=
=y6la
-----END PGP SIGNATURE-----

--VrqPEDrXMn8OVzN4--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked