summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-12-18 19:31:11 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-12-18 19:31:11 (GMT)
commit5ffd193fe84b62ff1131349d2d4c16469d7b87f3 (patch)
tree8b9996c781f2163f725ff92894298e7f305b1c67 /fortran
parente0f561af843a976f0787a77c4633502caed3eec7 (diff)
downloadhdf5-5ffd193fe84b62ff1131349d2d4c16469d7b87f3.zip
hdf5-5ffd193fe84b62ff1131349d2d4c16469d7b87f3.tar.gz
hdf5-5ffd193fe84b62ff1131349d2d4c16469d7b87f3.tar.bz2
[svn-r3150] Purpose:
Another fix... Description: This should work for all platforms now. The other fix didn't work for the Linux platform Solution: Explicitly copy the modules if they exist. Platforms tested: Linux
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/conclude.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in
index 5d26ae5..2d0acde 100644
--- a/fortran/config/conclude.in
+++ b/fortran/config/conclude.in
@@ -67,11 +67,9 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
fi; \
done
@if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \
- for f in X *.$(F9XMODEXT); do \
- if test $$f != X; then \
- ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
- fi; \
- done; \
+ if test -e "*.$(F9XMODEXT)"; then \
+ ((cp *.$(F9XMODEXT) $(libdir)/. && chmod 644 $(libdir)/*.$(F9XMODEXT)) || exit 1); \
+ fi; \
fi
@if test -f libhdf5.settings; then \
(set -x; $(INSTALL_DATA) libhdf5.settings $(libdir)/. || exit 1); \