mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Include "setup.h" and not "config.h" since setup.h is made to include
the correct config.h for the platform, and when this is done the USE_MANUAL define is properly known.
This commit is contained in:
parent
211004bb0d
commit
372e7a6cd4
@ -63,9 +63,7 @@ if USE_MANUAL
|
|||||||
if HAVE_LIBZ
|
if HAVE_LIBZ
|
||||||
# This generates the hugehelp.c file in both uncompressed and compressed formats
|
# This generates the hugehelp.c file in both uncompressed and compressed formats
|
||||||
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
||||||
echo '#ifdef HAVE_CONFIG_H' > $(HUGE)
|
echo '#include "setup.h"' > $(HUGE)
|
||||||
echo '#include "config.h"' >> $(HUGE)
|
|
||||||
echo '#endif' >> $(HUGE)
|
|
||||||
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
|
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
|
||||||
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
||||||
echo '#else' >> $(HUGE)
|
echo '#else' >> $(HUGE)
|
||||||
@ -74,9 +72,7 @@ $(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
|||||||
else # HAVE_LIBZ
|
else # HAVE_LIBZ
|
||||||
# This generates the hugehelp.c file uncompressed only
|
# This generates the hugehelp.c file uncompressed only
|
||||||
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
$(HUGE): $(README) $(MANPAGE) mkhelp.pl
|
||||||
echo '#ifdef HAVE_CONFIG_H' > $(HUGE)
|
echo '#include "setup.h"' > $(HUGE)
|
||||||
echo '#include "config.h"' >> $(HUGE)
|
|
||||||
echo '#endif' >> $(HUGE)
|
|
||||||
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -112,9 +112,7 @@ print <<HEAD
|
|||||||
* NEVER EVER edit this manually, fix the mkhelp.pl script instead!
|
* NEVER EVER edit this manually, fix the mkhelp.pl script instead!
|
||||||
* Generation time: $now
|
* Generation time: $now
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#include "setup.h"
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
#ifdef USE_MANUAL
|
#ifdef USE_MANUAL
|
||||||
#include "hugehelp.h"
|
#include "hugehelp.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user