[runtime] Add a --disable-btl-lib configure option to disable the building of the btls lib, but compile the managed code with btls support.

This commit is contained in:
Zoltan Varga 2018-03-30 00:44:16 -04:00 коммит произвёл Marek Safar
Родитель 0ba54d6bdd
Коммит 21cef8b793
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -4521,9 +4521,10 @@ dnl *** Btls ***
dnl **************
AC_ARG_ENABLE(btls, [ --disable-btls Disable the BoringTls provider], enable_btls=$enableval, enable_btls=$BTLS_SUPPORTED)
AC_ARG_ENABLE(btls-lib, [ --disable-btls-lib Disable building the BTLS native library], enable_btls_lib=$enableval, enable_btls_lib=$BTLS_SUPPORTED)
AC_ARG_WITH(btls_android_ndk, [ --with-btls-android-ndk Android NDK for BoringTls])
AM_CONDITIONAL(BTLS, test x$enable_btls = xyes)
AM_CONDITIONAL(BTLS, test x$enable_btls_lib = xyes)
btls_android=no
if test "x$enable_btls" = "xyes"; then