|
@@ -37,7 +37,15 @@ LT_INIT([disable-static win32-dll])
|
|
|
|
|
|
AC_ARG_VAR(EXTRA_CFLAGS, [Extra CFLAGS to add to autoconf-computed arg list. Can also supply directly to make.])
|
|
|
|
|
|
-#shared library versioning
|
|
|
+WOLFSSL_CONFIG_ARGS=$ac_configure_args
|
|
|
+AC_SUBST([WOLFSSL_CONFIG_ARGS])
|
|
|
+
|
|
|
+# shared library versioning
|
|
|
+# The three numbers in the libwolfssl.so.*.*.* file name. Unfortunately
|
|
|
+# these numbers don't always line up nicely with the library version.
|
|
|
+WOLFSSL_LIBRARY_VERSION_FIRST=35
|
|
|
+WOLFSSL_LIBRARY_VERSION_SECOND=1
|
|
|
+WOLFSSL_LIBRARY_VERSION_THIRD=0
|
|
|
WOLFSSL_LIBRARY_VERSION=36:0:1
|
|
|
# | | |
|
|
|
# +------+ | +---+
|
|
@@ -50,6 +58,9 @@ WOLFSSL_LIBRARY_VERSION=36:0:1
|
|
|
# | +- increment if source code has changed
|
|
|
# | set to zero if current is incremented
|
|
|
# +- increment if interfaces have been added, removed or changed
|
|
|
+AC_SUBST([WOLFSSL_LIBRARY_VERSION_FIRST])
|
|
|
+AC_SUBST([WOLFSSL_LIBRARY_VERSION_SECOND])
|
|
|
+AC_SUBST([WOLFSSL_LIBRARY_VERSION_THIRD])
|
|
|
AC_SUBST([WOLFSSL_LIBRARY_VERSION])
|
|
|
|
|
|
gl_VISIBILITY
|
|
@@ -8184,6 +8195,7 @@ AM_CONDITIONAL([BUILD_RC4],[test "x$ENABLED_ARC4" = "xyes" || test "x$ENABLED_US
|
|
|
AM_CONDITIONAL([BUILD_MD5],[test "x$ENABLED_MD5" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_SHA],[test "x$ENABLED_SHA" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_FIPS],[test "x$ENABLED_FIPS" = "xyes"])
|
|
|
+AC_SUBST([ENABLED_FIPS])
|
|
|
AM_CONDITIONAL([BUILD_FIPS_V1],[test "$HAVE_FIPS_VERSION" = 1])
|
|
|
AM_CONDITIONAL([BUILD_FIPS_V2],[test "$HAVE_FIPS_VERSION" = 2 && test "$HAVE_FIPS_VERSION_MINOR" = 0])
|
|
|
AM_CONDITIONAL([BUILD_FIPS_RAND],[test "$HAVE_FIPS_VERSION" = 2 && test "$HAVE_FIPS_VERSION_MINOR" = 1])
|
|
@@ -8231,6 +8243,7 @@ AM_CONDITIONAL([BUILD_CAVIUM_V],[test "x$ENABLED_CAVIUM_V" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_OCTEON_SYNC],[test "x$ENABLED_OCTEON_SYNC" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_INTEL_QA],[test "x$ENABLED_INTEL_QA" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_INTEL_QA_SYNC],[test "x$ENABLED_INTEL_QA_SYNC" = "xyes"])
|
|
|
+INCLUDE_SP_INT="no"
|
|
|
AM_CONDITIONAL([BUILD_SP],[test "x$ENABLED_SP" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_SP_C32],[ ( ( (test "$ENABLED_SP_RSA" = "yes" || test "$ENABLED_SP_DH" = "yes" \
|
|
|
|| test "$ENABLED_SP_ECC" = "yes") && test "x$ENABLED_SP_ASM" = "xno") \
|
|
@@ -8244,6 +8257,9 @@ AM_CONDITIONAL([BUILD_SP_ARM_THUMB],[test "x$ENABLED_SP_ARM_THUMB_ASM" = "xyes"
|
|
|
AM_CONDITIONAL([BUILD_SP_ARM_CORTEX],[test "x$ENABLED_SP_ARM_CORTEX_ASM" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_SP_X86_64],[test "x$ENABLED_SP_X86_64_ASM" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_SP_INT],[test "x$ENABLED_SP_MATH" = "xyes" || test "x$ENABLED_SP_MATH_ALL" = "xyes" || test "x$ENABLED_USERSETTINGS" = "xyes"])
|
|
|
+AM_COND_IF([BUILD_SP], [INCLUDE_SP_INT="yes"])
|
|
|
+AM_COND_IF([BUILD_SP_INT], [INCLUDE_SP_INT="yes"])
|
|
|
+AC_SUBST([INCLUDE_SP_INT])
|
|
|
AM_CONDITIONAL([BUILD_FAST_RSA],[test "x$ENABLED_FAST_RSA" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_MCAPI],[test "x$ENABLED_MCAPI" = "xyes"])
|
|
|
AM_CONDITIONAL([BUILD_ASYNCCRYPT],[test "x$ENABLED_ASYNCCRYPT" = "xyes"])
|