convert TAB characters to 8 spaces

The vast majority of configure uses spaces instead of TABs (ASCII 0x08).
However, a few lines broke this rule.  This fixes those lines, so that
the whole file is consistent.
remove unnecessary trailing whitespace from lines

Trailing whitespace is highlighted in some editors, making the source
look a bit ugly.
configure: fix indentation