#5881: Explicitly state all possible crypto backend source files so that they are included into archive by `make dist`
This commit is contained in:
parent
beeb4521c0
commit
806f81c05c
|
@ -173,6 +173,9 @@ AS_IF([test "x$CRYPTO_PKG" = "x"], [
|
|||
)
|
||||
])
|
||||
|
||||
AM_CONDITIONAL([CRYPTO_USE_OPENSSL],[test "x$CRYPTO_PKG" = "xopenssl"])
|
||||
AM_CONDITIONAL([CRYPTO_USE_CYASSL],[test "x$CRYPTO_PKG" = "xcyassl"])
|
||||
AM_CONDITIONAL([CRYPTO_USE_POLARSSL],[test "x$CRYPTO_PKG" = "xpolarssl"])
|
||||
AC_SUBST(CRYPTO_PKG)
|
||||
AC_SUBST(CRYPTO_CFLAGS)
|
||||
AC_SUBST(CRYPTO_LIBS)
|
||||
|
|
|
@ -31,7 +31,6 @@ libtransmission_a_SOURCES = \
|
|||
crypto.c \
|
||||
crypto-utils.c \
|
||||
crypto-utils-fallback.c \
|
||||
crypto-utils-@CRYPTO_PKG@.c \
|
||||
error.c \
|
||||
fdlimit.c \
|
||||
file.c \
|
||||
|
@ -83,6 +82,16 @@ else
|
|||
libtransmission_a_SOURCES += file-posix.c
|
||||
endif
|
||||
|
||||
if CRYPTO_USE_OPENSSL
|
||||
libtransmission_a_SOURCES += crypto-utils-openssl.c
|
||||
endif
|
||||
if CRYPTO_USE_CYASSL
|
||||
libtransmission_a_SOURCES += crypto-utils-cyassl.c
|
||||
endif
|
||||
if CRYPTO_USE_POLARSSL
|
||||
libtransmission_a_SOURCES += crypto-utils-polarssl.c
|
||||
endif
|
||||
|
||||
noinst_HEADERS = \
|
||||
announcer.h \
|
||||
announcer-common.h \
|
||||
|
|
Loading…
Reference in New Issue