Skip to content

Commit 38d582f

Browse files
committed
mkhelp: generate code for --disable-manual as well
This allows configure --disable-manual to run and build without having to regenerate the src/tool_hugehelp.c file which otherwise is necessary since we ship tarballs with that file present. Reported-by: Remi Gacogne Bug: http://curl.haxx.se/bug/view.cgi?id=1350
1 parent 5a327f3 commit 38d582f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mkhelp.pl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# | (__| |_| | _ <| |___
77
# \___|\___/|_| \_\_____|
88
#
9-
# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
9+
# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
1010
#
1111
# This software is licensed as described in the file COPYING, which
1212
# you should have received as part of this distribution. The terms
@@ -256,6 +256,10 @@
256256

257257
sub foot {
258258
print <<FOOT
259+
#else /* !USE_MANUAL */
260+
/* built-in manual is disabled, blank function */
261+
#include "tool_hugehelp.h"
262+
void hugehelp(void) {}
259263
#endif /* USE_MANUAL */
260264
FOOT
261265
;

0 commit comments

Comments
 (0)