autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to enable/disable my debug code?


From: narke
Subject: How to enable/disable my debug code?
Date: Wed, 27 Jul 2011 13:56:11 +0800

Hi,

With a same set of autoconf/automake files, how to I distribute my
program that allows user to build it with or without debug code
enabled?  In my code, there are something like below:

#if (__MY_DEBUG__)
 ...
#endif

Thanks in advance.


-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]