GNU bug report logs - #12219
Could the --add-missing option be supported in AM_INIT_AUTOMAKE? (was: Re: How to automatically get missing files when changing configure.ac?)

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Fri, 17 Aug 2012 11:13:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 12219 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#12219; Package automake. (Fri, 17 Aug 2012 11:13:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Lattarini <stefano.lattarini <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 17 Aug 2012 11:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Jeff Johnston <jjohnstn <at> redhat.com>
Cc: bug-automake <at> gnu.org, automake <at> gnu.org
Subject: Could the --add-missing option be supported in AM_INIT_AUTOMAKE?
	(was: Re: How to automatically get missing files when changing
	configure.ac?)
Date: Fri, 17 Aug 2012 13:03:19 +0200
Severity: wishlist

[CC:ing bug-automake so that I won't forget about this issue]

On 08/17/2012 01:04 AM, Jeff Johnston wrote:
> If a configure.ac file is edited and the following added:
> 
> LT_INIT
> AC_PROG_LIBTOOL
>
I think you shouldn't add both, BTW; AC_PROG_LIBTOOL is the
obsolescent name for LT_INIT AFAIK.

> The make can fail when it tries to do an automake and ltmain.sh
> is missing.
>
Note that even "automake --add-missing" wouldn't help you here,
because the ltmain.sh is provided by Libtool, not Automake, and
installed by 'libtoolize', not by 'automake'.

Still, for other, similar use cases (e.g., adding AC_PROG_CC_C_O
or AM_PROG_AR to configure.ac) your request sounds valid.

> How does one set up automake to use the --add-missing parameter
> automatically?
>
Currently, one can't.

> It's not recognized as an option to use with AM_INIT_AUTOMAKE,
>
Well, automake could be enhanced to recognize a "add-missing" option
in AM_INIT_AUTOMAKE too.  This would seem a good idea, but I need to
think about it more carefully, in case there is some a subtle reason
for the current beaviour, and against the proposed enhancement.

> and the generated call to AUTOMAKE in the Makefile does not use
> an option variable that can be set.
>
> Should this be used by default in the Makefile when maintainer
> mode is enabled?
>
I don't understand this question, sorry.  What do you refer to
with "this" here?

> -- Jeff J.
>

Thanks,
  Stefano




Information forwarded to bug-automake <at> gnu.org:
bug#12219; Package automake. (Fri, 17 Aug 2012 15:59:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jeff Johnston <jjohnstn <at> redhat.com>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: bug-automake <at> gnu.org, automake <at> gnu.org
Subject: Re: Could the --add-missing option be supported in AM_INIT_AUTOMAKE?
Date: Fri, 17 Aug 2012 11:37:55 -0400
On 08/17/2012 07:03 AM, Stefano Lattarini wrote:
> Severity: wishlist
>
> [CC:ing bug-automake so that I won't forget about this issue]
>
> On 08/17/2012 01:04 AM, Jeff Johnston wrote:
>> If a configure.ac file is edited and the following added:
>>
>> LT_INIT
>> AC_PROG_LIBTOOL
>>
> I think you shouldn't add both, BTW; AC_PROG_LIBTOOL is the
> obsolescent name for LT_INIT AFAIK.

Ok, the lines above were part of a bug report for the Eclipse CDT 
autotools plug-in and I just copied
it over.

>> The make can fail when it tries to do an automake and ltmain.sh
>> is missing.
>>
> Note that even "automake --add-missing" wouldn't help you here,
> because the ltmain.sh is provided by Libtool, not Automake, and
> installed by 'libtoolize', not by 'automake'.

The end-user ended up using autoreconf -i.  In that case, would it
make sense for maintainer mode to run autoreconf -i?

> Still, for other, similar use cases (e.g., adding AC_PROG_CC_C_O
> or AM_PROG_AR to configure.ac) your request sounds valid.
>
>> How does one set up automake to use the --add-missing parameter
>> automatically?
>>
> Currently, one can't.
>
>> It's not recognized as an option to use with AM_INIT_AUTOMAKE,
>>
> Well, automake could be enhanced to recognize a "add-missing" option
> in AM_INIT_AUTOMAKE too.  This would seem a good idea, but I need to
> think about it more carefully, in case there is some a subtle reason
> for the current beaviour, and against the proposed enhancement.
>
>> and the generated call to AUTOMAKE in the Makefile does not use
>> an option variable that can be set.
>>
>> Should this be used by default in the Makefile when maintainer
>> mode is enabled?
>>
> I don't understand this question, sorry.  What do you refer to
> with "this" here?
>
I meant the --add-missing option when calling automake.
>> -- Jeff J.
>>
> Thanks,
>    Stefano





This bug report was last modified 12 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.