]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Added check for variable CONFIGURE_DEFINES into options.c
authorSamuli Seppänen <samuli@openvpn.net>
Fri, 12 Nov 2010 15:30:07 +0000 (17:30 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Sun, 14 Nov 2010 11:39:03 +0000 (12:39 +0100)
commit5682d3394204c788988b3cf67b3443a717704d2c
treeb956158e215944aa79bf41357f5998c4a144665b
parentf0eac1a5979096c671b3674f9d80871f496d1da8
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>
options.c