Changeset 14478 for trunk/configure.ac


Ignore:
Timestamp:
Mar 15, 2015, 5:08:10 PM (7 years ago)
Author:
mikedld
Message:

Add support for WolfSSL (autoconf)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r14472 r14478  
    138138])
    139139AS_IF([test "x$want_crypto" = "xauto" -o "x$want_crypto" = "xcyassl"], [
    140     PKG_CHECK_MODULES(CYASSL, [cyassl >= $CYASSL_MINIMUM],
    141         [want_crypto="cyassl"; CRYPTO_PKG="cyassl"; CRYPTO_CFLAGS="$CYASSL_CFLAGS"; CRYPTO_LIBS="$CYASSL_LIBS"],
    142         [AS_IF([test "x$want_crypto" = "xcyassl"],
    143             [AC_MSG_ERROR([CyaSSL support requested, but library not found.])]
     140    PKG_CHECK_MODULES(WOLFSSL, [wolfssl >= $CYASSL_MINIMUM],
     141        [want_crypto="cyassl"; CRYPTO_PKG="cyassl"; CRYPTO_CFLAGS="$WOLFSSL_CFLAGS"; CRYPTO_LIBS="$WOLFSSL_LIBS"],
     142        [PKG_CHECK_MODULES(CYASSL, [cyassl >= $CYASSL_MINIMUM],
     143            [want_crypto="cyassl"; CRYPTO_PKG="cyassl"; CRYPTO_CFLAGS="$CYASSL_CFLAGS"; CRYPTO_LIBS="$CYASSL_LIBS"],
     144            [AS_IF([test "x$want_crypto" = "xcyassl"],
     145                [AC_MSG_ERROR([CyaSSL support requested, but library not found.])]
     146            )]
    144147        )]
    145148    )
Note: See TracChangeset for help on using the changeset viewer.