Gnulib generates non-portable shell constructs, which interferes with configuring Emacs on Solaris 10 using /bin/sh.
See https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg01590.html Would this be a sufficient solution? I've not had a chance to test it yet. 2023-04-26 Po Lu <luang...@yahoo.com> * pygnulib/GLEmiter.py (GLEmiter.autoconfSnippets): Avoid non-portable Bourne shell construct. diff --git a/pygnulib/GLEmiter.py b/pygnulib/GLEmiter.py index 93f50b728c..dc46ba89e9 100644 --- a/pygnulib/GLEmiter.py +++ b/pygnulib/GLEmiter.py @@ -283,7 +283,7 @@ class GLEmiter(object): shellvar = module.getShellVar() emit += ' %s ()\n' % shellfunc emit += ' {\n' - emit += ' if ! $%s; then\n' % shellvar + emit += ' if $%s; then :; else\n' % shellvar emit += self.autoconfSnippet(module, toplevel, disable_libtool, disable_gettext, replace_auxdir, ' ') emit += ' %s=true\n' % shellvar