autoconf-patches
[Top][All Lists]
Advanced

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

Re: Small bug in status.m4?


From: Stepan Kasal
Subject: Re: Small bug in status.m4?
Date: Tue, 4 Apr 2006 20:15:24 +0200
User-agent: Mutt/1.4.1i

Hello,

> > > 2006-04-02  Noah Misch  <address@hidden>
> > >
> > >   * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
> > >   a subdirectory subject to Cygnus `configure'.
> > >   * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.

I tried to understand the relevant part of _AC_INIT_HELP and I actually failed:
in case a Cygnus style configure is found, it calls ``$ac_configure --help''

But ac_configure is set far below, in AC_CONFIG_AUX_DIRS.
(Check the configure from CVS autoconf, for example.)

So if I'm not missing something, the recursive help doesn't work with Cygwin
configure.

To fix this, we'd have to move the AC_CONFIG_AUX_DIRS heuristics up to
the diversion PARSE_ARGS.  I'm not sure it's worth it---a quick check shows
that this bug is there at least since 2.50; so we can suppose no one cares.
I'd remove this from the recursive help code, replacing it with a comment
that recursive help doesn't work with Cygnus sub-configures.

On the other hand, if you see other reasons why AC_CONFIG_AUX_DIRS should
go to PARSE_ARGS, it can be easily done.

What do you think?

        Stepan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]