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#5800: remove LIBS_DEBUG and C_DEBUG_SWITCH Date: Mon, 29 Mar 2010 15:00:18 -0700 Message-ID: <201003292200.o2TM0IBE003041@corvus.hq.tensilica.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: dough.gmane.org 1269901587 21946 80.91.229.12 (29 Mar 2010 22:26:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2010 22:26:27 +0000 (UTC) To: 5800@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 00:26:23 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 1NwNPZ-00016o-Qy for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 00:26:22 +0200 Original-Received: from localhost ([127.0.0.1]:34523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwNPZ-0006nN-5k for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Mar 2010 18:26:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwNPU-0006mw-KD for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:16 -0400 Original-Received: from [140.186.70.92] (port=45213 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwNPO-0006mm-HR 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 1NwNPM-00038I-Q3 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48546) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwNPM-00038E-N4 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:26:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NwN5u-00054G-7N; 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 5800 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.126990035819465 (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:58 +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 1NwN5p-00053t-7q 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 1NwN1U-00051L-GR for submit@debbugs.gnu.org; Mon, 29 Mar 2010 18:01:29 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40509) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NwN1Q-00015B-4b for submit@debbugs.gnu.org; Mon, 29 Mar 2010 18:01:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwN1P-0006uj-7k for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:23 -0400 Original-Received: from [140.186.70.92] (port=51858 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwN1C-0006aV-81 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwN10-0006XP-NA for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:01:10 -0400 Original-Received: from mailgw.tensilica.com ([65.119.96.134]:50945) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwN10-0006To-I3 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2010 18:00:58 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by mailgw.tensilica.com (Postfix) with ESMTP id 00EBE1160819 for ; Mon, 29 Mar 2010 22:00:37 +0000 (UTC) Original-Received: from mailgw.tensilica.com ([127.0.0.1]) by localhost (mailgw.tensilica.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 29350-05 for ; Mon, 29 Mar 2010 15:00:36 -0700 (PDT) Original-Received: from mail.tensilica.com (mail.tensilica.com [192.168.15.138]) by mailgw.tensilica.com (Postfix) with ESMTP id CFD5D1160812 for ; Mon, 29 Mar 2010 15:00:23 -0700 (PDT) Original-Received: from corvus.hq.tensilica.com (192.168.15.29) by exch.hq.tensilica.com (192.168.15.138) with Microsoft SMTP Server (TLS) id 8.1.358.0; Mon, 29 Mar 2010 15:00:23 -0700 Original-Received: (from dann@localhost) by corvus.hq.tensilica.com (8.13.1/8.13.1/Submit) id o2TM0IBE003041; Mon, 29 Mar 2010 15:00:18 -0700 Original-Lines: 15 X-Virus-Scanned: Maia Mailguard 1.0.2a X-detected-operating-system: by eggs.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-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:35801 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.