On Monday, April 4, 2022, <mnieuw@zap.a2000.nl> wrote:
Hi Andrew,
In configure.ac is a test for Android with "uname -o" .
The -o option is not available in macOS. On Linux and macOS, simply
"uname" returns the OS name (Linux or Darwin). Does this work for
Termux too (returning Android or at least something where you can act
on)?
yeah, 'uname -o' also does not work on netbsd.
on termux I have
$ uname -o
Android
$ uname
Linux
$
anyway, on some linux systems (void linux) default shell also dislikes += constructs, and I hand-edit configure as created by ./autogen.sh there..
thing is, bash can be for example in/usr/pkg/bin, (netbsd) or in some other location. not sure how to convince autotools to search for bash and put this (non-default) interpreter at very first line in our configure...
MatN