summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-05-19 04:16:57 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-05-19 04:16:57 (GMT)
commit807864b6cef7eebcc9846cfdd79a9afbc07e0feb (patch)
tree1018ea1243bf844dbf7f59952e02f8118357bf4b
parentee7fb27f9b3f9bfd7ef031ea12e3fd2587653ff1 (diff)
downloadhdf5-807864b6cef7eebcc9846cfdd79a9afbc07e0feb.zip
hdf5-807864b6cef7eebcc9846cfdd79a9afbc07e0feb.tar.gz
hdf5-807864b6cef7eebcc9846cfdd79a9afbc07e0feb.tar.bz2
[svn-r2270] Problem: When --srcidr is used with configure, it creates the .distdep
file in $srcdir. This may make other hosts that are running --srcdir in paralle get confused. Changed the creation of .distdep happen only when -srcdir is NOT used.
-rw-r--r--config/depend.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/depend.in b/config/depend.in
index a02ad20..6b29d10 100644
--- a/config/depend.in
+++ b/config/depend.in
@@ -38,7 +38,9 @@ dep depend: .distdep
$(CC) -M -MG $(CPPFLAGS) $$dep |sed 's/\.o/.lo/' >>$@; \
fi; \
done;
- -perl -p $(top_srcdir)/bin/distdep .depend >$(srcdir)/.distdep
+ @if test "$(srcdir)" = "."; then \
+ perl -p $(top_srcdir)/bin/distdep .depend >.distdep; \
+ fi
-include .depend