[autotools] added checks for override/final