Allow multi-word "install" command.
Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:
# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"
# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory
# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
1 # Compute sh-specific values
3 CT_DoArchTupleValues () {
4 # The architecture part of the tuple:
5 CT_TARGET_ARCH="${CT_ARCH_SH_VARIANT}${target_endian_eb}"
7 # gcc ./configure flags
16 case "${CT_ARCH_ENDIAN}" in
17 big) CT_ARCH_ENDIAN_CFLAG=-mb;;
18 little) CT_ARCH_ENDIAN_CFLAG=-ml;;
22 case "${CT_ARCH_SH_VARIANT}" in
23 sh3) CT_ARCH_ARCH_CFLAG=-m3;;
25 # softfp is not possible for SuperH, no need to test for it.
26 case "${CT_ARCH_FLOAT}" in
28 CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}"
31 CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}-nofpu"