From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#5801: remove LIBS_DEBUG and C_DEBUG_SWITCH Date: Mon, 29 Mar 2010 18:01:23 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269958479 31302 80.91.229.12 (30 Mar 2010 14:14:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 14:14:39 +0000 (UTC) To: 5801@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 16:14:27 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NwcD3-0002rE-NS for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 16:14:26 +0200 Original-Received: from localhost ([127.0.0.1]:48041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwcD3-0003uF-2B for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 10:14:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwNPU-0006n7-S2 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:16 -0400 Original-Received: from [140.186.70.92] (port=45231 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwNPQ-0006mn-6w for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwNPO-000395-IX for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48547) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwNPO-00038d-1i for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NwN5u-00054M-PQ; Mon, 29 Mar 2010 18:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Mar 2010 22:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126990035919470 (code B ref -1); Mon, 29 Mar 2010 22:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Mar 2010 22:05:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwN5q-00053v-IZ for submit@debbugs.gnu.org; Mon, 29 Mar 2010 18:05:58 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwN1Z-00051M-F9 for submit@debbugs.gnu.org; Mon, 29 Mar 2010 18:01:34 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40548) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NwN1U-00016e-Vp for submit@debbugs.gnu.org; Mon, 29 Mar 2010 18:01:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwN1U-00073B-BU for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:28 -0400 Original-Received: from [199.232.76.173] (port=52424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwN1T-00071v-Qf for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:27 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NwN1Q-00015s-Hn for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:27 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:47493) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NwN1Q-00015f-Ai for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:24 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NwN1P-0006Yt-Rd for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:23 -0400 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 29 Mar 2010 18:05:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Mar 2010 18:06:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 30 Mar 2010 10:12:43 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35806 Archived-At: src/Makefile.in has this: /* Unless inhibited or changed, use -lg to link for debugging. */ #ifndef LIBS_DEBUG #define LIBS_DEBUG -lg #endif All ports that bother to define LIBS_DEBUG just use: #define LIBS_DEBUG -lg has not been in use for a long time so removing it will do no harm. Also any reason not to remove the C_DEBUG_SWITCH knob? If users want to debug emacs, they can edit the Makefile directly, no reason to add yet another variable to the build system.