perl-module: Avoid VERSION redefinition warning from compiler.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 27 Jun 2017 21:52:40 +0000 (17:52 -0400)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 27 Jun 2017 21:52:40 +0000 (17:52 -0400)
commitb795616d57f3a26415aee6a30edfd00ef004e31b
tree604c0f5b2b7052cba98095edd490ae9215092bc9
parent8736d8d715ddfb9fb7bd2ecfc075156892a47eee
perl-module: Avoid VERSION redefinition warning from compiler.

If the PSPP version includes a suffix like "-pre1", then Perl will strip
that suffix from the version it passes to the compiler using -DVERSION=...,
and <config.h> will re-define it with the full version string.  This causes
a warning.

This change avoids the warning.  I am not yet aware of a new problem that
it causes.
perl-module/PSPP.xs