From: John Yates <john@yates-sheets.org>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Interpreting configure script's results
Date: Fri, 31 Dec 2021 15:08:50 -0500 [thread overview]
Message-ID: <CAJnXXohTTg8Wj9oAuPDOH_Rw80+Z=HcH3ob7+f6UUa1EcCFpRw@mail.gmail.com> (raw)
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
next reply other threads:[~2021-12-31 20:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-31 20:08 John Yates [this message]
2021-12-31 20:30 ` Interpreting configure script's results Eli Zaretskii
2021-12-31 20:37 ` Eli Zaretskii
2022-01-01 0:10 ` Po Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJnXXohTTg8Wj9oAuPDOH_Rw80+Z=HcH3ob7+f6UUa1EcCFpRw@mail.gmail.com' \
--to=john@yates-sheets.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).