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.
*** 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.