]> git.draconx.ca Git - dxcommon.git/commit
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)
commitb740b9bb37b4a5374772ff5049a46e10be7e020f
treef6bce390c796546eb2251cdc1832336b137caae7
parent2849f722ef8dd9bf9dcdfb0aa11e08a050cf302e
DX_AUTOMAKE_COMPAT: Fix install-sh with newer Automake.

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.
m4/am-compat.m4