Re: How to enable/disable my debug code?

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

 



>> 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?

> Of course you can write (or find and copy) some Autoconf M4 code to
> do some or all of the above automatically depending on the presence
> of configure options like:
>
>  ./configure --enable-debug

Attached is a macro that provides logic similar to what was described.
Hope it helps.  The header information is wrong in that it does not
exist in that particular m4 archive-- I need to submit these changes
but haven't gotten the chance.

- Rhys

Attachment: ax_check_enable_debug.m4
Description: Binary data

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux