[Top][All Lists]

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

Re: imagemagick support on W32

From: Jason Rumney
Subject: Re: imagemagick support on W32
Date: Sat, 02 Oct 2010 11:31:35 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

address@hidden writes:

> Im not really sure, but from reading image.c it seems that on non w32
> plattforms the library stubs are just compiled in and called directly,
> which means not having the library there would be runtime linkage error.
> On w32 something different seems to happen, but no real effort seems to
> be done to avoid errors if the desired library isnt there. I might be
> wrong.

If the desired library is not there, then image-type-available-p will
return nil for that image type (as if the library support were not
compiled in). That should be sufficient to avoid errors.

On other platforms, a missing library will result in Emacs failing to
start, but since modern GNU/Linux systems have good packaging tools that
resolve dependencies well, this shouldn't be a problem (and it shouldn't
be a problem for users who compile Emacs themselves unless they later
remove a library that was there before).

reply via email to

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