Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0bc8ceb

Browse files
committed
Use pkg-config, if available, to locate libxml2 during configure.
If pkg-config is installed and knows about libxml2, use its informationrather than asking xml2-config. Otherwise proceed as before. Thispatch allows "configure --with-libxml" to succeed on platforms thathave pkg-config but not xml2-config, which is likely to soon becomea typical situation.The old mechanism can be forced by setting XML2_CONFIG explicitly(hence, build processes that were already doing so will certainlynot need adjustment). Also, it's now possible to set XML2_CFLAGSand XML2_LIBS explicitly to override both programs.There is a small risk of this breaking existing build processes,if there are multiple libxml2 installations on the machine andpkg-config disagrees with xml2-config about which to use. Theonly case where that seems really likely is if a builder has triedto select a non-default xml2-config by putting it early in his PATHrather than setting XML2_CONFIG. Plan to warn against that in theminor release notes.Back-patch to v10; before that we had no pkg-config infrastructure,and it doesn't seem worth adding it for this.Hugh McMaster and Tom Lane; Peter Eisentraut also made an earlierattempt at this, from which I lifted most of the docs changes.Discussion:https://postgr.es/m/CAN9BcdvfUwc9Yx5015bLH2TOiQ-M+t_NADBSPhMF7dZ=pLa_iw@mail.gmail.com
1 parent28e0a10 commit0bc8ceb

File tree

3 files changed

+283
-161
lines changed

3 files changed

+283
-161
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp