| Summary: | Installed headers #include <config.h> in 0.5.9 | ||
|---|---|---|---|
| Product: | poppler | Reporter: | Axel Howind <Axel.Howind> |
| Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | cleanup installed header files | ||
|
Description
Axel Howind
2007-06-12 04:33:23 UTC
Further investigation shows that the following macros are used in these headers:
USE_GCC_PRAGMAS (used in SecurityHandler.h and FixedPoint.h)
ENABLE_PLUGINS (used in SecurityHandler.h)
USE_EXCEPTIONS (used in gmem.h)
USE_FIXEDPOINT (used in FixedPoint.h)
DEBUG_MEM (used in gmem.h)
Since only USE_EXCEPTIONS and USE_FIXEDPOINT are defined in config.h, I assume it's safe to duplicate these in config.h.in, and replace the includes in the headers.
USE_GCC_PRAGMAS, ENABLE_PLUGINS and DEBUG_MEM are not even mentioned in config.h.in.
I will try to create a patch.
Created attachment 10296 [details] [review] cleanup installed header files -include USE_EXCEPTIONS and USE_FIXEDPOINT in poppler-config.h.in -fix typo (MULTITHREADED/MULTITHREADING) in poppler.config.h.in -change installed headers to include poppler-config.h instead of config.h -use <poppler/poppler-config.h> instead of <poppler-config.h> so that installed headers can be used without including .../include/poppler in the include path Patch commited, thanks a lot |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.