summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-02-14 21:13:12 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-02-14 21:13:12 (GMT)
commit2870a5d07ae0345acc6f2cc2f90123fd382fb512 (patch)
treebafb2d4ec723e5bc3f903d1444a94cb2bfa1ea96 /bin
parent4ad6d6dbd11ad4c84e2b97e83c684969e51e7720 (diff)
downloadhdf5-2870a5d07ae0345acc6f2cc2f90123fd382fb512.zip
hdf5-2870a5d07ae0345acc6f2cc2f90123fd382fb512.tar.gz
hdf5-2870a5d07ae0345acc6f2cc2f90123fd382fb512.tar.bz2
[svn-r10005] Purpose:
Configure feature Description: Changed bin/reconfigure.sh script to use autotools in AFS. Solution: Previously, the only machine with the correct versions of autoconf and automake was heping. Now both tools are installed in AFS, so in theory any hdf machine can be used to run the reconfigure script. Platforms tested: heping, eirene, verbena. On sleipnir and arabica the autotools were unable to find a version of m4 that was new enough for them. Misc. update:
Diffstat (limited to 'bin')
-rw-r--r--bin/reconfigure.sh32
1 files changed, 15 insertions, 17 deletions
diff --git a/bin/reconfigure.sh b/bin/reconfigure.sh
index cc5addb..41da76d 100644
--- a/bin/reconfigure.sh
+++ b/bin/reconfigure.sh
@@ -6,27 +6,25 @@
# same versions of autotools.
# Uses automake version 1.6.3
# Uses autoconf version 2.59
+# Includes macros from libtool version 1.4.2
-# 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.
+# The autotools live in AFS, so as long as their paths don't change
+# and this machine has the right version of m4, this script should
+# be able to run the autotools.
-HOSTNAME=$(hostname)
-if [ "$HOSTNAME" != "heping" ]; then
- echo "HDF5 can only be reconfigured on heping, sorry."
-else
+ # Run commands in order
+ echo /afs/ncsa/projects/hdf/packages/automake_1.6.3/bin/aclocal -I /afs/ncsa/projects/hdf/packages/libtool-1.4.2/Linux_2.4/share/aclocal
+ /afs/ncsa/projects/hdf/packages/automake_1.6.3/bin/aclocal -I /afs/ncsa/projects/hdf/packages/libtool-1.4.2/Linux_2.4/share/aclocal
- # 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
+ echo /afs/ncsa/projects/hdf/packages/autoconf_2.59/bin/autoheader
+ /afs/ncsa/projects/hdf/packages/autoconf_2.59/bin/autoheader
+
+ echo /afs/ncsa/projects/hdf/packages/automake_1.6.3/bin/automake --foreign
+ /afs/ncsa/projects/hdf/packages/automake_1.6.3/bin/automake --foreign
+
+ echo /afs/ncsa/projects/hdf/packages/autoconf_2.59/bin/autoconf
+ /afs/ncsa/projects/hdf/packages/autoconf_2.59/bin/autoconf
-fi
exit 0