avoid some NO_<cipher> problems
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl
index 930dd02..37aaac1 100644
--- a/crypto/Makefile.ssl
+++ b/crypto/Makefile.ssl
@@ -122,7 +122,9 @@
 	done;
 
 depend:
+	if [ ! -e buildinf.h ]; then touch buildinf.h; fi # fake buildinf.h if it does not exist
 	$(MAKEDEPEND) $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC)
+	if [ ! -s buildinf.h ]; then rm buildinf.h; fi
 	@for i in $(SDIRS) ;\
 	do \
 	(cd $$i; echo "making depend in crypto/$$i..."; \