From 6c6f50e4763f3985548d4cabafab1be1673faaae Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 14 Nov 2011 16:10:48 +0100 Subject: [PATCH] Read version from IDMETA rather than configure.ac. In other words, configure.ac gets its version from IDMETA. --- IDMETA | 1 + configure.ac | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 IDMETA diff --git a/IDMETA b/IDMETA old mode 100644 new mode 100755 index 86664dc..a64eb51 --- a/IDMETA +++ b/IDMETA @@ -1,2 +1,3 @@ DEBIAN_DIST="wheezy squeeze lenny" UBUNTU_DIST="natty maverick lucid karmic" +VERSION=4.2.20 diff --git a/configure.ac b/configure.ac index b7f3c74..7641cc0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,9 @@ dnl This file is part of the YAZ toolkit. dnl Copyright (C) 1995-2011 Index Data AC_PREREQ([2.60]) -AC_INIT([yaz],[4.2.20],[yaz-help@indexdata.dk]) +AC_INIT([yaz], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[yaz-help@indexdata.dk]) AC_CONFIG_HEADERS(include/config.h) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_AUX_DIR([config]) -- 1.7.10.4