summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-06-20 17:33:22 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-06-20 17:33:22 (GMT)
commit22586f84a710023a5b5b248676f10d66b8c54c98 (patch)
treea2939afbb787de8d13ed671e2f0895d18bf7b678 /configure.in
parentf649d42b461830840eab6b3a958a897fbe311fe7 (diff)
downloadhdf5-22586f84a710023a5b5b248676f10d66b8c54c98.zip
hdf5-22586f84a710023a5b5b248676f10d66b8c54c98.tar.gz
hdf5-22586f84a710023a5b5b248676f10d66b8c54c98.tar.bz2
[svn-r10956]
Purpose: Configuration feature Description: Added 'alias' for host names in configure. Typing ./configure --host=tflops will now configure with tflops as a host. Previously, this required typing ./configure --host=i386-intel-osfl. Solution: Added a section in configure.in which will replace 'tflops' with 'i386-intel-osfl'. Platforms tested: sleipnir, mir, heping Misc. update:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ef7fe9d..020e8a5 100644
--- a/configure.in
+++ b/configure.in
@@ -61,6 +61,16 @@ AC_OUTPUT_COMMANDS([
fi
])
+dnl It's possible to configure for a host other than the one on which
+dnl configure is currently running by using the --host=foo flag.
+dnl For machines on which HDF5 is often configured, it can be convenient
+dnl to specify the name of the machine rather than its canonical type.
+case $host_alias in
+ tflops)
+ host_alias=i386-intel-osfl
+ ;;
+esac
+
AC_CANONICAL_HOST
AC_SUBST([CPPFLAGS])