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: Mike Frysinger
Subject: Re: Having trouble using AC_CHECK_LIB
Date: Mon, 2 Mar 2015 15:50:17 -0500

On 02 Mar 2015 08:48, Julian Marchant wrote:
> OK, I see where my confusion is. The makefile gets -lSDL2_image and
> -lSDL2_mixer out of a call to pkg-config. Now I've got to figure out
> why searching for SDL2_mixer is failing... but I've got some things to
> check in that regard.

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.
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

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