[cairo-bugs] [Bug 4723] New: broken configure test for pkgconfig version

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 9 08:47:38 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4723          
     
           Summary: broken configure test for pkgconfig version
           Product: cairo
           Version: 1.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: bsiegert at gmx.de
         QAContact: cairo-bugs at cairographics.org


The check for the pkgconfig version in configure.in is broken. For
pkgconfig versions until 0.17, "Requires" has to be used instead of
"Requires.private". However, the test will never select the older idiom.
The problem is line 470 in configure.in:

case `$PKG_CONFIG --version` in
0.?|0.1[0-7]) PKGCONFIG_REQUIRES="Requires"; ;;
*) PKGCONFIG_REQUIRES="Requires.private"; ;;
esac

The square braces are interpreted as m4 quotes and thus vanish from the
generated configure script. What's more is that the version string has a
third component:

% pkg-config --version
0.15.0

I have noticed that bug #4400 has a patch (id=3494) for this problem.
Please commit this ASAP.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list