mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
2dd5bbfe16
* commit '0b721858e46a317c370a24115032d5be41688f67': Make these scripts relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Get the path to prefix right: needs a ../ to back out of subdirectory c/. Make this script relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Let us override the examples directory using --with-examplesdir=DIR. This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Follow longstanding execv convention for compatibility with NetBSD. Under the examples directories, always find the installed HDF5 executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Make the HDF5 configure script grok NetBSD. For portability, insulate the HDF5 library from some system macros. Not every system has perl installed in /usr/bin/, so change the shebang (#!) line to `/usr/bin/env perl` to locate perl on the PATH. For portability, use the POSIX sh(1) string-comparison operator `=` instead of `==`. |
||
---|---|---|
.. | ||
batch | ||
pkgscrpts | ||
bbrelease | ||
buildhdf5 | ||
checkapi | ||
checkposix | ||
chkconfigure | ||
chkcopyright | ||
chkmanifest | ||
cmakehdf5 | ||
COPYING | ||
debug-ohdr | ||
dependencies | ||
deploy | ||
distdep | ||
errors | ||
gcov_script | ||
genparser | ||
h5cc.in | ||
h5redeploy.in | ||
h5vers | ||
iostats | ||
locate_sw | ||
make_err | ||
make_overflow | ||
make_vers | ||
Makefile.am | ||
makehelp | ||
mkdirs | ||
newer | ||
output_filter.sh | ||
README | ||
release | ||
restore.sh | ||
runbkgprog | ||
runtest | ||
snapshot | ||
snapshot_version | ||
switch_maint_mode | ||
timekeeper | ||
trace | ||
warnhist | ||
yodconfigure |
The daily tests run copies of some of the scripts in this directory from another repository, notably snapshot and runtest. The copies in this directory should work, but are not used in daily tests, though they should be tested occasionally.