openvpn/win/show.py
Samuli Seppänen c75a8976f0 Changes to buildsystem patchset
Implemented changes to the buildsystem patchset suggested by jamesyonan in IRC
meeting on 17th Feb 2010:

1) Remove variables added to version.m4 and use win/settings.in instead
2) Add ENABLE_<FEATURE> configuration to win/settings.in instead of parsing
   config-win32.h for them

This patch applies on top of the previous 13 patches.

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: James Yonan <james@openvpn.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
2011-02-27 00:59:04 +01:00

10 lines
196 B
Python

from wb import get_config
from js import JSON
def main():
print JSON().encode(get_config())
# if we are run directly, and not loaded as a module
if __name__ == "__main__":
main()