Subject: bug#5801 closed by Dan Nicolaescu <[email-masked]> (Re: bug#5801: remove LIBS_DEBUG and C_DEBUG_SWITCH)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 30 Mar 2010 15:41:02 +0000

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#5801: remove LIBS_DEBUG and C_DEBUG_SWITCH

It has been closed by Dan Nicolaescu <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Dan Nicolaescu <[email-masked]> by
replying to this email.

-- 
5801: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5801
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#5801: remove LIBS_DEBUG and C_DEBUG_SWITCH
From: Dan Nicolaescu <[email-masked]>
To: [email-masked]
Date: Tue, 30 Mar 2010 11:40:30 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

done

Subject: remove LIBS_DEBUG and C_DEBUG_SWITCH
From: Dan Nicolaescu <[email-masked]>
To: [email-masked]
Date: Mon, 29 Mar 2010 18:01:23 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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.