GNU bug report logs - #62485
Improve build system and make "real" defaults

Previous Next

Package: emacs;

Reported by: Bug gnu emacs <bug-gnu-emacs <at> gnu.org>

Date: Mon, 27 Mar 2023 15:45:05 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62485: closed (Improve build system and make "real" defaults)
Date: Mon, 27 Mar 2023 16:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Mar 2023 19:08:06 +0300
with message-id <83wn3289eh.fsf <at> gnu.org>
and subject line Re: bug#62485: Improve build system and make "real" defaults
has caused the debbugs.gnu.org bug report #62485,
regarding Improve build system and make "real" defaults
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62485: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62485
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: c.buhtz <at> posteo.jp
To: Bug gnu emacs <bug-gnu-emacs <at> gnu.org>
Subject: Improve build system and make "real" defaults
Date: Mon, 27 Mar 2023 13:44:19 +0000
Hello,

I was told that sqlite3 support is enabled by default when building 
Emacs29. Is it or is it not?
If not then I'm wrong with this issue report. Maybe I did something 
wrong.

Based on my own experience it seems to me that it depends on the fact if 
lib-sqlite3-dev is installed or not.

When the lib is not installed and I don't set an explicite sqlite3 
switch in the make-configure-build-system it build runs successfully 
without any warning or error. You see?! Sqlite is not default.

If you want to make it default then inform the user about missing 
sqlite-lib in all cases and not only if the --with-sqlite switch is set 
by the user.

The same stands for all other switches.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Bug gnu emacs <bug-gnu-emacs <at> gnu.org>
Cc: 62485-done <at> debbugs.gnu.org
Subject: Re: bug#62485: Improve build system and make "real" defaults
Date: Mon, 27 Mar 2023 19:08:06 +0300
> Date: Mon, 27 Mar 2023 13:44:19 +0000
> From: c.buhtz <at> posteo.jp
> 
> Hello,
> 
> I was told that sqlite3 support is enabled by default when building 
> Emacs29. Is it or is it not?

Emacs builds with sqlite support if you have the sqlite3 library
installed.

> Based on my own experience it seems to me that it depends on the fact if 
> lib-sqlite3-dev is installed or not.

Yes.

> When the lib is not installed and I don't set an explicite sqlite3 
> switch in the make-configure-build-system it build runs successfully 
> without any warning or error. You see?! Sqlite is not default.

Who told you it was the default?  The file NEWS says:

  +++
  ** Emacs can be built with built-in support for accessing SQLite databases.
  This uses the popular sqlite3 library, and can be disabled by using
  the '--without-sqlite3' option to the 'configure' script.

> If you want to make it default then inform the user about missing 
> sqlite-lib in all cases and not only if the --with-sqlite switch is set 
> by the user.

That is not how we define the optional dependencies.  We only do that
for dependencies without which Emacs will be much less powerful or
performant.  Most optional dependencies are not of this kind: Emacs
can be entirely functional without SQLite support.

This is not a bug.

Closing.


This bug report was last modified 2 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.