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

Re: libgtk-dev bug?



On Wed, Jul 29, 1998 at 12:07:41PM -0400, Raul Miller wrote:
> Paolo Molaro <lupus@lettere.unipd.it> wrote:
> > What is easier than gcc stuff.c -o stuff `gtk-config --cflags --libs`?
> > Look, ma! No autoconf:-)
> 
> This means that, if you install something in the middle of a build,
> you won't have a consistent configuration.  That means that you can't
> safely share a machine which is compiling these kinds of programs.
> 
> Doesn't look like a fatal flaw, though: you can easily cache the
> result from gtk-config.  [Or can you?  I've not mucked around with these
> programs, and have not verified for myself that caching this result works.
> Nor have I verified that gtk-config doesn't do such caching on its own.]

In the makefile use:

LIBS = $(shell gtk-config --libs)
FLAGS = $(shell gtk-config --cflags)

and later use $(LIBS) and $(FLAGS).

lupus

-- 
"The number of UNIX installations has grown to 10, with more expected."
    - _The UNIX Programmer's Manual_, Second Edition, June, 1972.


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: