Re: problems in Emacs with GL_GENERATE_STDINT_H

2021-12-19 Thread Paul Eggert
On 12/19/21 02:35, Bruno Haible wrote: It would be possible to replace, in the module descriptions: $(MKDIR_P) '%reldir%' && \ with { test '%reldir%' = '.' || $(MKDIR_P) '%reldir%'; } && \ It's a micro-optimization. A trade-off between execution speed and readability. It's m

Re: problems in Emacs with GL_GENERATE_STDINT_H

2021-12-19 Thread Bruno Haible
Paul Eggert wrote: > I installed that patch > into Gnulib in your name, and updated the Emacs master branch > accordingly here: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f05a93e8232e6f56458ac16d733b03e96a63e930 Glad to hear that it worked fine. > One thing I noticed in that we

Re: problems in Emacs with GL_GENERATE_STDINT_H

2021-12-18 Thread Paul Eggert
On 12/18/21 05:55, Bruno Haible wrote: Change emacs/configure.ac to use this: AC_DEFUN([AM_CONDITIONAL], [$2 && $1_CONDITION=1 || $1_CONDITION= AC_SUBST([$1_CONDITION])]) and at the same time, change gnulib-tool through the attached patch. Thanks much for the diagnosis and sugge

Re: problems in Emacs with GL_GENERATE_STDINT_H

2021-12-18 Thread Bruno Haible
Hi Paul, > * There seem to be similar issues with modules/fnmatch's > "gl_CONDITIONAL_HEADER([fnmatch.h])" duplicating fnmatch-h, > modules/glob's "gl_CONDITIONAL_HEADER([glob.h])" duplicating glob-h, and > modules/iconv_open's "gl_CONDITIONAL_HEADER([iconv.h])". Yes, there are in total 4 occu