diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-08-28 19:11:34 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-08-28 19:11:34 (GMT) |
commit | 612af6440b664bbd7888128ffacacb5cb9867b36 (patch) | |
tree | 38473f6e315f4aae607e3f1d23a50f55c5081fce /bin/h5vers | |
parent | 0bc6398ec400c55b6ded5381d1c01bfb675589cb (diff) | |
download | hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.zip hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.gz hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.bz2 |
[svn-r22724] Convert tests to *.sh.in.
Convert configure.in to configure.ac.
Align TESTS usage with autotools convention.
Update all references from configure.in to configure.ac
Tested: h5committest
Diffstat (limited to 'bin/h5vers')
-rwxr-xr-x | bin/h5vers | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -71,7 +71,7 @@ use strict; # the command line) then the first line of the README.txt and RELEASE.txt files # one directory above the H5public.h file is also modified so it looks # something like: This is hdf5-1.2.3-pre1 currently under development. -# The AC_INIT macro in configure.in will also change in this case to be +# The AC_INIT macro in configure.ac will also change in this case to be # something like: AC_INIT([HDF5], [hdf5-1.2.3-pre1], [help@hdfgroup.org]) # Version changes are also reflected in the Windows-maintained H5pubconf.h # file. @@ -159,9 +159,9 @@ while ($_ = shift) { die "mutually exclusive options given\n" if $set && $inc; # Determine file to use as H5public.h, README.txt, -# release_docs/RELEASE.txt, configure.in, windows/src/H5pubconf.h, +# release_docs/RELEASE.txt, configure.ac, windows/src/H5pubconf.h, # vms/src/h5pubconf.h and config/lt_vers.am. -# The README.txt, release_docs/RELEASE.txt, configure.in, +# The README.txt, release_docs/RELEASE.txt, configure.ac, # vms/src/h5pubconf.h, windows/src/H5pubconf.h, and config/lt_vers.am # files are always in the directory above H5public.h unless ($file) { @@ -183,9 +183,9 @@ die "unable to read file: $README\n" unless -r $file; my $RELEASE = $file; $RELEASE =~ s/[^\/]*$/..\/release_docs\/RELEASE.txt/; die "unable to read file: $RELEASE\n" unless -r $file; -# configure.in +# configure.ac my $CONFIGURE = $file; -$CONFIGURE =~ s/[^\/]*$/..\/configure.in/; +$CONFIGURE =~ s/[^\/]*$/..\/configure.ac/; die "unable to read file: $CONFIGURE\n" unless -r $file; # windows/src/H5pubconf.h my $H5PUBCONF = $file; @@ -339,7 +339,7 @@ sub gen_configure { print FILE @contents; close FILE; - $conf =~ /^(.*?)\/?configure.in$/; + $conf =~ /^(.*?)\/?configure.ac$/; if ($1) { $rc = system("cd $1 && bin/reconfigure >/dev/null 2>/dev/null && rm -rf autom4te.cache"); @@ -352,7 +352,7 @@ sub gen_configure { } } -# Update the configure.in files and regenerate them +# Update the configure.ac files and regenerate them gen_configure("HDF5", $CONFIGURE) if $CONFIGURE; sub gen_h5pubconf { |