diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/reconfigure.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bin/reconfigure.sh b/bin/reconfigure.sh new file mode 100644 index 0000000..6989525 --- /dev/null +++ b/bin/reconfigure.sh @@ -0,0 +1,29 @@ +#! bin/sh +# Reconfigure for HDF5 1.6 +# A simple script to reconfigure autotools for HDF5. +# The autotools include a reconfigure script, but this script +# has the paths of autoconf and automake hardcoded to work on HDF +# machines. Thus is enforces that HDF5 always uses the +# same versions of autotools. +# Uses autoconf version 2.59 +# Does not use automake + +# Discover which machine this script is being run on. +# Right now, heping is the only machine with the correct +# versions of autoconf and automake installed. + +HOSTNAME=$(hostname) + +if [ "$HOSTNAME" != "heping" ]; then + echo "HDF5 can only be reconfigured on heping, sorry." +else + + # If this is heping, run commands in order + echo /usr/local/autoconf-2.59/bin/autoheader + /usr/local/autoconf-2.59/bin/autoheader + echo /usr/local/autoconf-2.59/bin/autoconf + /usr/local/autoconf-2.59/bin/autoconf + +fi + +exit 0 |