diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-22 17:42:48 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-22 17:42:48 (GMT) |
commit | 081ac87fedbf20e700299dbe06dfc64fe1e96e7d (patch) | |
tree | a2c746e8b28fc834d29c546b8f65d4d4c2315251 /config | |
parent | 7ff30cd69523ea8379c1ebbd7efb95eed80a6925 (diff) | |
download | hdf5-081ac87fedbf20e700299dbe06dfc64fe1e96e7d.zip hdf5-081ac87fedbf20e700299dbe06dfc64fe1e96e7d.tar.gz hdf5-081ac87fedbf20e700299dbe06dfc64fe1e96e7d.tar.bz2 |
[svn-r10064] Purpose:
Bug fix
Description:
This checkin addresses two bugs.
Firstly, I used the wrong semantics when detecting if $MAKE is defined to
the empty string or undefined.
Secondly, pmake on IRIX does not work well with automake's dependency tracking
if the build is not an in-place build.
Solution:
Fixed semantics in configure.in.
Disabled automatic dependency tracking automatically on IRIX. This is not
the optimal fix, but it should work fine as long as no one is doing HDF5
development on IRIX, and it is much easier than trying to detect the exact
situations in which dependency tracking fails (or than trying to fix dependency
tracking!).
Platforms tested:
heping, modi4 (pmake and gmake)
Diffstat (limited to 'config')
-rw-r--r-- | config/irix5.x | 10 | ||||
-rw-r--r-- | config/irix6.x | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/config/irix5.x b/config/irix5.x index 810b221..51b0462 100644 --- a/config/irix5.x +++ b/config/irix5.x @@ -6,6 +6,16 @@ # # See BlankForm in this directory for details +# Disable dependency tracking on IRIX unless the user specifically asks for +# it. +# IRIX's pmake confuses automake (as of version 1.9) if dependency tracking +# is enabled and it is not an in-place build. Simply disabling dependency +# tracking on IRIX is simpler to implement than detecting pmake, detecting +# when a build is not in-place, and then disabling dependency tracking. +if test -z "${enable_dependency_tracking}"; then + enable_dependency_tracking="no" +fi + # The default compiler is `cc' and there is no ranlib. if test "X-" = "X-$CC"; then CC=cc diff --git a/config/irix6.x b/config/irix6.x index 1fab241..5d4264b 100644 --- a/config/irix6.x +++ b/config/irix6.x @@ -6,6 +6,16 @@ # # See BlankForm in this directory for details. +# Disable dependency tracking on IRIX unless the user specifically asks for +# it. +# IRIX's pmake confuses automake (as of version 1.9) if dependency tracking +# is enabled and it is not an in-place build. Simply disabling dependency +# tracking on IRIX is simpler to implement than detecting pmake, detecting +# when a build is not in-place, and then disabling dependency tracking. +if test -z "${enable_dependency_tracking}"; then + enable_dependency_tracking="no" +fi + # Use SGI supplied C compiler by default. There is no ranlib if test "X-" = "X-$CC"; then CC='cc' |