Add m4 config support for el/fedora/debian distros, el/fedora spec file synced with build server