diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2016-03-09 18:55:31 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2016-03-09 18:55:31 (GMT) |
commit | f5234cd194837790662e0b634fd6236137177674 (patch) | |
tree | 8e7408ae73b2db8ae48eb4ee697a60f8187a6659 /bin | |
parent | 23e97565cfb9adf329315635fb58553b14670b47 (diff) | |
download | hdf5-f5234cd194837790662e0b634fd6236137177674.zip hdf5-f5234cd194837790662e0b634fd6236137177674.tar.gz hdf5-f5234cd194837790662e0b634fd6236137177674.tar.bz2 |
[svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently.
Disabled auto-increment of shared object version numbers by h5vers.
Files modified:
config/lt_vers.am
java/src/jni/Makefile.am
hl/src/Makefile.am
hl/c++/src/Makefile.am
hl/fortran/src/Makefile.am
c++/src/Makefile.am
bin/h5vers
fortran/src/Makefile.am
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/h5vers | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -277,13 +277,17 @@ if ($LT_VERS && $version_increased) { local($_) = $contentsy; - my ($lt_revision) = /^LT_VERS_REVISION\s*=\s*(\d+)/m; - my $new_lt_revision = $lt_revision+1; - ($contentsy) =~ s/^(LT_VERS_REVISION\s*=\s*)\d+/$1$new_lt_revision/m; - - open FILE, ">$LT_VERS" or die "$LT_VERS: $!\n"; - print FILE $contentsy; - close FILE; +# As of the HDF5 v1.8.16 release, h5vers should not increment +# the LT_VERS numbers, so the next 6 lines are commented out. +# A future version may copy the numbers to H5public.h, so this +# section is retained for future reference. +# my ($lt_revision) = /^LT_VERS_REVISION\s*=\s*(\d+)/m; +# my $new_lt_revision = $lt_revision+1; +# ($contentsy) =~ s/^(LT_VERS_REVISION\s*=\s*)\d+/$1$new_lt_revision/m; + +# open FILE, ">$LT_VERS" or die "$LT_VERS: $!\n"; +# print FILE $contentsy; +# close FILE; } # Update the README.txt file |