Patch from Tor Lillqvist <tlillqvist@novell.com> to add a sysconfdir variable.