[sr #110319] autoconf incompatible change not fixed by autoupdate

2020-09-25 Thread Per Bothner
URL:
  

 Summary: autoconf incompatible change not fixed by autoupdate
 Project: Autoconf
Submitted by: bothner
Submitted on: Fri 25 Sep 2020 08:21:43 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
Operating System: GNU/Linux

___

Details:

The following works with 2.69, but breaks with 2.69c:

AS_IF([test -z "$with_asciidoctor"],
AC_CHECK_PROG(with_asciidoctor, asciidoctor, "yes", "no"))

Adding brackets seems to work:

AS_IF([test -z "$with_asciidoctor"],
[AC_CHECK_PROG(with_asciidoctor, asciidoctor, "yes", "no")])

Autoupdate does not deal with this case.





___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




Re: [sr #110318] autoreconf: support libtoolize being named glibtoolize

2020-09-25 Thread dima.pasechnik
On Fri, Sep 25, 2020 at 02:59:55AM -0400, Nick Bowler wrote:
> On 2020-04-29, Zack Weinberg  wrote:
> > 2.61 was a long time ago.  I'm wondering if Gentoo still ships
> > 'glibtoolize' and not 'libtoolize'.  If it doesn't, this change is
> > only weakly motivated.
> 
> Today at least, Gentoo certainly does not install a "glibtoolize" nor
> does it install a patched autoreconf that looks for this name.
> 
> I don't recall such a thing ever being the case but of course I could be
> misremembering.  But a quick search of the historical repository turns
> up no obvious evidence of such patches.

glibtoolize is alive and kicking in a very popular Homebrew project
(mostly on macOS, but also to an extent on Linux).

See https://formulae.brew.sh/formula/libtool :

 In order to prevent conflicts with Apple's own libtool we have prepended a "g"
 so, you have instead: glibtool and glibtoolize.

It would be great if this alternative naming was well-supported by
autoconf.

Dima



Re: [sr #110318] autoreconf: support libtoolize being named glibtoolize

2020-09-25 Thread Nick Bowler
On 2020-04-29, Zack Weinberg  wrote:
> 2.61 was a long time ago.  I'm wondering if Gentoo still ships
> 'glibtoolize' and not 'libtoolize'.  If it doesn't, this change is
> only weakly motivated.

Today at least, Gentoo certainly does not install a "glibtoolize" nor
does it install a patched autoreconf that looks for this name.

I don't recall such a thing ever being the case but of course I could be
misremembering.  But a quick search of the historical repository turns
up no obvious evidence of such patches.

Cheers,
  Nick