Skip to content
Browse files

Libevent detection should be built just like everything else.

  • Loading branch information...
1 parent c8121b2 commit 932751d1e3d7a078121a188217d0f558ae093432 @ingenthr ingenthr committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 configure.ac
View
3 configure.ac
@@ -264,8 +264,7 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [
fi
fi
# Can I compile and link it?
- AC_TRY_LINK([typedef unsigned char u_char;
-#include <sys/time.h>
+ AC_TRY_LINK([#include <sys/time.h>
#include <sys/types.h>
#include <event.h>], [ event_init(); ],
[ libevent_linked=yes ], [ libevent_linked=no ])

0 comments on commit 932751d

Please sign in to comment.
Something went wrong with that request. Please try again.