Changeset 4966 for pjproject/trunk
- Timestamp:
- Dec 3, 2014 4:16:24 AM (10 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4953 r4966 7676 7676 else 7677 7677 ac_check_lib_save_LIBS=$LIBS 7678 LIBS="-lcrypto $LIBS"7678 LIBS="-lcrypto -ldl -lz $LIBS" 7679 7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7680 7680 /* end confdefs.h. */ … … 7707 7707 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 7708 7708 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = xyes; then : 7709 libcrypto_present=1 && LIBS=" $LIBS -lcrypto"7709 libcrypto_present=1 && LIBS="-lcrypto -ldl -lz $LIBS" 7710 7710 fi 7711 7711 … … 7747 7747 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 7748 7748 if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : 7749 libssl_present=1 && LIBS=" $LIBS -lssl"7749 libssl_present=1 && LIBS="-lssl $LIBS" 7750 7750 fi 7751 7751 -
pjproject/trunk/aconfigure.ac
r4953 r4966 1533 1533 AC_SUBST(libcrypto_present) 1534 1534 AC_CHECK_HEADER(openssl/ssl.h,[openssl_h_present=1]) 1535 AC_CHECK_LIB(crypto,ERR_load_BIO_strings,[libcrypto_present=1 && LIBS=" $LIBS -lcrypto"])1536 AC_CHECK_LIB(ssl,SSL_library_init,[libssl_present=1 && LIBS=" $LIBS -lssl"])1535 AC_CHECK_LIB(crypto,ERR_load_BIO_strings,[libcrypto_present=1 && LIBS="-lcrypto -ldl -lz $LIBS"],,-ldl -lz) 1536 AC_CHECK_LIB(ssl,SSL_library_init,[libssl_present=1 && LIBS="-lssl $LIBS"]) 1537 1537 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 1538 1538 AC_MSG_RESULT([OpenSSL library found, SSL support enabled])
Note: See TracChangeset
for help on using the changeset viewer.