[Poppler-bugs] [Bug 20561] New: test for pkg-config before using it in configure.ac

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 9 06:07:13 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20561

           Summary: test for pkg-config before using it in configure.ac
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: Cygwin
            Status: NEW
          Severity: trivial
          Priority: low
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: Brian.Ewins at gmail.com


Created an attachment (id=23689)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=23689)
fixes the bug as described

Steps to reproduce:
run poppler's autogen.sh on a system with no pkg-config (eg cygwin)

You'll see this error:
./configure: line 22737: syntax error near unexpected token `FREETYPE,'
./configure: line 22737: `PKG_CHECK_MODULES(FREETYPE, freetype2,'

While a system missing pkg-config is probably going to have lots of problems,
its helpful to test for it and print an appropriate error if its missing. The
attached patch does this.


-- 
Configure bugmail: http://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