emacs-devel
[Top][All Lists]
Advanced

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

Re: problem with openning emacs after installation of emacs-22.1


From: Stefan Monnier
Subject: Re: problem with openning emacs after installation of emacs-22.1
Date: Tue, 19 Jun 2007 10:09:49 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> > We could probably use some heuristics: if DISPLAY is set, and/or if
> > X11 runtime libraries appear available and/or an executable named X
> > (the last probably being most reliable and easy to check), then we'll
> > barf unless the user explicitly says -without-X11.

Looking at DISPLAY sounds like a bad idea to me.  It seems sufficient to
look for the runtime libraries.

> However, we must be careful about handling this for cross-compilation.
> In cross compilation, you can't assume that DISPLAY or presence of
> runtime libs or presence of an X executable says anything about the
> target environment.

> This, for cross-compilation we should arrange to handle these issues
> in one of the following three ways:

> * The old way: enable the feature if the development is present
> or --with-x is given.

> * Manual: enable only if --with-x is given.

> * Enable by default, and disable only if --with-no-x is given.

I'd vote for "the old way" without any doubt whatsoever.  People who do
cross-compilation expect this kind of behavior from a configuration script.
At least I do when I cross-compile packages.


        Stefan




reply via email to

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