Re: added pkg-config script

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: added pkg-config script
Дата
Msg-id 200408222154.24118.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: added pkg-config script  (phoemix@harmless.hu (Czuczy Gergely))
Ответы Re: added pkg-config script  (phoemix@harmless.hu (Czuczy Gergely))
Список pgsql-patches
Czuczy Gergely wrote:
> pkg-config is a relatively new method, but most packages
> (like gtk, silc's debian package, sqlite, alsa, atk, fontconfig,
> freetype2, gdk-*, glib, gthread, libexslt, libpng, openssl, pango,
> sigc++, xft, etc) support it,

That sounds very GNOME-biased, and the list on my machine supports that.
So it's far from universal.

> because it's prefferd, doesn't have
> non-standard behaviour(like php-config, doesn't have --cflags, it has
> --includes instead).

It depends on what you define as standard.  pkg-config doesn't have a
--cppflags option, only --cflags, so I'm already wondering how one can
write correct makefiles with it.

> there are hundred millions of configure script that cannot
> decide how to get postgres' cflags and libs by themselves.

That's nonsense.  pg_config is successfully used to interface to
PostgreSQL libraries.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: phoemix@harmless.hu (Czuczy Gergely)
Дата:
Сообщение: Re: added pkg-config script
Следующее
От: phoemix@harmless.hu (Czuczy Gergely)
Дата:
Сообщение: Re: added pkg-config script