add --enable-noInline option for easier testing of it

This commit is contained in:
Todd A Ouska
2011-08-03 10:59:08 -07:00
parent b2b7de1539
commit 3ea834ee2d
3 changed files with 20 additions and 1 deletions

View File

@@ -372,6 +372,21 @@ then
fi
# No inline Build
AC_ARG_ENABLE(noInline,
[ --enable-noInline Enable No inline (default: disabled)],
[ ENABLED_NOINLINE=$enableval ],
[ ENABLED_NOINLINE=no ]
)
if test "$ENABLED_NOINLINE" = "yes"
then
CFLAGS="$CFLAGS -DNO_INLINE"
fi
AM_CONDITIONAL([BUILD_NOINLINE], [test "x$ENABLED_NOINLINE" = "xyes"])
# ECC
AC_ARG_ENABLE(ecc,
[ --enable-ecc Enable ECC (default: disabled)],

View File

@@ -1,5 +1,5 @@
/* ctaocrypt/include/ctc_config.h. Generated from ctc_config.h.in by configure. */
/* ctaocrypt/include/ctc_config.h.in. Generated from configure.in by autoheader. */
/* ctaocrypt/include/ctc_config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

View File

@@ -42,6 +42,10 @@ if BUILD_HC128
src_libcyassl_la_SOURCES += ctaocrypt/src/hc128.c
endif
if BUILD_NOINLINE
src_libcyassl_la_SOURCES += ctaocrypt/src/ctc_misc.c
endif
if BUILD_FASTMATH
src_libcyassl_la_SOURCES += ctaocrypt/src/tfm.c
else