]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
grab the version from newt.spec
authorewt <ewt>
Thu, 1 Feb 2001 20:49:01 +0000 (20:49 +0000)
committerewt <ewt>
Thu, 1 Feb 2001 20:49:01 +0000 (20:49 +0000)
configure.in

index b470291581f1a3e25be68855077a4e58117f0735..ea2923b0f5955f7e7695dab448455719e41adbc5 100644 (file)
@@ -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)