From: Adam Dickmeiss Date: Tue, 15 Nov 2011 09:59:48 +0000 (+0100) Subject: Read version from IDMETA rather than configure.ac. X-Git-Tag: v2.0.51~19 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=8dc8f38b87e495db05cd0495925d23dced9bd821;p=idzebra-moved-to-github.git Read version from IDMETA rather than configure.ac. --- diff --git a/IDMETA b/IDMETA index 86664dc..74c1fc6 100644 --- a/IDMETA +++ b/IDMETA @@ -1,2 +1,3 @@ DEBIAN_DIST="wheezy squeeze lenny" UBUNTU_DIST="natty maverick lucid karmic" +VERSION=2.0.50 diff --git a/configure.ac b/configure.ac index 65c4883..99a551f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,9 @@ dnl This file is part of the Zebra server. dnl Copyright (C) 1994-2011 Index Data dnl AC_PREREQ(2.60) -AC_INIT([idzebra],[2.0.50],[zebra-help@indexdata.dk]) +AC_INIT([idzebra], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[zebra-help@indexdata.dk]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_AUX_DIR([config])