configure: {enable,disable}_safe functions that sanitise arguments