Skip to content

Commit

Permalink
check libevent is version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Apr 28, 2015
1 parent 3278df5 commit 4aedb2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@ AC_ARG_WITH(event,
if test "$withval" != no; then
AC_CHECK_LIB(event,event_base_new,
[LIBS="-levent $LIBS"],
[AC_MSG_ERROR([event is required - see http://libevent.org/])]
[AC_MSG_ERROR([libevent2 is required - see http://libevent.org/])]
)
AC_CHECK_HEADERS(event2/event.h,
[LIBS="-levent $LIBS"],
[AC_MSG_ERROR([libevent2 is required - see http://libevent.org/])]
)
fi

# libsodium
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
#ifndef VERSION_H
#define VERSION_H

const char *the_version = "0.1.15";
const char *the_version = "0.1.15.11.g3278df5";

#endif

0 comments on commit 4aedb2b

Please sign in to comment.