unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 51480@debbugs.gnu.org
Subject: bug#51480: lib(png|gif|jpeg)-version not defined
Date: Fri, 29 Oct 2021 17:12:07 +0300	[thread overview]
Message-ID: <83fssjrkco.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=aFRqwCkVnSHRkFkUgHsPdbBcv_3n3z-OhYQPJVTWOVA@mail.gmail.com> (message from Stefan Kangas on Fri, 29 Oct 2021 06:54:59 -0700)

> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 29 Oct 2021 06:54:59 -0700
> 
> In image.c, I see the following:
> 
>       DEFSYM (Qlibpng_version, "libpng-version");
>       Fset (Qlibpng_version,
>     #if HAVE_PNG
>             make_fixnum (PNG_LIBPNG_VER)
>     #else
>             make_fixnum (-1)
>     #endif
>             );
>       DEFSYM (Qlibgif_version, "libgif-version");
>       Fset (Qlibgif_version,
>     #ifdef HAVE_GIF
>             make_fixnum (GIFLIB_MAJOR * 10000
>                          + GIFLIB_MINOR * 100
>                          + GIFLIB_RELEASE)
>     #else
>             make_fixnum (-1)
>     #endif
>             );
>       DEFSYM (Qlibjpeg_version, "libjpeg-version");
>       Fset (Qlibjpeg_version,
>     #if HAVE_JPEG
>             make_fixnum (JPEG_LIB_VERSION)
>     #else
>             make_fixnum (-1)
>     #endif
>             );
>     #endif
> 
> But AFAICT, this doesn't really do anything?  I can't find those
> variables, the only one I have is `libgnutls-version'.  So should those
> definitions be DEFVAR's, or am I missing something?

They are only defined on MS-Windows, because they are needed for
loading the correct DLL.  See w32-win.el.





  reply	other threads:[~2021-10-29 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 13:54 bug#51480: lib(png|gif|jpeg)-version not defined Stefan Kangas
2021-10-29 14:12 ` Eli Zaretskii [this message]
2021-10-29 14:33   ` Stefan Kangas

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=83fssjrkco.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=51480@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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).