-`$1.SELinuxContext, config_parse_warn_compat, 0, 0')'
+`$1.SELinuxContext, config_parse_warn_compat, 0, 0')
+m4_ifdef(`HAVE_APPARMOR',
+`$1.AppArmorProfile, config_parse_exec_apparmor_profile,0, offsetof($1, exec_context)',
+`$1.AppArmorProfile, config_parse_warn_compat, 0, 0')'