From: ewt Date: Thu, 1 Feb 2001 20:49:01 +0000 (+0000) Subject: grab the version from newt.spec X-Git-Tag: r0-50-20~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc4a795b8413ccc58e1934bd19b988647bcbc79e;p=thirdparty%2Fnewt.git grab the version from newt.spec --- 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)