[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-recursive-gnulib-prefix-hack is deprecated
From: |
Reuben Thomas |
Subject: |
Re: non-recursive-gnulib-prefix-hack is deprecated |
Date: |
Mon, 25 Jul 2022 10:21:12 +0100 |
On Sun, 24 Jul 2022 at 19:49, Bruno Haible <bruno@clisp.org> wrote:
> Hi,
>
> hello/bootstrap.conf still uses the Gnulib module
> 'non-recursive-gnulib-prefix-hack'. This module is now deprecated [1].
> The replacement is a gnulib-tool option '--automake-subdir'. The way
> to migrate to this replacement is shown, for example, in the way GNU sed
> was migrated. [2]
>
Thanks very much for this. Everything was clear except for why after making
all the changes I was still getting this error:
gnulib/gnulib-tool: *** Option --automake-subdir is only supported if the
definition of AUTOMAKE_OPTIONS in Makefile.am
contains 'subdir-objects'.
I eventually worked out this is because gnulib-tool requires the invocation
of AUTOMAKE_OPTIONS to be on a single line. In hello's configure.ac, it was
on multiple lines for clarity. No big deal.
See commit fab5dca of hello.
--
https://rrt.sc3d.org