Ignore:
Timestamp:
Feb 7, 2011, 9:21:48 PM (9 years ago)
Author:
sam
Message:

Define _DEBUG when configure is called with --enable-debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r253 r421  
    4040
    4141AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h)
     42
     43if test "${enable_debug}" = "yes"; then
     44  AC_DEFINE(_DEBUG, 1, Define to 1 to activate debug)
     45fi
    4246
    4347# Optimizations
Note: See TracChangeset for help on using the changeset viewer.