diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 21:15:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 21:15:48 +0000 |
commit | 372e7a6cd411f9350c67abee7066ee38c7d3ecf6 (patch) | |
tree | ef6e13eedc7d03b6870e1c8a55980c404a6c5dd6 /src/Makefile.am | |
parent | 211004bb0d12c1eb70ad70dccf9e0c4230c8deeb (diff) | |
download | curl-372e7a6cd411f9350c67abee7066ee38c7d3ecf6.tar.gz |
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.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c5af70251..1008ae63a 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 |