X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.in;h=1d66a227ca56560043ab6cb7cfc4ff198f3ac087;hp=965258aad9f182250fff6e029ba516ac32d369ef;hb=6d11fb149707194e986b0d64af3d44f21e158fcc;hpb=5700329f8c7dda39610f5836d641f4cea6912197 diff --git a/configure.in b/configure.in index 965258aa..1d66a227 100644 --- a/configure.in +++ b/configure.in @@ -9,10 +9,12 @@ # Please read the file COPYING, README and AUTHORS for more information. # +define(VERSION_ID,esyscmd(git describe|sed -e 's/rel-//g'|sed -e 's/-/~/'|tr -d \\n)) + # -- Initialisation -- AC_PREREQ(2.50) -AC_INIT(ngircd, 17~rc1) +AC_INIT(ngircd, VERSION_ID) AC_CONFIG_SRCDIR(src/ngircd/ngircd.c) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(1.6)