Fixed perl regression problem due to Version name - Fixes Bug #51218
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 11 Jun 2017 18:56:35 +0000 (20:56 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 11 Jun 2017 18:56:35 +0000 (20:56 +0200)
commitf02c89686fbe706e2800a91d13933f1129ec5c36
tree1bbac9cea0bcc40067691f0ee90696133f2678bd
parente5ed663e9f1998c1c2409a668288d4e5d496beda
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.
configure.ac