diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/commence.in | 1 | ||||
-rw-r--r-- | config/conclude.in | 12 |
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 \ |