diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
commit | 26303241febadd20aea77fc8a1d48f05823170af (patch) | |
tree | 4ba1d92050fa6cc33feab6a38bc9778f71bbb146 /bin/reconfigure.sh | |
parent | 9f17319144fca94a852fd500487b0e4ae48e0997 (diff) | |
download | hdf5-26303241febadd20aea77fc8a1d48f05823170af.zip hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.gz hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.bz2 |
[svn-r9902] Purpose:
Configuration feature
Description:
HDF5 now uses automake to generate Makefiles
Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh
Platforms tested:
Many
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 |