A new way to display option has been introduced in the ./configure script, that uses the shell $() syntax for execution. However, Solaris' /bin/sh is old and crusty, and does not support that, which leads to the following result when --help is used:
--$(echo disable-scumm don't build the SCUMM engine
--$(echo disable-scumm_ exclude the v7 & v8 games in SCUMM engine
--$(echo disable-he | s exclude the HE71+ games in SCUMM engine
--$(echo disable-agi | don't build the AGI engine
I attached an obvious patch to fix that, should work on any shell.
Ticket imported from: #1901742. Ticket imported from: patches/943.
Small change to fix a cosmetic issue with Solaris /bin/sh