Define VERSION in configure, and add git describe output if available.
The client release version is now defined in configure.in rather than source/irc.c. The gitversion.sh script is used to automatically add a suffix to the version number for versions of the client built from git. Also removed AC_REVISION() from configure.in, because $Revision$ doesn't make sense with git.
This commit is contained in:
@@ -62,11 +62,7 @@ CVS_REVISION(irc_c)
|
||||
#include <signame.h>
|
||||
#endif
|
||||
|
||||
#ifndef VERSION
|
||||
const char irc_version[] = "BitchX-1.2.1";
|
||||
#else
|
||||
const char irc_version[] = VERSION;
|
||||
#endif
|
||||
const char irc_version[] = VERSION;
|
||||
|
||||
/* Format of bitchx_numver: MMmmpp
|
||||
* MM = major version (eg 10 = 1.0)
|
||||
|
||||
Reference in New Issue
Block a user