find libxml2 using pkg-config

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема find libxml2 using pkg-config
Дата
Msg-id 1358164265.29612.7.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: find libxml2 using pkg-config  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: find libxml2 using pkg-config  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
In multi-arch OS installations, using a single foo-config script to find
libraries is problematic, because you don't know which architecture it
will point to, and you can't choose which one you want.  Using
pkg-config is better in that situation, because you can use its
environment variables to point to your preferred version
of /usr/lib*/pkgconfig or similar.

In configure, we use xml2-config and pthread-config.  The latter doesn't
exist on my system, so I'm just dealing with xml2-config now.

The attached patch looks for pkg-config first, and finds libxml2 using
that if available.  Otherwise it falls back to using xml2-config.


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pg_ctl idempotent option
Следующее
От: Peter Eisentraut
Дата:
Сообщение: passing diff options to pg_regress