[Poppler-bugs] [Bug 52193] New: [Patch] inconsistent path for including poppler-config.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 17 12:18:33 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52193

             Bug #: 52193
           Summary: [Patch] inconsistent path for including
                    poppler-config.h
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: tk at CeBiTec.Uni-Bielefeld.DE


Created attachment 64312
  --> https://bugs.freedesktop.org/attachment.cgi?id=64312
make poppler-config.h inclusion consistent

As of poppler-0.20.2, the poppler-config.h header is referenced in different
ways across the code: 

   #include "poppler/poppler-config.h"
and
   #include "poppler-config.h"

As long as the poppler headers get installed in the system's default location
(/usr/include), no one will notice, but as soon as you have to rely on
"pkg-config poppler --cflags" when building poppler-aware software, this will
obviuosly break.

The attached patch fixes this issue by using only second of the two variants
given above.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list