From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#19346: 25.0.50; url-http-parse-headers: Symbol's function definition is void: gnutls-available-p Date: Thu, 11 Dec 2014 17:58:36 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <878uid4wv7.fsf@lifelogs.com> References: <87mw6uxxma.fsf@sealion.lowtem.hokudai.ac.jp> <831to6t6c2.fsf@gnu.org> <87sigm3r48.fsf@lifelogs.com> <83ppbpsxtu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418338705 8777 80.91.229.3 (11 Dec 2014 22:58:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 22:58:25 +0000 (UTC) Cc: hi@yagnesh.org, 19346@debbugs.gnu.org, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 23:58:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzCgb-0004HO-2B for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 23:58:17 +0100 Original-Received: from localhost ([::1]:54567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzCga-000097-LO for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 17:58:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzCgS-00008k-3S for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 17:58:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzCgM-000219-PE for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 17:58:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzCgM-00020y-Lz for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 17:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XzCgM-0001Ak-8J for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 17:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Dec 2014 22:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 19346-submit@debbugs.gnu.org id=B19346.14183386704489 (code B ref 19346); Thu, 11 Dec 2014 22:58:02 +0000 Original-Received: (at 19346) by debbugs.gnu.org; 11 Dec 2014 22:57:50 +0000 Original-Received: from localhost ([127.0.0.1]:43311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzCgA-0001AL-6M for submit@debbugs.gnu.org; Thu, 11 Dec 2014 17:57:50 -0500 Original-Received: from mail-qg0-f42.google.com ([209.85.192.42]:37717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzCg7-0001A8-VU for 19346@debbugs.gnu.org; Thu, 11 Dec 2014 17:57:48 -0500 Original-Received: by mail-qg0-f42.google.com with SMTP id q108so2581447qgd.15 for <19346@debbugs.gnu.org>; Thu, 11 Dec 2014 14:57:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=JhIgLrDeZR/ScCs2MT1DrrGb7CQuz1hdqrorYVDvuhY=; b=IdFnzG278t3lAZqUd5ZiDLzQdgmMJq5nprAO9ltG+k2te/VgAZO7CFojki4NUFc4YT ZRnGhy3lYDJiaxqasShFe+kgfxHAZjnyDxVSUiKrzrHlOgOKzzkX8QPn4ENrDB/ZYiz6 +AnGWxUKOovrH02p3JGiy1I/w2Dk8FamLvMZc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JhIgLrDeZR/ScCs2MT1DrrGb7CQuz1hdqrorYVDvuhY=; b=HuNkXHT0WiGRISvyjwaGSTNFjt+9wjF1BLKFwwAA0GmD9CRov3wmOSUQNBPwwqdPoE UYa+Y4wxsGFvcIxEO7kBCzoZyo2wlHDEVEbX45kWsHaJtkB3HjqN2PIWqx0phdebt61I ISD8eubhGJJTIXIeyDOra85BYY7YhgS2CIfJmlGz/jhWGwNc4LByzwiN4BOi5IeeG0/5 GbT+9nBhF01CSBHcPMulvaA0FHElcRyYC4UJSUZ32u2Fu6dkGHKqMNP4j5U+xNIpTXwV GMlLO0rrJ3rIXIWHfZ/JsiqfYsZml7ys6+YaLE44pP7ah64oOUfXTPMLzS0Yhwr4EWJ8 HerA== X-Gm-Message-State: ALoCoQnc/1Xe5w8IN/5ej7bQWfnUKtcFjsfagn/FbSYhosq8+LrnkRINOEsIVlqienZcPn6lmMsh X-Received: by 10.140.90.47 with SMTP id w44mr23701186qgd.4.1418338662448; Thu, 11 Dec 2014 14:57:42 -0800 (PST) Original-Received: from flea (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id j108sm2373561qgj.22.2014.12.11.14.57.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Dec 2014 14:57:41 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83ppbpsxtu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Dec 2014 23:03:57 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97234 Archived-At: On Thu, 11 Dec 2014 23:03:57 +0200 Eli Zaretskii wrote: EZ> In gnutls.c, of course. All right, fixed in emacs-24 and can be merged forward to master: commit 301a4014a72964a8ec0078055c273d045d94fe42 Author: Ted Zlatanov Date: Thu Dec 11 17:55:36 2014 -0500 Always define `gnutls-available-p' even if GnuTLS is not available. Fixes: debbugs:19346 * gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for clarity. Let the availability check return Qnil when the GnuTLS integration is not available, instead of erroring out. * gnutls.h: Always declare syms_of_gnutls. * emacs.c (main): Always include gnutls.h and run syms_of_gnutls. Lars, you can revert your patch if you want, after this is merged in. EZ> The generic solution is for the code that links to each module to EZ> provide the function, and for the module to provide the value. EZ> This is all part of the "protocol" between Emacs and the modules, EZ> which includes a header file, an import library, and a bunch of EZ> interfaces each module needs to implement. OK. I'll keep this in mind for when we get to that point. It makes a lot of sense. Thanks Ted