]> git.draconx.ca Git - dxcommon.git/commitdiff
DX_AUTOMAKE_COMPAT: Fix install-sh with newer Automake.
authorNick Bowler <nbowler@draconx.ca>
Wed, 6 Dec 2023 01:46:26 +0000 (20:46 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 6 Dec 2023 02:07:10 +0000 (21:07 -0500)
Current versions of Automake's install-sh depends on substitutions like
${var:-foo}, which are not supported by ULTRIX 4.5 /bin/sh.

Now, ksh does support these and configure does find and use this shell
on ULTRIX, but install-sh starts with #!/bin/sh so when it is executed
directly, it is run with /bin/sh instead of the shell we want.

We can work around the problem by patching up the MKDIR_P and INSTALL
assignments at configure time to include the known-good shell, which
seems to work well.


No differences found