hashashin at gmail.com
Sun Oct 22 14:41:25 PDT 2006
On 10/22/06, Tollef Fog Heen <tfheen at err.no> wrote:
> * "Alberto Simões"
> | I use pkg-config for some time, but noticed something today that I
> | think it wasnt before. Anyway, I am using
> | PKG_CHECK_MODULES([GLIB], [glib-2.0])
> | and the output in the configure script is:
> | checking for GLIB...
> | It shouldn't be:
> | checking for glib-2.0 ?
> Arguably, yes. The problem with that is when people start embedding
> newlines and it quickly looks fairly ugly with:
> checking for gtk+-2.0 >= 2.6
> pygtk-2.0 >= 2.6
> pygobject-2.0 >= 2.6
> gnome-python-2.0 >= 2.10
> gnome-desktop-2.0 >= 2.10...
> Yes, it could be collapsed to something like:
> checking for gtk+-2.0 >= 2.6 pygtk-2.0 >= 2.6 pygobject-2.0 >= 2.6
> gnome-python-2.0 >= 2.10 gnome-desktop-2.0 >= 2.10
> but it's not that much more readable.
I see your point. I would prefer this last option compared to the
current one, but probably is just me. I'll give a quick look to the
macro and check if I have any idea for a patch.
More information about the pkg-config