Re: Having trouble using AC_CHECK_LIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 2, 2015 at 6:14 PM, Julian Marchant <onpon4@xxxxxxxxxx> wrote:
> On 03/02/2015 03:50 PM, Mike Frysinger wrote:
>> if the libraries provide pkg-config files, you should use those
>> instead of probing things directly with AC_CHECK_LIB.  i.e. use the
>> PKG_CHECK_MODULES macro instead.
>
> It doesn't; it just does this:
>
>     LIBS = `pkg-config --libs sdl2 SDL2_image SDL2_mixer`

If this works, PKG_CHECK_MODULES will work too; that's what Mike was
trying to say.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux