configure.ac: Add --without-local-prefixes, etc to control /usr/local se...

...arch

This doesn't change default behavior, but it allows /usr/local to be turned
off.

Closes #1185.