build: Add '--with-channel-commit' and related configure flags.