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:21:21 +0100 (MET)

> 
> On Mon, Dec 09, 2002 at 01:44:03PM +0100, Jan D. wrote:
> > I don't understand why HAVE_GTK needs to be in config.in.  Can you
> > explain?
> 
> Because autoconf will never insert a define itself (into config.h), it needs
> a template to modify, which in the case of emacs is src/config.in.  Surely
> you needed to do this yourself, to compile anything!

I did edit config.in manually and then promptly forgot about it.
I didn't realize it was a generated file.


> > >  (4) It looks like the user has to give the `--with-gtk' option to
> > >      configure to enable GTK.  I think using `--with-x-toolkit=gtk'
> > >      would be more correct, at least from a user's perspective.
> > 
> > I just selected what other GTK programs seems to use.  In theory GTK
> > can run on other platforms than X (not this port though), But I can switch
> > (or have both?) if thats desired.
> 
> Well, if it's some sort of standard, then I suppose you could support both.
> 
> --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?

It may be so.  I can hardly call it standard, the only program I remember
right now is xscreensaver.  I'll change to --with-x-toolkit=gtk.

        Jan D.




reply via email to

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