> I have started using autotools for the C++ applications I create (very > much as an amateur). I typically use assert statements during > development, and would disable these by using -DNDEBUG when the release > version is built. How should I configure things so that when a user > installs from the tarball they compile by default with the -DNDEBUG > option? Attached is a macro that I use to enable/disable debugging via configure time option. Contrary to the header, it is not in the autoconf macro archive. Feedback welcome. - Rhys
Attachment:
ax_check_enable_debug.m4
Description: application/m4
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf