You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/09/19 13:53:20 UTC

[jira] [Created] (SVN-4655) configure: add zlib discovery through pkg-config

Michael Osipov created SVN-4655:
-----------------------------------

             Summary: configure: add zlib discovery through pkg-config
                 Key: SVN-4655
                 URL: https://issues.apache.org/jira/browse/SVN-4655
             Project: Subversion
          Issue Type: Improvement
          Components: compile, install
    Affects Versions: 1.9.4, 1.10.0
         Environment: HP-UX 11.31
            Reporter: Michael Osipov


{{configure}} does not find zlib even if {{--with-zlib=/path...}} is provided because {{$zlib_prefix/lib}} does not exist on HP-UX but only {{$zlib_prefix/lib/hpux32}}. By using {{pkg-config}} this can actually easily solved.

See attached patch which fixes the issue by probing provided prefix, if not try {{pkg-config}} and builtin. The idea was borrowed from {{serf.m4}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)