Skip to content

Commit

Permalink
Fix build against libevent2.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Moolenaar committed Jan 28, 2017
1 parent f349338 commit 7353094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,7 @@ AC_RUN_IFELSE(
if(fd == NULL)
return(1);
if ((rc = fprintf(fd ,"%s\n", _EVENT_VERSION)) <0)
if ((rc = fprintf(fd ,"%s\n", LIBEVENT_VERSION)) <0)
return(1);
return(0);
Expand Down Expand Up @@ -2308,7 +2308,7 @@ AC_RUN_IFELSE(
#include <stdlib.h>
#include <string.h>
]], [[
exit(strcmp(event_get_version(), _EVENT_VERSION) == 0 ? 0 : 1);
exit(strcmp(event_get_version(), LIBEVENT_VERSION) == 0 ? 0 : 1);
]])],
[
AC_MSG_RESULT([yes])
Expand Down

0 comments on commit 7353094

Please sign in to comment.