Configure script for prefixed installs

Just copied this over from gpm, but I figured it'd be useful for anyone who wants to install to their home directory rather than system wide.

Thanks for your hard work on gvp / gpm!