diff options
author | Samuli Seppänen <samuli@openvpn.net> | 2010-11-12 17:30:07 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-14 12:39:03 +0100 |
commit | 5682d3394204c788988b3cf67b3443a717704d2c (patch) | |
tree | b956158e215944aa79bf41357f5998c4a144665b /options.c | |
parent | Make "topology subnet" work on Solaris (ifconfig + route metric changes by Ka... (diff) | |
download | openvpn-5682d3394204c788988b3cf67b3443a717704d2c.tar.xz |
Added check for variable CONFIGURE_DEFINES into options.c
The file containing CONFIGURE_DEFINES variable, configure.h, is not present if
openvpn is built using the Python + Visual C -based buildsystem. This causes the
build to fail. This patch adds a check to see if variable exists before trying
to use it.
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: Peter Stuge <peter@stuge.se>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2763,8 +2763,10 @@ usage_version (void) #ifdef CONFIGURE_CALL msg (M_INFO|M_NOPREFIX, "\n%s\n", CONFIGURE_CALL); #endif +#ifdef CONFIGURE_DEFINES msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES); #endif +#endif openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */ } |