check configuration on "configure"