cofigure: fix --disable-clear-memory check
This commit is contained in:
parent
3d3347c062
commit
22bd8d81d8
@ -202,7 +202,7 @@ fi
|
|||||||
AC_ARG_ENABLE(clear-memory,
|
AC_ARG_ENABLE(clear-memory,
|
||||||
AC_HELP_STRING([--disable-clear-memory],[Disable clearing of memory before being freed]),
|
AC_HELP_STRING([--disable-clear-memory],[Disable clearing of memory before being freed]),
|
||||||
[CLEAR_MEMORY=$enableval])
|
[CLEAR_MEMORY=$enableval])
|
||||||
if test "$CLEAR_MEMORY" != "no"; then
|
if test "$CLEAR_MEMORY" = "yes"; then
|
||||||
if test "$support_clear_memory" = "yes"; then
|
if test "$support_clear_memory" = "yes"; then
|
||||||
AC_DEFINE(LIBSSH2_CLEAR_MEMORY, 1, [Enable clearing of memory before being freed])
|
AC_DEFINE(LIBSSH2_CLEAR_MEMORY, 1, [Enable clearing of memory before being freed])
|
||||||
enable_clear_memory=yes
|
enable_clear_memory=yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user