diff --git a/bin/fixdepends.sh b/bin/fixdepends.sh index 5859ecc0a0aa73845e4bd92577bc3da9bf0621bf..b0437346a4828b15737f54d9cf209a26330312e2 100755 --- a/bin/fixdepends.sh +++ b/bin/fixdepends.sh @@ -69,11 +69,14 @@ sed <"$1/dependencies" -e '/^[ ]*\\$/d' | sed \ mv "$1/dependencies.tmp" "$1/dependencies" if test -f "$1/acconfig.h"; then -# Add suitable dependencies for regenerating $(CONFIG_HEADERS). + # Add suitable dependencies for regenerating $(CONFIG_HEADERS). + # Note that we have to have a rule for an acconfig.h in case + # it has gone away to avoid make(1) complaining. cat <<EOF # Regenerate \$(CONFIG_HEADERS) from \$(SRCDIR)/acconfig.h \$(CONFIG_HEADERS): \$(SRCDIR)/\$(CONFIG_HEADERS).in \$(SRCDIR)/\$(CONFIG_HEADERS).in \$(SRCDIR)/configure: \$(SRCDIR)/acconfig.h +\$(SRCDIR)/acconfig.h: EOF fi >>$1/dependencies