emacs-devel
[Top][All Lists]
Advanced

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

Re: GTK patches part 1


From: Jan D.
Subject: Re: GTK patches part 1
Date: Mon, 9 Dec 2002 17:27:31 +0100 (MET)

> 
> Miles Bader <address@hidden> writes:
> 
> > --with-x-toolkit is better though, because it makes explicit the fact that
> > GTK and the other supported toolkits are mutually exclusive.  Perhaps the
> > programs you're thinking of can only use one GUI toolkit, which is enabled
> > using --with-gtk?
> 
> One important thing about --with-gtk is that it's really
> --with-gtk=/path, which allows you to specify which gtk to use.
> (--with-gtk is a degenerate case which says use gtk wherever you can
> find it.)
> 
> Maybe --with-gtk should continue to specify where to find gtk, and
> --with-x-toolkit=gtk can turn on gtk?  But it seems annoying to have
> to specify --with-x-toolkit=gtk if you're already specifying a gtk
> path.

What I saw from gnome2 and the likes, the preferred thing seems to use
--with-pkg-config-prog=/path/to/pkg_config and get the paths from that
program.  I've added --with-pkg-config-prog in configure.in.
I think that --with-gtk=/path was the GTK 1.x way to specify paths.  GTK 2.x
requires pkg_config.  pkg_config is a bit easier to handle, as it
sets all the libraries, ldflags and cflags correct, as opposed to have
configure look for required libraries.

        Jan D.




reply via email to

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