The problem is that some options might change after the feature list has been printed. Optional features might be disabled because their deps were not found, for example.
Created attachment 234327 [details] Patch
Comment on attachment 234327 [details] Patch This doesn't really work, because it's WEBKIT_OPTION_DEFAULT_PORT_VALUE then once actually setting ENABLE_FOO
Created attachment 234329 [details] Different approach Ok, I think this should work fine.
Comment on attachment 234329 [details] Different approach Makes sense!
Committed r170751: <http://trac.webkit.org/changeset/170751>