Browse code

Fix wrong configure.ac parsing of --enable-async-push

AC_ARG_ENABLE() was used wrong, which led enable_async_push to
always be set, regardless if --enable-async-push or --disable-async-push
was used.

Also spotted the exact same patch when writing this commit message as
GitHub PR#70.

Trac: #786
Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <1481062251-18349-1-git-send-email-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13411.html

David Sommerseth authored on 2016/12/07 07:10:51
Showing 1 changed files
... ...
@@ -267,7 +267,7 @@ AC_ARG_ENABLE(
267 267
 AC_ARG_ENABLE(
268 268
 	[async-push],
269 269
 	[AS_HELP_STRING([--enable-async-push], [enable async-push support @<:@default=no@:>@])],
270
-	[enable_async_push="yes"],
270
+	,
271 271
 	[enable_async_push="no"]
272 272
 )
273 273