joyent/node — pull request #2928 by TooTallNate (2012-03-14 02:16:53+00:00)
Title: Add `process.config`

This pull adds a `process.config` object. It looks like:

``` js
> process.config
{ target_defaults:
{ cflags: [],
default_configuration: 'Release',
defines: [],
include_dirs: [],
libraries: [] },
variables:
{ host_arch: 'x64',
node_install_npm: true,
node_install_waf: true,
node_prefix: '',
node_shared_v8: false,
node_shared_zlib: false,
node_use_dtrace: false,
node_use_openssl: false,
strict_aliasing: true,
target_arch: 'x64',
v8_use_snapshot: true } }
```

Relatively straightforward changes, though I am sort of abusing `js2c` by stuffing the `config.gypi` file in there. But hey, it works well! Cheers!