~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2008-11-21 22:31:18 UTC
  • mto: This revision was merged to the branch mainline in revision 594.
  • Revision ID: monty@inaugust.com-20081121223118-hr5evgmrtjjegngd
ac_cv_libevent_works needs to be named right.

Show diffs side-by-side

added added

removed removed

Lines of Context:
577
577
               AC_MSG_ERROR([libevent is required for Drizzle]))
578
578
 
579
579
 
580
 
AC_CACHE_CHECK([for bufferevent in libevent], ac_libevent_works, [
 
580
AC_CACHE_CHECK([for bufferevent in libevent], ac_cv_libevent_works, [
581
581
  save_CPPFLAGS="$CPPFLAGS"
582
582
  save_LIBS="$LIBS"
583
583
  CPPFLAGS="$EVENT_CPPFLAGS"
589
589
#include <event.h>],[
590
590
        struct bufferevent bev;
591
591
        bufferevent_settimeout(&bev, 1, 1);
592
 
  ], ac_libevent_works=yes, [
 
592
  ], ac_cv_libevent_works=yes, [
593
593
        AC_MSG_ERROR([you need to install a more recent version of libevent,
594
594
        check http://www.monkey.org/~provos/libevent/])
595
595
  ])