mirror of https://github.com/wolfSSL/wolfssh.git
Merge pull request #327 from danielinux/wolfssh_small_stack
Added option for --enable-small-stackpull/329/head
commit
12b6a0e6d8
|
@ -123,6 +123,11 @@ AC_ARG_ENABLE([agent],
|
|||
[AS_HELP_STRING([--enable-agent],[Enable ssh-agent support (default: disabled)])],
|
||||
[ENABLED_AGENT=$enableval],[ENABLED_AGENT=no])
|
||||
|
||||
# smallstack
|
||||
AC_ARG_ENABLE([smallstack],
|
||||
[AS_HELP_STRING([--enable-smallstack],[Enable small stack (default: disabled)])],
|
||||
[ENABLED_SMALLSTACK=$enableval],[ENABLED_SMALLSTACK=no])
|
||||
|
||||
# Enable All
|
||||
AC_ARG_ENABLE([all],
|
||||
[AS_HELP_STRING([--enable-all],[Enable all wolfSSH features (default: disabled)])],
|
||||
|
@ -155,6 +160,8 @@ AS_IF([test "x$ENABLED_PTERM" = "xyes"],
|
|||
AS_IF([test "x$ENABLED_SHELL" = "xyes"],
|
||||
[AM_CPPFLAGS="$AM_CPPFLAGS -DWOLFSSH_SHELL"])
|
||||
AS_IF([test "x$ENABLED_AGENT" = "xyes"],[AM_CPPFLAGS="$AM_CPPFLAGS -DWOLFSSH_AGENT"])
|
||||
AS_IF([test "x$ENABLED_SMALLSTACK" = "xyes"],
|
||||
[AM_CPPFLAGS="$AM_CPPFLAGS -DWOLFSSH_SMALL_STACK"])
|
||||
|
||||
# Set the automake conditionals.
|
||||
AM_CONDITIONAL([BUILD_EXAMPLE_SERVERS],[test "x$ENABLED_EXAMPLES" = "xyes"])
|
||||
|
@ -201,6 +208,7 @@ AS_ECHO([" * Linker Flags: $LDFLAGS"])
|
|||
AS_ECHO
|
||||
AS_ECHO([" Features"])
|
||||
AS_ECHO([" * Inline Code: $ENABLED_INLINE"])
|
||||
AS_ECHO([" * Small stack: $ENABLED_SMALLSTACK"])
|
||||
AS_ECHO([" * keygen: $ENABLED_KEYGEN"])
|
||||
AS_ECHO([" * psuedo-terminal: $ENABLED_PTERM"])
|
||||
AS_ECHO([" * echoserver shell support: $ENABLED_SHELL"])
|
||||
|
|
668
src/internal.c
668
src/internal.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue