~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/rabbitmq/plugin.ac

Merge Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
])
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.])])
19