autoconf
[Top][All Lists]
Advanced

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

Re: Having trouble using AC_CHECK_LIB


From: Zack Weinberg
Subject: Re: Having trouble using AC_CHECK_LIB
Date: Mon, 2 Mar 2015 18:19:00 -0500

On Mon, Mar 2, 2015 at 6:14 PM, Julian Marchant <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]