From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51480: lib(png|gif|jpeg)-version not defined Date: Fri, 29 Oct 2021 17:12:07 +0300 Message-ID: <83fssjrkco.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13963"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51480@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 29 16:14:01 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgSds-0003NA-Gw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Oct 2021 16:14:00 +0200 Original-Received: from localhost ([::1]:60462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgSdq-0006SV-N5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Oct 2021 10:13:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgScw-0005iA-7d for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2021 10:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgScv-0005sd-UH for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2021 10:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgScv-0004sK-NH for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2021 10:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Oct 2021 14:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51480 X-GNU-PR-Package: emacs Original-Received: via spool by 51480-submit@debbugs.gnu.org id=B51480.163551675218694 (code B ref 51480); Fri, 29 Oct 2021 14:13:01 +0000 Original-Received: (at 51480) by debbugs.gnu.org; 29 Oct 2021 14:12:32 +0000 Original-Received: from localhost ([127.0.0.1]:55494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgScS-0004rS-Eb for submit@debbugs.gnu.org; Fri, 29 Oct 2021 10:12:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgScN-0004rA-QA for 51480@debbugs.gnu.org; Fri, 29 Oct 2021 10:12:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgScI-0005ma-EP; Fri, 29 Oct 2021 10:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+fB5hmxgYENAZsbrjP4Bnt2RSG2m2A6AxuZU/ioXGgg=; b=LbZjnmldWITF prEdz5Jbcq8CKJTPK/kmOCRXnZEtg3cmJteHv6WZRUpEESCyng8whQ1rnjtTLAoEMwh5efwyZDFTQ Obq2lOb45n2aga5OSGrHHW3Ol91sX/2rvZLsL/n99ab444xW+1svnG/1wr6UABzPdixmTVa08WlHB XMGl8CKr5eJYy0fsi2FzUyIgXjK+cjCFZYs51i8IwTdOUucyuzOPD1QsV+nO/ZxZksF7N3S7bgZ+N xD2jotstZ8kHSUxvyQ2ot9NWi9y+Ls7oZN9D5rotrWdI/ZH/Et4xfjGwZj/rJZ6OzhIKmlGUNxV8u zvbphZNfNgGNp4QBcD82sQ==; Original-Received: from [87.69.77.57] (port=1446 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgScH-00077W-2L; Fri, 29 Oct 2021 10:12:22 -0400 In-Reply-To: (message from Stefan Kangas on Fri, 29 Oct 2021 06:54:59 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218556 Archived-At: > From: Stefan Kangas > 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.