]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Added support for viewing config-win32.h paramters to win/show.py
authorSamuli Seppänen <samuli@openvpn.net>
Fri, 11 Feb 2011 14:03:31 +0000 (16:03 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Sat, 26 Feb 2011 23:55:38 +0000 (00:55 +0100)
The win/show.py tools is used to view build parameters interactively. This
changes it so that it displays parameters parsed from config-win32.h in addition
to those from win/settings.in.

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>
win/show.py

index 9558c87387132f51d9754fa069cb647f4d49a128..111c965e3cfac8ca5c5b9ca8d8c2046c6f64a95a 100644 (file)
@@ -1,9 +1,9 @@
-from wb import get_config\r
+from wb import get_config, get_build_params
 from js import JSON\r
 \r
 def main():\r
-    kv = get_config()\r
-    print JSON().encode(kv)\r
+    print JSON().encode(get_config())
+    print JSON().encode(get_build_params())
 \r
 # if we are run directly, and not loaded as a module\r
 if __name__ == "__main__":\r