From 907bb78f3ef0f450812b15368f9aa34a4d48d8c9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 20 Feb 2004 15:39:37 +0000 Subject: [PATCH] When the built-in manual is disabled, we generate a function doing nothing just to avoid making a totally empty file. Just to avoid compiler warnings. --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index e780d3fd2..062f00908 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -78,5 +78,7 @@ endif else # USE_MANUAL # built-in manual has been disabled, make a blank file $(HUGE): - echo "/* explicitly disabled */" >$(HUGE) + echo "/* built-in manual is disabled, blank function */" > $(HUGE) + echo '#include "hugehelp.h"' >> $(HUGE) + echo "void hugehelp(void) {}" >>$(HUGE) endif