diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 15:39:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-20 15:39:37 +0000 |
commit | 907bb78f3ef0f450812b15368f9aa34a4d48d8c9 (patch) | |
tree | 69d86ecc17ef693d473f43eaa4a54e41f88b1e48 /src | |
parent | b2e1bf7e7d617bb9437c750d4ad4e392e331adbb (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
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 |