add check m4_pattern_allow