summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-12-18 19:17:31 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-12-18 19:17:31 (GMT)
commite0f561af843a976f0787a77c4633502caed3eec7 (patch)
treeda1fc4d1cbccc7e53f24aac3c5bc13cc58f6ebaa /fortran
parent6d71c2cacc89fc8b59fb6e356b42cd2b4c45c78f (diff)
downloadhdf5-e0f561af843a976f0787a77c4633502caed3eec7.zip
hdf5-e0f561af843a976f0787a77c4633502caed3eec7.tar.gz
hdf5-e0f561af843a976f0787a77c4633502caed3eec7.tar.bz2
[svn-r3149] Purpose:
Bug Fix Description: When trying to install the Fortran Modules, it would barf if there weren't any files in the directory with that extension (i.e., in the test/ directory). Solution: Changed the installation to install only those files which actually have the correct extension we want. Platforms tested: This type of fix works on the T3E and Linux
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/conclude.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in
index fb78874..5d26ae5 100644
--- a/fortran/config/conclude.in
+++ b/fortran/config/conclude.in
@@ -67,7 +67,11 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
fi; \
done
@if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \
- ($(LT_INSTALL_LIB) *.$(F9XMODEXT) $(libdir)/. || exit 1); \
+ for f in X *.$(F9XMODEXT); do \
+ if test $$f != X; then \
+ ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
+ fi; \
+ done; \
fi
@if test -f libhdf5.settings; then \
(set -x; $(INSTALL_DATA) libhdf5.settings $(libdir)/. || exit 1); \