Customize autoconf and M4 modes