Check ALL_DEP_SRCS, not SRCS, to decide what to put into the deps file
authorKen Raeburn <raeburn@mit.edu>
Wed, 2 Dec 2009 23:09:40 +0000 (23:09 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 2 Dec 2009 23:09:40 +0000 (23:09 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23434 dc483132-0cff-0310-8789-dd5450dbe970

src/config/post.in

index 9c03e73f551253b8a94f5051834883d69f12146b..a279d04763e5162c2c659c669e0020a73aac45fd 100644 (file)
@@ -95,7 +95,7 @@ depend-dependencies:
 # until we're sure we've gotten everything converted and excised the
 # old stuff from Makefile.in files.
 depend-update-makefile: .depend depend-recurse
-       if test -n "$(SRCS)" ; then \
+       if test "$(ALL_DEP_SRCS)" != " " ; then \
                $(CP) .depend $(srcdir)/deps.new ; \
        else \
                echo "# No dependencies here." > $(srcdir)/deps.new ; \