Generate afm-unit.conf using m4