Re: Update some sim copyright headers to GPLv3-or-later

Ralf Corsepius
2012-12-21T11:38:22Z

On 12/21/2012 10:13 AM, Eli Zaretskii wrote:
>> Date: Fri, 21 Dec 2012 11:44:07 +0400
>> From: Joel Brobecker <brobecker@adacore.com>
>> Cc: gdb-patches@sourceware.org
>>
>> I do seem to have pkg-config installed:
>>
>> % which pkg-config
>> /usr/bin/pkg-config
>> % pkg-config --version
>> 0.26
>>
>> Is that the same tool we are talking about?
>
> Yes.
>
>> pkg-config, I thought, was a tool initially from the Gtk+ project. I
>> would seem strange that aclocal would depend on it.

aclocal doesn't depend on it.

pkg.m4 is distributed by the pkgconfig package and installed to
aclocal's global aclocal directory, from where running aclocal will pick
it up, when you're using it.

i.e. pediantically speaking, not aclocal depends on it, something in gdb
depends on pkgconfig's pkg.m4.

If you want to get rid of this dependency, you can try to append pkg.m4
to an acinclude.m4 next to the configure.ac, which pulling in pkg.m4.

Ralf