X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=1d66a227ca56560043ab6cb7cfc4ff198f3ac087;hb=994a003aba9aac4a8adca7f4f4fec0889b0f2bb1;hp=d2acc146e035ce934ed75cbba8495f4234ee472c;hpb=3b7428087910a79cf7d332206470efb59182a22f;p=ngircd-alex.git diff --git a/configure.in b/configure.in index d2acc146..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) @@ -43,6 +45,7 @@ AH_TEMPLATE([TARGET_CPU], [Target CPU name]) # -- C Compiler -- AC_PROG_CC +AC_PROG_CC_STDC AC_C_PROTOTYPES # -- Helper programs --