all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Interpreting configure script's results
@ 2021-12-31 20:08 John Yates
  2021-12-31 20:30 ` Eli Zaretskii
  2022-01-01  0:10 ` Po Lu
  0 siblings, 2 replies; 4+ messages in thread
From: John Yates @ 2021-12-31 20:08 UTC (permalink / raw)
  To: Emacs developers

Emacs seems to be rapidly acquiring dependencies on separate libraries.
Those listed as --without-xyz in the configure script's help appear to enable
uncontroversial additional capabilities that do not need to be requested
explicitly.  I contrast those with the --with-xyz options.

I build emacs on Ubuntu where I need to install a -dev package for emacs
to link against a library.  When configure displays its summary table I try
to understand the reason for any 'no' result.  Sometimes it is fairly obvious.
So recently when I saw

    Does Emacs use -lsqlite3?  no

I knew immediately that, even though I already had sqlite3 installed, I had
to add libsqlite3-dev.

Now consider that configure's help text shows

    --with-imagemagick      compile with ImageMagick image support
    --without-native-image-api
                          don't use native image APIs (GDI+ on Windows)

I take these to mean that one normally should not request Imagemagick
and that native image APIs will be used by default.  I use no version of
either of these options in my configuration.  My resulting summary is

    Does Emacs use imagemagick?  no
    Does Emacs use native APIs for images?  no

I expected the first 'no' and assumed that I should resolve the second.
But for the life of me I cannot figure out what -dev package is missing.
I have skimmed the configure script and have concluded that these
native APIs are available only on ns, w32 and haiku.  Does this mean
that image functionality is not supported on these three platforms? Do
I need to add --with-imagemagick?

Suggestion: Could configure's output be made more informative?
In particular, when some expected capability fails to be included
for lack of some header could that be called out?

/john



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-01  0:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-31 20:08 Interpreting configure script's results John Yates
2021-12-31 20:30 ` Eli Zaretskii
2021-12-31 20:37   ` Eli Zaretskii
2022-01-01  0:10 ` Po Lu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.