Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [PATCH] Fix gtk+-2.0 detection

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Fri, 20 Jul 2007 15:04:22 -0400
Guy Harris wrote:
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

0.15.0

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

This appears to be the case.

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.

Agreed, I just wanted to understand when it changed. Will check it in shortly (when my ./configure actually finishes ;-)).