From fc4a795b8413ccc58e1934bd19b988647bcbc79e Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 1 Feb 2001 20:49:01 +0000 Subject: [PATCH] grab the version from newt.spec --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index b470291..ea2923b 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,10 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(newt_pr.h) AC_CONFIG_HEADER(config.h) -VERSION=0.50.19 + +VERSION=$(awk '/^%define version/ {print $3}' newt.spec) + +VERSION=0.50.20 SONAME=0.50 AC_SUBST(VERSION) AC_SUBST(SONAME) -- 2.47.2