autogen.sh: do not do configure until $DOCONGIGURE is set to non-empty

Run configure in autogen.sh isn't an expected behavior and some
automatic builds depend on it so doing configure twice in not good.