From e0f561af843a976f0787a77c4633502caed3eec7 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 18 Dec 2000 14:17:31 -0500 Subject: [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 --- fortran/config/conclude.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); \ -- cgit v0.12