summaryrefslogtreecommitdiffstats
path: root/fortran/config
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-01-07 17:45:16 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-01-07 17:45:16 (GMT)
commit6a9d906c9074b758a210d702805269b330cc4220 (patch)
treeb5c80ac85b30ad858b815ce537742487ef220d02 /fortran/config
parentfb1494ea6e82b4dc43137d83e8ddffa72f97ed90 (diff)
downloadhdf5-6a9d906c9074b758a210d702805269b330cc4220.zip
hdf5-6a9d906c9074b758a210d702805269b330cc4220.tar.gz
hdf5-6a9d906c9074b758a210d702805269b330cc4220.tar.bz2
[svn-r8035] Purpose:
feature Description: Install the C and Fortran compiler commands as h5pcc and h5pfc if parallel mode is used. Platforms tested: "h5committested"
Diffstat (limited to 'fortran/config')
-rw-r--r--fortran/config/conclude.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in
index 09cdf52..2288fb0 100644
--- a/fortran/config/conclude.in
+++ b/fortran/config/conclude.in
@@ -87,9 +87,14 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
fi; \
fi; \
done
+ # install h5fc as h5pfc for parallel mode.
@for f in X $(PUB_PROGS); do \
if test $$f != X; then \
- ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ if test "X$(PARALLEL)" != "Xno" -a $$f = "h5fc"; then \
+ ($(LT_INSTALL_PROG) $$f $(bindir)/h5pfc || exit 1); \
+ else \
+ ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ fi; \
fi; \
done