Bug 9137

Summary: poppler/poppler-config.h improperly handled in configure.ac
Product: poppler Reporter: Alexis Wilke <alexis>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexis Wilke 2006-11-23 00:17:23 UTC
I applied some changes from Krzysztof Kowalczyk and when I tried to compile
using the resulting files, I got errors in regard to the config file:

   poppler/poppler-config.h

The fact is, you treat it as a AM_CONFIG_HEADER() in your configure.ac which
means you have no file under poppler/*, since the autoreconf tool is expected to
generate the config file. But well... it won't work since you can have only one
AM_CONFIG_HEADER() [as far as I know].

Anyway, I moved the poppler/config.h from the AM_CONFIG_HEADER() to the
AC_OUTPUT() and at least that much works a lot better!

Also, I deleted the poppler-config.h since it is generated. I understand that
you may want to have it somewhere for VC users (but who uses VC anyway?! you
cannot write a script in VC!) I would suggest, if you want to do that, to place
that file in some win32 sub-folder either under poppler in under $(topdir).

Later, I will post my own patch so you can see all my changes.
Comment 1 Alexis Wilke 2006-11-23 11:58:12 UTC

*** This bug has been marked as a duplicate of 9139 ***

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.