File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ Cflags: -I${includedir}
1010Cflags.private : -D LIBARCHIVE_STATIC
1111Libs : -L ${ libdir} -l archive
1212Libs.private : @LIBS@
13+ Requires.private : @LIBSREQUIRED @
Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ if test "x$with_iconv" != "xno"; then
378378 AC_CHECK_HEADERS ( [ localcharset.h] )
379379 am_save_LIBS="$LIBS"
380380 LIBS="${LIBS} ${LIBICONV}"
381+ LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
381382 AC_CHECK_FUNCS ( [ locale_charset] )
382383 LIBS="${am_save_LIBS}"
383384 if test "x$ac_cv_func_locale_charset" != "xyes"; then
12091210if test "x$with_openssl" != "xno"; then
12101211 AC_CHECK_HEADERS ( [ openssl/evp.h] )
12111212 saved_LIBS=$LIBS
1213+ LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }libssl libcrypto"
12121214 AC_CHECK_LIB ( crypto ,OPENSSL_config )
12131215 CRYPTO_CHECK(MD5, OPENSSL, md5)
12141216 CRYPTO_CHECK(RMD160, OPENSSL, rmd160)
@@ -1219,6 +1221,8 @@ if test "x$with_openssl" != "xno"; then
12191221 AC_CHECK_FUNCS ( [ PKCS5_PBKDF2_HMAC_SHA1] )
12201222fi
12211223
1224+ AC_SUBST ( LIBSREQUIRED )
1225+
12221226# Probe libmd AFTER OpenSSL/libcrypto.
12231227# The two are incompatible and OpenSSL is more complete.
12241228AC_CHECK_HEADERS ( [ md5.h ripemd.h sha.h sha256.h sha512.h] )
You can’t perform that action at this time.
0 commit comments