[Bug 244957] New: Apply gettext autotools workarounds conditionally