1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
diff -ur a/plugins/collab/plugin.m4 b/plugins/collab/plugin.m4
--- a/plugins/collab/plugin.m4 2010-04-14 23:50:17.000000000 +0200
+++ b/plugins/collab/plugin.m4 2010-04-20 03:29:37.000000000 +0200
@@ -47,12 +47,14 @@
[AS_HELP_STRING([--enable-collab-backend-tcp], [TCP backend (default: auto)])],
[
enable_collab_backend_tcp=$enableval
- AC_LANG_PUSH(C++)
- AC_CHECK_HEADERS([asio.hpp], [],
- [
- AC_MSG_ERROR([collab plugin: asio is required for the collab plugin TCP backend, see http://think-async.com/])
- ])
- AC_LANG_POP
+ if test "$enable_collab_backend_tcp" != "no"; then
+ AC_LANG_PUSH(C++)
+ AC_CHECK_HEADERS([asio.hpp], [],
+ [
+ AC_MSG_ERROR([collab plugin: asio is required for the collab plugin TCP backend, see http://think-async.com/])
+ ])
+ AC_LANG_POP
+ fi
], [
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS([asio.hpp],
@@ -82,12 +84,14 @@
[AS_HELP_STRING([--enable-collab-backend-service], [abicollab.net backend (default: auto)])],
[
enable_collab_backend_service=$enableval
- AC_LANG_PUSH(C++)
- AC_CHECK_HEADERS([asio.hpp], [],
- [
- AC_MSG_ERROR([collab plugin: asio is required for the the abicollab.net backend, see http://think-async.com/])
- ])
- AC_LANG_POP
+ if test "$enable_collab_backend_service" != "no"; then
+ AC_LANG_PUSH(C++)
+ AC_CHECK_HEADERS([asio.hpp], [],
+ [
+ AC_MSG_ERROR([collab plugin: asio is required for the the abicollab.net backend, see http://think-async.com/])
+ ])
+ AC_LANG_POP
+ fi
], [
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS([asio.hpp],
|