unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Phillip Lord <phillip.lord@russet.org.uk>
Cc: 45771@debbugs.gnu.org
Subject: bug#45771: 28.0.50; GMP not showing in system-configuration-feature
Date: Sun, 10 Jan 2021 20:19:13 +0200	[thread overview]
Message-ID: <83v9c4fye6.fsf@gnu.org> (raw)
In-Reply-To: <878s90k6l0.fsf@russet.org.uk> (message from Phillip Lord on Sun,  10 Jan 2021 18:08:43 +0000)

> From: Phillip Lord <phillip.lord@russet.org.uk>
> Date: Sun, 10 Jan 2021 18:08:43 +0000
> 
> The string "GMP" is not showing in system-configuration-feature on Emacs
> master branch, even when libgmp has been configured and is reported to
> be in use by configure. Confirmed on builds on both Ubuntu and
> Windows.

I think this is because:

  for opt in XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS \
    GCONF GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT \
    LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS X_TOOLKIT OLDXMENU X11 XDBE XIM \
    NS MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER UNEXEC LCMS2 GMP; do

      case $opt in
	PDUMPER) val=${with_pdumper} ;;
	UNEXEC) val=${with_unexec} ;;
	GLIB) val=${emacs_cv_links_glib} ;;
	NOTIFY|ACL) eval val=\${${opt}_SUMMARY} ;;
	TOOLKIT_SCROLL_BARS|X_TOOLKIT) eval val=\${USE_$opt} ;;
	THREADS) val=${threads_enabled} ;;
	*) eval val=\${HAVE_$opt} ;;
      esac

but we set HAVE_GMP only afterwards:

  if test -z "$GMP_H"; then
    HAVE_GMP=yes
  else
    HAVE_GMP=no
  fi

We need to move the latter before the former.

> As a slightly separate issue, this appears to be the only way of showing
> that libgmp is available for use.

Yes, because if GMP is not available, we have a replacement.





  reply	other threads:[~2021-01-10 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10 18:08 bug#45771: 28.0.50; GMP not showing in system-configuration-feature Phillip Lord
2021-01-10 18:19 ` Eli Zaretskii [this message]
2021-01-11 12:28   ` Robert Pluim
2021-01-11 15:31     ` Eli Zaretskii

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=83v9c4fye6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=45771@debbugs.gnu.org \
    --cc=phillip.lord@russet.org.uk \
    /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).