Ignore:
Timestamp:
Nov 12, 2006, 2:11:01 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Add a debug() function and a --enable-debug configure flag.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r1285 r1360  
    6363
    6464dnl conditional builds
     65AC_ARG_ENABLE(debug,
     66  [  --enable-debug          build debug versions of the library])
    6567AC_ARG_ENABLE(plugins,
    6668  [  --enable-plugins        build X11 and GL drivers as plugins])
     
    227229AM_CONDITIONAL(USE_KERNEL, test "${ac_cv_my_have_vga}" = "yes")
    228230
     231if test "${enable_debug}" = "yes"; then
     232  AC_DEFINE(DEBUG, 1, Define to 1 to activate debug)
     233fi
     234
    229235if test "${enable_plugins}" = "yes"; then
    230236  ac_cv_my_have_plugins="yes"
Note: See TracChangeset for help on using the changeset viewer.