Wireshark-dev: Re: [Wireshark-dev] [PATCH] Fix gtk+-2.0 detection
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 20 Jul 2007 11:50:03 -0700
Jess Balint wrote:
On Fri, Jul 20, 2007 at 02:26:14PM -0400, Jeff Morriss wrote:
Jess Balint wrote:
The aclocal-fallback files have the arguments in an order that does not
work (for pkg-config). see attached patch
Is this a new or old GTK?  It works for me no matter the order:

Not for me, hence the fix. It's also first in other spots.

Ex.

	pkg-config --version
	0.20

Jeff, what does "pkg-config --version" report on the system where you saw that it worked OK in either order? It might either be that

1) they changed pkg-config to require a particular order in a version later than the one you have

or

2) they changed pkg-config not to require a particular order in a version earlier than the one you have.

In either case, always using the order that some versions of pkg-config require will work with versions that require that order and versions that don't, while using the other order will only work with versions of pkg-config that don't require a particular order, so we should check in the patch regardless.