echo "Update the following tools because they are now installed at a new directory"
 
#! /bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5.  The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
## Update HDF5 compiler tools after the HDF5 software has been installed  ##
## in a new location.                             ##
## For help page, use "h5redeploy -help"                  ##
##                                    ##
# Constants definitions
EXIT_SUCCESS=0
EXIT_FAILURE=1
# Function definitions
# show help page
usage() {
  # A wonderfully informative "usage" message.
  echo "usage: $prog_name [OPTIONS]"
  echo "  OPTIONS:"
  echo "    -help|help        This help message"
  echo "    -echo             Show all the shell commands executed"
  echo "    -force            No prompt, just do it"
  echo "    -prefix=DIR       New directory to find HDF5 lib/ and include/"
  echo "                        subdirectories [default: current directory]"
  echo "    -exec-prefix=DIR  New directory to find HDF5 lib/"
  echo "                        subdirectory [default: <prefix>]"
  echo "    -libdir=DIR       New directory for the HDF5 lib directory"
  echo "                        [default: <exec-prefix>/lib]"
  echo "    -includedir=DIR   New directory for the HDF5 header files"
  echo "                        [default: <prefix>/include]"
  echo "    -tool=TOOL        Tool to update. TOOL must be in the current"
  echo "                        directory and writable. [default: $h5tools]"
  echo "    -show             Show the commands without executing them"
  echo " "
  exit $EXIT_FAILURE
}
# display variable values
dump_vars(){
    echo "====Showing all variable values====="