configure: remove --datadir and other obsolete things