Re: Accommodate non-recursive Automake in a less hacky way

2021-12-16 Thread Paul Eggert
Unless I'm missing something, the "Move .h file names out of the *.m4 files" patch omitted an "if GL_GENERATE_GEOPT_H" in getopt-posix. I installed the attached to finish this part up. Please feel free to revert if I messed up.diff --git a/ChangeLog b/ChangeLog index e1be947a3..6fee602cc 100644

problems in Emacs with GL_GENERATE_STDINT>H

2021-12-16 Thread Paul Eggert
I tried using the latest Gnulib with Emacs and ran into a problem. The resulting 'configure' script executed two copies of the following code: case "$GL_GENERATE_STDINT_H" in false) STDINT_H='' ;; true) if test -z "$STDINT_H"; then STDINT_H="${gl_sourc

Re: "x86" configuration not supported by m4/stack-direction.m4

2021-12-16 Thread Bruno Haible
Thomas Weißschuh wrote: > The triplet is generated by another tool and I'm also trying to get it fixed > there. Yes, that's the right action to pursue. Bruno

Re: "x86" configuration not supported by m4/stack-direction.m4

2021-12-16 Thread Thomas Weißschuh
Hi Bruno, On 2021-12-16 18:01+0100, Bruno Haible wrote: > Thomas Weißschuh wrote: > > it seems m4/stack-direction.m4 is missing an entry for the "x86" cpu > > configuration which is regarded as valid by config.sub. > > (autoconf 2.71, converted to "x86-unknown-none") > > "x86" is an ambiguous ter

Re: Accommodate non-recursive Automake in a less hacky way

2021-12-16 Thread Paul Eggert
On 12/16/21 03:42, Bruno Haible wrote: Jim Meyering wrote: I want to switch every package for which I used the hacky way. This patch is all you need for coreutils. Thanks, I installed that.

Re: Non-recursive Make and prefix-gnulib-mk

2021-12-16 Thread Marc Nieper-Wißkirchen
Thanks for the tips! It's working perfectly now. Marc Am Do., 16. Dez. 2021 um 18:08 Uhr schrieb Bruno Haible : > Marc Nieper-Wißkirchen wrote: > > Am I supposed to set ${gl_source_base_prefix} somewhere? > > No. gnulib-tool defines gl_source_base_prefix as appropriate, depending > on the comma

Re: "x86" configuration not supported by m4/stack-direction.m4

2021-12-16 Thread Bruno Haible
Thomas Weißschuh wrote: > it seems m4/stack-direction.m4 is missing an entry for the "x86" cpu > configuration which is regarded as valid by config.sub. > (autoconf 2.71, converted to "x86-unknown-none") "x86" is an ambiguous term, because it encompasses also 8086, 80186, 80286; these are CPUs whi

Re: Non-recursive Make and prefix-gnulib-mk

2021-12-16 Thread Bruno Haible
Marc Nieper-Wißkirchen wrote: > Am I supposed to set ${gl_source_base_prefix} somewhere? No. gnulib-tool defines gl_source_base_prefix as appropriate, depending on the command-line arguments that you pass to it. > If it helps: I > am using a configuration based on bootstrap and I have set source

Re: Non-recursive Make and prefix-gnulib-mk

2021-12-16 Thread Marc Nieper-Wißkirchen
Dear Bruno, thank you very much for the quick fix. I am currently testing it. I still have a problem with the Makefile lines eventually produced by gl_CONDITIONAL_HEADER in m4/gnulib-common.m4. Am I supposed to set ${gl_source_base_prefix} somewhere? If it helps: I am using a configuration ba

"x86" configuration not supported by m4/stack-direction.m4

2021-12-16 Thread Thomas Weißschuh
Hi, it seems m4/stack-direction.m4 is missing an entry for the "x86" cpu configuration which is regarded as valid by config.sub. (autoconf 2.71, converted to "x86-unknown-none") If you prefer I can send a patch if a CLA is not necessary for such an obvious change. Thanks, Thomas

Re: Accommodate non-recursive Automake in a less hacky way

2021-12-16 Thread Bruno Haible
Jim Meyering wrote: > I want to switch every package for which I used the hacky way. This patch is all you need for coreutils. Bruno diff --git a/bootstrap.conf b/bootstrap.conf index 2b66bc42d..c2f74f406 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -182,7 +182,6 @@ gnulib_modules=" mo

Re: Accommodate non-recursive Automake in a less hacky way

2021-12-16 Thread Bruno Haible
Two additional patches in this area: 2021-12-15 Bruno Haible automake-subdir support: Support the libunistring modules. * m4/libunistring-base.m4 (gl_LIBUNISTRING_LIBHEADER): Use the value of the gl_source_base_prefix variable. 2021-12-15 Bruno Haible auto