Isn't it enough to just save the m4 macro in certain directory and run autoreconf with the -I option:
autoreconf -i -I/path/to/your/m4/file
Or did I misunderstand you and do you want to integrate it permanently, without the person running autoreconf to worry about downloading the m4 file?