From 8dc8f38b87e495db05cd0495925d23dced9bd821 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 15 Nov 2011 10:59:48 +0100 Subject: [PATCH] Read version from IDMETA rather than configure.ac. --- IDMETA | 1 + configure.ac | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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]) -- 1.7.10.4