Involved in cell sporulation. Hydrolyzes gamma-D-Glu-L-(meso)A2pm linkages only in those peptide units that have a free N-terminal L-alanine. Expressed at onset of, and throughout sporulation. Belongs to the peptidase C40 family.