Async push functionality makes sense only with deferred authentication,
which requires plugins.

Trac #783

Signed-off-by: Lev Stipakov <lstipa...@gmail.com>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 27bdcc3..946f3db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1204,6 +1204,10 @@ if test "${enable_plugin_auth_pam}" = "yes"; then
 fi
 
 if test "${enable_async_push}" = "yes"; then
+       if test "${enable_plugins}" = "no"; then
+               AC_MSG_ERROR([--enable_async_push requires --enable-plugins])
+       fi
+
        AC_CHECK_HEADERS(
                [sys/inotify.h],
                AC_DEFINE([ENABLE_ASYNC_PUSH], [1], [Enable async push]),
-- 
1.9.1


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to