~drizzle-trunk/drizzle/development

992.1.35 by Monty Taylor
Added support for default sources= ... when there is only one file and it's the same name as the plugin, you don't have to say so.
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
  ]) 
997.2.11 by Monty Taylor
Made better warning messages.
13
AS_IF([test x$ac_cv_libevent = xno],
1014.1.1 by mtaylor
Fixes 376322: configure fails on CentOS machines
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.]))
997.2.11 by Monty Taylor
Made better warning messages.
15