tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: infrastructure for autoreconf



On Fri, 16 Aug 2019 18:41:53 +0200
Kamil Rytarowski <n54%gmx.com@localhost> wrote:

> On 16.08.2019 18:32, Tobias Nygren wrote:
> > Hi all,
> > 
> > We have quite a few packages that TOOL_DEPEND on autoconf/automake and
> > override the pre-configure target with a rules that does
> > "cd ${WRKSRC} && autoreconf".
> 
> I prefer to not normalize it as many things depend on 'autoreconf -fi'
> or particular type of ./autoreconf.sh ./autogen.sh etc.

I did a random sampling of 5 packages that use autogen.sh and all
of them contained benign sequences of aclocal, autoconf, automake.
The only thing they tend to customize is the m4 include path.

Thus, I propose the logic shoud run "${CONFIG_SHELL} autogen.sh" if
${WRKSRC}/autogen.sh exist, with fallback to "autoreconf -if".

In situations where that doesn't work, those packages can be left as-is.

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index