mirror of https://github.com/wolfSSL/wolfssl
switch --enable-noInline to enable/disable-inline to match all others
This commit is contained in:
parent
975ffe693b
commit
129de03da0
15
configure.ac
15
configure.ac
|
@ -911,19 +911,19 @@ else
|
|||
fi
|
||||
|
||||
|
||||
# No inline Build
|
||||
AC_ARG_ENABLE([noInline],
|
||||
[ --enable-noInline Enable No inline (default: disabled)],
|
||||
[ ENABLED_NOINLINE=$enableval ],
|
||||
[ ENABLED_NOINLINE=no ]
|
||||
# inline Build
|
||||
AC_ARG_ENABLE([inline],
|
||||
[ --enable-inline Enable inline functions (default: disabled)],
|
||||
[ ENABLED_INLINE=$enableval ],
|
||||
[ ENABLED_INLINE=yes ]
|
||||
)
|
||||
|
||||
if test "$ENABLED_NOINLINE" = "yes"
|
||||
if test "$ENABLED_INLINE" = "no"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DNO_INLINE"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([BUILD_NOINLINE], [test "x$ENABLED_NOINLINE" = "xyes"])
|
||||
AM_CONDITIONAL([BUILD_INLINE], [test "x$ENABLED_INLINE" = "xyes"])
|
||||
|
||||
|
||||
# OCSP
|
||||
|
@ -1081,6 +1081,7 @@ AC_ARG_ENABLE([examples],
|
|||
|
||||
AS_IF([test "x$ENABLED_SINGLETHREADED" = "xyes"], [ENABLED_EXAMPLES="no"])
|
||||
AS_IF([test "x$ENABLED_FILESYSTEM" = "xno"], [ENABLED_EXAMPLES="no"])
|
||||
AS_IF([test "x$ENABLED_INLINE" = "xno"], [ENABLED_EXAMPLES="no"])
|
||||
# certs still have sha signatures for now
|
||||
AS_IF([test "x$ENABLED_SHA" = "xno"], [ENABLED_EXAMPLES="no"])
|
||||
AM_CONDITIONAL([BUILD_EXAMPLES], [test "x$ENABLED_EXAMPLES" = "xyes"])
|
||||
|
|
|
@ -103,7 +103,7 @@ if BUILD_RABBIT
|
|||
src_libcyassl_la_SOURCES += ctaocrypt/src/rabbit.c
|
||||
endif
|
||||
|
||||
if BUILD_NOINLINE
|
||||
if !BUILD_INLINE
|
||||
src_libcyassl_la_SOURCES += ctaocrypt/src/misc.c
|
||||
endif
|
||||
|
||||
|
|
|
@ -222,12 +222,16 @@ static INLINE void ato16(const byte* c, word16* u16)
|
|||
}
|
||||
|
||||
|
||||
#ifdef CYASSL_DTLS
|
||||
|
||||
/* convert opaque to 32 bit integer */
|
||||
static INLINE void ato32(const byte* c, word32* u32)
|
||||
{
|
||||
*u32 = (c[0] << 24) | (c[1] << 16) | (c[2] << 8) | c[3];
|
||||
}
|
||||
|
||||
#endif /* CYASSL_DTLS */
|
||||
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
|
||||
|
|
Loading…
Reference in New Issue