RichiH / vcsh

config manager based on Git
GNU General Public License v2.0
2.2k stars 124 forks source link

configure fails with non-Bash /bin/sh #325

Closed thesamesam closed 2 years ago

thesamesam commented 2 years ago

./configure when run with a non-Bash /bin/sh emits an error:

checking for x86_64-pc-linux-gnu-pkg-config... /usr/sbin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASH_COMPLETION... yes
./configure: 3430: Bad substitution
checking that generated files are newer than configure... done
configure: creating ./config.status
[...]

This is because the definition of TRANSFORMED_PACKAGE_NAME at https://github.com/RichiH/vcsh/blob/main/configure.ac#L108 relies on a Bashism.