summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2013-08-27 13:26:37 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2013-08-27 13:26:37 (GMT)
commitd24404ae83f97236630efbcd34660e71c1a2293c (patch)
treec3b77d3205dfd98b4067119f6bb6922257a810d7 /tools
parent0b572983e923c20053ca1daeb4833c0bd05efbde (diff)
downloadhdf5-d24404ae83f97236630efbcd34660e71c1a2293c.zip
hdf5-d24404ae83f97236630efbcd34660e71c1a2293c.tar.gz
hdf5-d24404ae83f97236630efbcd34660e71c1a2293c.tar.bz2
[svn-r24077] Updated -help output for compile scripts for changing default from -noshlib to -shlib when hdf5 is built without static libraries (--disable-static).
Tested with h5committest on jam, koala, ostrich and platypus.
Diffstat (limited to 'tools')
-rw-r--r--tools/misc/h5cc.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in
index f62c66f..da1a26d 100644
--- a/tools/misc/h5cc.in
+++ b/tools/misc/h5cc.in
@@ -132,9 +132,10 @@ usage() {
echo " subdirectories [default: $prefix]"
echo " -show Show the commands without executing them"
echo " -showconfig Show the HDF5 library configuration summary"
- echo " -shlib Compile with shared HDF5 libraries [default when built with"
- echo " disable-static]"
- echo " -noshlib Compile with static HDF5 libraries [default when static available]"
+ echo " -shlib Compile with shared HDF5 libraries [default for hdf5 built"
+ echo " without static libraries]"
+ echo " -noshlib Compile with static HDF5 libraries [default for hdf5 built"
+ echo " with static libraries]"
echo " "
echo " <compile line> - the normal compile line options for your compiler."
echo " $prog_name uses the same compiler you used to compile"
@@ -148,7 +149,8 @@ usage() {
echo " HDF5_CC - use a different C compiler"
echo " HDF5_CLINKER - use a different linker"
echo " HDF5_USE_SHLIB=[yes|no] - use shared or static version of the HDF5 library"
- echo " [default: no]"
+ echo " [default: no except when built with only"
+ echo " shared libraries]"
echo " "
echo " You can also add or change paths and flags to the compile line using"
echo " the following environment varibles or by assigning them to their counterparts"