[EMAIL PROTECTED] (Diego 'Flameeyes' Pettenò) writes:

> Please refrain from using those if you can.

As I was asked for an example see this commit I made today:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/boxbackup/boxbackup-0.10.ebuild?r1=1.9&r2=1.10

the original ebuild used the bootstrap script (in src_compile by the
way, which is very bad for me), and depended on autoconf directly,
without forcing which version should have been used.

The new version instead uses autotools.eclass, calls eautoreconf, sets
its AT_M4DIR as the bootstrap script did (and again, ACLOCAL_AMFLAGS is
what upstream should have used).

This way warnings and errors from autotools won't be seen by the users,
but will be logged in case stuff fialed, and you don't have to rely on
the bootstrap script not making stupid stuff.

-- 
Diego "Flameeyes" Pettenò
http://blog.flameeyes.eu/

Attachment: pgpL2ZKCbyV3n.pgp
Description: PGP signature

Reply via email to