set version number via autoconf
This commit is contained in:
parent
ce5dfe3501
commit
36744e5b20
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ use IO::Socket::INET;
|
||||||
use Socket qw(AF_INET AF_INET6 PF_INET PF_INET6);
|
use Socket qw(AF_INET AF_INET6 PF_INET PF_INET6);
|
||||||
use Sys::Hostname;
|
use Sys::Hostname;
|
||||||
|
|
||||||
use version 0.77; our $VERSION = version->declare('v3.10.0');
|
use version 0.77; our $VERSION = version->declare('@PACKAGE_VERSION@');
|
||||||
(my $version = $VERSION->stringify()) =~ s/^v//;
|
my $version = $VERSION->stringify();
|
||||||
my $programd = $0;
|
my $programd = $0;
|
||||||
$programd =~ s%^.*/%%;
|
$programd =~ s%^.*/%%;
|
||||||
my $program = $programd;
|
my $program = $programd;
|
||||||
|
|
Loading…
Reference in a new issue