configure.ac
changeset 692 fe7cf37c33f1
parent 686 ca85fe008581
child 701 aac472ccd54c
equal deleted inserted replaced
691:77b79a29e0e7 692:fe7cf37c33f1
   364 
   364 
   365 if test "x${dbg}" = "x1"; then
   365 if test "x${dbg}" = "x1"; then
   366     AC_DEFINE([EC_DEBUG_IF], [1], [Debug interfaces enabled])
   366     AC_DEFINE([EC_DEBUG_IF], [1], [Debug interfaces enabled])
   367 fi
   367 fi
   368 AM_CONDITIONAL(ENABLE_DEBUG_IF, test "x$dbg" = "x1")
   368 AM_CONDITIONAL(ENABLE_DEBUG_IF, test "x$dbg" = "x1")
       
   369 
       
   370 #------------------------------------------------------------------------------
       
   371 # Debug ring
       
   372 #------------------------------------------------------------------------------
       
   373 
       
   374 AC_ARG_ENABLE([debug-ring],
       
   375     AS_HELP_STRING([--enable-debug-ring],
       
   376                    [Create a debug ring to record frames @<:@NO@:>@]),
       
   377     [
       
   378         case "${enableval}" in
       
   379             yes) debugring=1
       
   380                 ;;
       
   381             no) debugring=0
       
   382                 ;;
       
   383             *) AC_MSG_ERROR([Invalid value for --enable-debug-ring])
       
   384                 ;;
       
   385         esac
       
   386     ],
       
   387     [debugring=0]
       
   388 )
       
   389 
       
   390 if test "x${debugring}" = "x1"; then
       
   391     AC_DEFINE([EC_DEBUG_RING], [1], [Debug ring enabled])
       
   392 fi
   369 
   393 
   370 #------------------------------------------------------------------------------
   394 #------------------------------------------------------------------------------
   371 # Dummy master module
   395 # Dummy master module
   372 #------------------------------------------------------------------------------
   396 #------------------------------------------------------------------------------
   373 
   397