[PATCH cygport] autotools.cygclass: correctly detect Autoconf 2.70+
Adam Dinwoodie
adam@dinwoodie.org
Sun Mar 13 20:31:23 GMT 2022
On Sat, Mar 12, 2022 at 01:02:39PM +0000, Jon Turney wrote:
> On 11/03/2022 22:40, Adam Dinwoodie wrote:
> > - case "x${confver}" in
> > - x2.6[0-9]*)
> > - confargs+=" --docdir=/usr/share/doc/${PN} --htmldir=/usr/share/doc/${PN}/html"
> > - ;;
> > - *)
> > - confargs+=" --infodir=${prefix}/share/info --mandir=${prefix}/share/man"
> > - ;;
> > - esac
> > + if [ $confver_maj -ge 2 -a $confver_min -ge 60 ] || [ $confver_maj -ge 3 ]
>
> Great. Thanks.
>
> I think it would be acceptable to error on autoconf >=3.0, rather than
> assuming it's going to be autoconf 2.6+ compatible.
No problem, I'll respin now. I'd thought about doing exactly that, but
the current code looked like it was designed to assume things would be
fine unless there was a specific reason to bail out, so I tried to
follow that paradigm rather than bail out when there was no known reason
for doing so.
More information about the Cygwin-apps
mailing list