1283.2.1
by Marcus Eriksson
rabbitmq replication applier |
1 |
AC_LIB_HAVE_LINKFLAGS(rabbitmq,, |
2 |
[ |
|
3 |
#include <stdlib.h>
|
|
4 |
#include <stdio.h>
|
|
5 |
#include <string.h>
|
|
6 |
||
7 |
#include <stdint.h>
|
|
8 |
#include <amqp.h>
|
|
9 |
#include <amqp_framing.h>
|
|
10 |
||
11 |
#include <unistd.h>
|
|
12 |
], |
|
13 |
[ |
|
14 |
amqp_new_connection();
|
|
15 |
]) |
|
2100.2.3
by kalebral at gmail
Fixes second part of the bug, don't build the plugin unless you have both the client and the server |
16 |
AC_PATH_PROG([RABBITMQ_BINARY],[rabbitmq-server],[no],[/usr/sbin:$PATH]) |
17 |
AS_IF([test "$ac_cv_librabbitmq" = "no" -o "x${RABBITMQ_BINARY}" = "xno"], |
|
18 |
[AC_MSG_WARN([Couldn't find both rabbitmq c client and server support, rabbitmq plugin will not be built.])]) |
|
1283.2.1
by Marcus Eriksson
rabbitmq replication applier |
19 |