~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pool_of_threads/plugin.ac

  • Committer: Devananda
  • Date: 2009-07-04 01:55:13 UTC
  • mto: (1086.10.1 length-plugin)
  • mto: This revision was merged to the branch mainline in revision 1095.
  • Revision ID: deva@myst-20090704015513-gtqliazxtfm7sdvf
refactored function/length into plugin/length

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([Couldnt find a recent libevent pool-of-threads scheduler will not be built. On Debian this can be found in libevent-dev. On RedHat its in libevent-devel.]))
 
15