configure broken when sh is not bash
Commit f5cf614ed3bfdf14b16242d4f1bec086224acf4e introduces a bashism that is broken in two ways:
- on systems where sh is not bash, such as Ubuntu which uses dash, or non-Linux, this will mean configure will break with a syntax error
- the iteration doesn't work as expected with bash, in that only the first item is iterated on.
Using double-quotes is sufficient to use here. Attached is a patch to correct this.