~mordred/drizzle/add-drizzle-namespace

« back to all changes in this revision

Viewing changes to plugin/pool_of_threads/plugin.ac

  • Committer: Brian Aker
  • Date: 2009-05-03 22:35:33 UTC
  • mfrom: (997.2.26 mordred)
  • Revision ID: brian@gaz-20090503223533-lv7lwqelv08dnv2j
Merge of Monty's code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_LIB_HAVE_LINKFLAGS(event,,
 
2
  [
 
3
  #include <sys/types.h>
 
4
  #include <sys/time.h>
 
5
  #include <stdlib.h>
 
6
  #include <event.h>
 
7
  ],[
 
8
    struct bufferevent bev;
 
9
    bufferevent_settimeout(&bev, 1, 1);
 
10
    event_init();
 
11
    event_loop(EVLOOP_ONCE);
 
12
  ]) 
 
13
AS_IF([test x$ac_cv_libevent = xno],
 
14
  AC_MSG_WARN([Couldn't find a recent libevent, pool-of-threads scheduler will not be built. On Debian this can be found in libevent-dev. On RedHat it's in libevent-devel.]))
 
15