apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: [PATCH] Add --enable-pool-debug to configure
Date Mon, 14 Jan 2002 19:55:48 GMT
> +AC_ARG_ENABLE(pool-debug,
> +  [  --enable-pool-debug[={yes|verbose}]],
> +  [ if test -z "$enableval" -o "$enableval" = "yes"; then
> +        APR_ADDTO(CPPFLAGS, -DAPR_POOL_DEBUG)
> +    elif test "$enableval" = "verbose"; then
> +        APR_ADDTO(CPPFLAGS, -DAPR_POOL_DEBUG_VERBOSE)
> +    fi
> +  ])
> +

Why not use one APR_POOL_DEBUG symbol and give it values of 0 | 1 | 2 ???

....Roy


Mime
View raw message