mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 20:07:56 -04:00
Set all instances of the version number correctly.
Note that we've made two subtle mistakes: we are supposed to suffix any non-released version with "-dev", and we're supposed to use the last byte of the numeric version to indicate whether we have done this. For example, when 2.0.4-alpha is released, its numeric versin will be 0x 02 00 04 00. As soon as we tag it, we will change the version in the git repository to 2.0.4-alpha-dev, whose numeric version will be 0x 02 00 04 01 or something.
This commit is contained in:
parent
67995270ff
commit
5a112d3c07
@ -274,7 +274,7 @@
|
||||
/* #undef _EVENT_HAVE_WORKING_KQUEUE */
|
||||
|
||||
/* Numeric representation of the version */
|
||||
#define _EVENT_NUMERIC_VERSION 0x02000101
|
||||
#define _EVENT_NUMERIC_VERSION 0x02000302
|
||||
|
||||
/* Name of package */
|
||||
#define _EVENT_PACKAGE "libevent"
|
||||
@ -317,7 +317,7 @@
|
||||
#define _EVENT_TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Version number of package */
|
||||
#define _EVENT_VERSION "2.0.1-alpha-dev"
|
||||
#define _EVENT_VERSION "2.0.3-alpha-dev"
|
||||
|
||||
/* Define to appropriate substitue if compiler doesnt have __func__ */
|
||||
#define _EVENT___func__ __FUNCTION__
|
||||
|
@ -5,9 +5,9 @@ AC_INIT(event.c)
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AM_INIT_AUTOMAKE(libevent,2.0.3-alpha)
|
||||
AM_INIT_AUTOMAKE(libevent,2.0.3-alpha-dev)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_DEFINE(NUMERIC_VERSION, 0x02000301, [Numeric representation of the version])
|
||||
AC_DEFINE(NUMERIC_VERSION, 0x02000302, [Numeric representation of the version])
|
||||
|
||||
dnl Initialize prefix.
|
||||
if test "$prefix" = "NONE"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user