From: Friedrich Beckmann Date: Sun, 11 Jun 2017 18:56:35 +0000 (+0200) Subject: Fixed perl regression problem due to Version name - Fixes Bug #51218 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f02c89686fbe706e2800a91d13933f1129ec5c36;p=pspp Fixed perl regression problem due to Version name - Fixes Bug #51218 The regression failed in some perl tests due to an incompatible pspp version number. I changed to a version number that includes a "-". The problem is described in acinclude.m4. See The PSPP autobuilder appends a build number to the PSPP version number, e.g. "0.7.2-build40". But Perl won't parse version numbers that contain anything other than digits and periods, so "-build" causes an error. So we define $(VERSION_FOR_PERL) that drops everything from the hyphen onward. VERSION_FOR_PERL=`echo "$VERSION" | sed 's/-.*//'` AC_SUBST([VERSION_FOR_PERL]) The version name was 0.10.5pre1 without a "-". Therefore the version name for perl results in a problem. --- diff --git a/configure.ac b/configure.ac index 68b160e68c..9eed0ccc20 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. dnl Initialize. AC_PREREQ(2.63) -AC_INIT([GNU PSPP], [0.10.5pre1], [bug-gnu-pspp@gnu.org], [pspp]) +AC_INIT([GNU PSPP], [0.10.5-pre1], [bug-gnu-pspp@gnu.org], [pspp]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_TESTDIR([tests])