[autotools] sync autotool build with cmake build

In addition to commit 69c2cf76cef9c190ac07726f60f1dccd3df5cb6d
1 file changed