Alternative fix for https://bugs.launchpad.net/varconf/+bug/994171

Replace explicit calls to various autotools with the metatool supplied for that
purpose (lp: #994171).