add trackmemory enable option
This commit is contained in:
parent
4370a01778
commit
4737b97503
15
configure.ac
15
configure.ac
@ -1244,7 +1244,7 @@ fi
|
||||
|
||||
# STACK SIZE info for examples
|
||||
AC_ARG_ENABLE([stacksize],
|
||||
[ --enable-stacksize Enable stack size info on examples (default: disabled)],
|
||||
[AS_HELP_STRING([--enable-stacksize],[Enable stack size info on examples (default: disabled)])],
|
||||
[ ENABLED_STACKSIZE=$enableval ],
|
||||
[ ENABLED_STACKSIZE=no ]
|
||||
)
|
||||
@ -1257,6 +1257,19 @@ then
|
||||
fi
|
||||
|
||||
|
||||
# MEMORY SIZE info
|
||||
AC_ARG_ENABLE([trackmemory],
|
||||
[AS_HELP_STRING([--enable-trackmemory],[Enable memory use info on wolfCrypt and wolfSSL cleanup (default: disabled)])],
|
||||
[ ENABLED_TRACKMEMORY=$enableval ],
|
||||
[ ENABLED_TRACKMEMORY=no ]
|
||||
)
|
||||
|
||||
if test "$ENABLED_TRACKMEMORY" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_TRACK_MEMORY"
|
||||
fi
|
||||
|
||||
|
||||
# MEMORY
|
||||
AC_ARG_ENABLE([memory],
|
||||
[ --enable-memory Enable memory callbacks (default: enabled)],
|
||||
|
@ -265,7 +265,6 @@ static void Usage(void)
|
||||
printf("-d Disable client cert check\n");
|
||||
printf("-b Bind to any interface instead of localhost only\n");
|
||||
printf("-s Use pre Shared keys\n");
|
||||
printf("-t Track wolfSSL memory use\n");
|
||||
printf("-u Use UDP DTLS,"
|
||||
" add -v 2 for DTLSv1, -v 3 for DTLSv1.2 (default)\n");
|
||||
#ifdef WOLFSSL_SCTP
|
||||
|
Loading…
Reference in New Issue
Block a user