Changeset 5517 for pjproject/trunk/aconfigure.ac
- Timestamp:
- Jan 10, 2017 9:17:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r5509 r5517 1534 1534 AC_SUBST(ac_no_ssl) 1535 1535 AC_SUBST(ac_ssl_has_aes_gcm,0) 1536 AC_SUBST(ac_ssl_has_ec,0)1537 AC_SUBST(ac_ssl_has_sigalg,0)1538 1536 AC_ARG_ENABLE(ssl, 1539 1537 AS_HELP_STRING([--disable-ssl], … … 1570 1568 AC_MSG_RESULT([OpenSSL AES GCM support not found, SRTP will only support AES CM cryptos]) 1571 1569 fi 1572 1573 # Check if OpenSSL supports setting curve algorithm1574 # and has elliptic curve1575 1576 AC_MSG_CHECKING([OpenSSL setting curve functions])1577 AC_SUBST(set_curve_present,0)1578 AC_SUBST(ec_curve_present,0)1579 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>1580 ]],1581 [ SSL_set1_curves(NULL, NULL, 0);]1582 )],1583 [ set_curve_present=11584 AC_MSG_RESULT(ok)1585 ],1586 [1587 AC_MSG_RESULT(no)1588 ])1589 1590 AC_CHECK_LIB(ssl,EC_curve_nid2nist,[ec_curve_present=1])1591 if test "x$set_curve_present" = "x1" -a "x$ec_curve_present" = "x1"; then1592 [ac_ssl_has_ec=1]1593 AC_MSG_RESULT([OpenSSL has elliptic curve support])1594 else1595 AC_MSG_RESULT([OpenSSL elliptic curve algorithm unsupported])1596 fi1597 1598 AC_MSG_CHECKING([OpenSSL setting sigalg])1599 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>1600 ]],1601 [SSL_set1_sigalgs_list(NULL, NULL);]1602 )],1603 [ ac_ssl_has_sigalg=11604 AC_MSG_RESULT(ok)1605 ],1606 [1607 AC_MSG_RESULT(no)1608 ])1609 1570 1610 1571 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK
Note: See TracChangeset
for help on using the changeset viewer.