From: Daniel Stenberg Date: Mon, 26 Apr 2004 21:15:48 +0000 (+0000) Subject: Include "setup.h" and not "config.h" since setup.h is made to include X-Git-Tag: upstream/7.37.1~12858 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=372e7a6cd411f9350c67abee7066ee38c7d3ecf6;p=platform%2Fupstream%2Fcurl.git 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. --- diff --git a/src/Makefile.am b/src/Makefile.am index c5af702..1008ae6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -63,9 +63,7 @@ if USE_MANUAL if HAVE_LIBZ # This generates the hugehelp.c file in both uncompressed and compressed formats $(HUGE): $(README) $(MANPAGE) mkhelp.pl - echo '#ifdef HAVE_CONFIG_H' > $(HUGE) - echo '#include "config.h"' >> $(HUGE) - echo '#endif' >> $(HUGE) + echo '#include "setup.h"' > $(HUGE) echo '#ifndef HAVE_LIBZ' >> $(HUGE) $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE) echo '#else' >> $(HUGE) @@ -74,9 +72,7 @@ $(HUGE): $(README) $(MANPAGE) mkhelp.pl else # HAVE_LIBZ # This generates the hugehelp.c file uncompressed only $(HUGE): $(README) $(MANPAGE) mkhelp.pl - echo '#ifdef HAVE_CONFIG_H' > $(HUGE) - echo '#include "config.h"' >> $(HUGE) - echo '#endif' >> $(HUGE) + echo '#include "setup.h"' > $(HUGE) $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE) endif diff --git a/src/mkhelp.pl b/src/mkhelp.pl index 195328e..318e598 100644 --- a/src/mkhelp.pl +++ b/src/mkhelp.pl @@ -112,9 +112,7 @@ print <