Re: magick/GraphicsMagick.pc.in in 1.1.2

Bob Friesenhahn <[email protected]> Thu, 22 Jul 2004 14:02:43 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Thu, 22 Jul 2004, Albert Chin wrote:

> Why do you have the following in magick/GraphicsMagick.pc.in:
>  Libs: @MAGICK_API_LDFLAGS@ @MAGICK_API_LIBS@
>  Cflags: @MAGICK_API_CPPFLAGS@
>
> The standard would be:
>  Libs: -L${libdir} -lGraphicsMagick
>  Cflags: -I${includedir}

Wouldn't that constrain the dependent application so that it must be 
installed using the same prefix as GraphicsMagick?  Or does pkg-config 
expand ${libdir} and ${includedir} automatically while reporting them?

There are some flags added via @MAGICK_API_CPPFLAGS@ which may be 
important.  For example, flags are added for multithread support.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click