Okay, and the next issue is that make assumes that Amiga compilers define
_AMIGA instead of
__AMIGA (not the two underscores).
Use this configure command to activate the Amiga parts in code (executed in abc-shell):
> CFLAGS="-D_AMIGA -D__USE_INLINE__" ./configure
This fails later, though:
gcc -DHAVE_CONFIG_H -Isrc -I./src -Ilib -I./lib -DLIBDIR=\"/usr/local/lib\" -DLOCALEDIR=\"/usr/local/share/locale\" -D_AMIGA -D__USE_INLINE__ -MT src/function.o -MD -MP -MF $depbase.Tpo -c -o src/function.o src/function.c &&\
mv -f $depbase.Tpo $depbase.Po
src/function.c: In function 'func_shell_base':
src/function.c:2040:3: error: 'command_argv' undeclared (first use in this function)
2040 | command_argv = construct_command_argv (argv[0], NULL, NULL, 0,
| ^~~~~~~~~~~~
src/function.c:2040:3: note: each undeclared identifier is reported only once for each function it appears in
src/function.c:2068:3: warning: implicit declaration of function 'Execute'; did you mean 'MyExecute'? [-Wimplicit-function-declaration]
2068 | Execute (buffer, NULL, child_stdout);
| ^~~~~~~
| MyExecute
gmake[1]: *** [src/function.o] Error 1
gmake[1]: Leaving directory `/RAM Disk/Shared/Sources/make-4.4'
gmake: *** [all-recursive] Error 1