[PATCH configure] add flag toggling package installation / removal