Files
hdf5/bin/reconfigure.sh
Quincey Koziol 8ffba3474e [svn-r9938] Purpose:
Bug fix

Description:
    Correct path to 'sh' and set executable, so this script can be run
directly from the command line.

Platforms tested:
    Linux 2.4 (heping)
    Too minor to require h5committest
2005-02-04 16:11:33 -05:00

33 lines
958 B
Bash

#! /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/local/autoconf-2.59/bin/autoheader
/usr/local/autoconf-2.59/bin/autoheader
echo /usr/bin/automake --foreign
/usr/bin/automake --foreign
echo /usr/local/autoconf-2.59/bin/autoconf
/usr/local/autoconf-2.59/bin/autoconf
fi
exit 0