diff options
Diffstat (limited to 'bin/reconfigure.sh')
-rw-r--r-- | bin/reconfigure.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bin/reconfigure.sh b/bin/reconfigure.sh new file mode 100644 index 0000000..c6f5e99 --- /dev/null +++ b/bin/reconfigure.sh @@ -0,0 +1,32 @@ +#! bin/sh +# 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 automake version 1.6.3 +# Uses autoconf version 2.59 + +# 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/bin/aclocal + /usr/bin/aclocal + echo /usr/bin/automake --foreign + /usr/bin/automake --foreign + 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 |