From 807864b6cef7eebcc9846cfdd79a9afbc07e0feb Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 18 May 2000 23:16:57 -0500 Subject: [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. --- config/depend.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v0.12