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)
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

index 68b160e68cd0c1fc99364bd8b849387a132a99dc..9eed0ccc206d1b62d85ff1b2562727d4719947e5 100644 (file)
@@ -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])