summaryrefslogtreecommitdiffstats
path: root/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 /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 'config')
-rw-r--r--config/commence.in1
-rw-r--r--config/conclude.in12
2 files changed, 12 insertions, 1 deletions
diff --git a/config/commence.in b/config/commence.in
index af1275c..16f13ca 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -28,6 +28,7 @@ CP=cp
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
+PARALLEL=@PARALLEL@
RUNSERIAL=@RUNSERIAL@
RUNPARALLEL=@RUNPARALLEL@
RUNTEST=$(RUNSERIAL)
diff --git a/config/conclude.in b/config/conclude.in
index ad90169..497a827 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -145,7 +145,17 @@ install: $(AUX_LIB) $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $
done
@for f in X $(PUB_PROGS); do \
if test $$f != X; then \
- ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ if test "X$(PARALLEL)" != "Xno"; then \
+ if test $$f = "h5cc"; then \
+ ($(LT_INSTALL_PROG) $$f $(bindir)/h5pcc || exit 1); \
+ elif test $$f = "h5fc"; then \
+ ($(LT_INSTALL_PROG) $$f $(bindir)/h5pfc || exit 1); \
+ else \
+ ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ fi; \
+ else \
+ ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
+ fi; \
fi; \
done
@for d in X $(SUBDIRS); do \