Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4655

configure: add zlib discovery through pkg-config

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.4, 1.10.0
    • 1.9.5, trunk
    • compile, install
    • None
    • HP-UX 11.31

    Description

      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.

      Attachments

        1. SVN-4655.patch
          3 kB
          Michael Osipov

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: