Changeset 6018 for pjproject/trunk/aconfigure.ac
- Timestamp:
- May 31, 2019 5:03:21 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure.ac
r5959 r6018 1579 1579 SAVED_LIBS="$LIBS" 1580 1580 LIBS="-framework Security" 1581 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])], 1582 [ac_ssl_backend=darwin],) 1581 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <Security/SecureTransport.h>]], 1582 [if (__builtin_available(macOS 10.12, iOS 10.0, *)) { 1583 SSLContextRef ssl_ctx; 1584 SSLReHandshake(ssl_ctx); 1585 }])], 1586 [ac_ssl_backend=darwin],) 1583 1587 LIBS="$SAVED_LIBS" 1584 1588 if test "x$ac_ssl_backend" = "xdarwin"; then … … 1586 1590 AC_DEFINE(PJ_SSL_SOCK_IMP, PJ_SSL_SOCK_IMP_DARWIN) 1587 1591 LIBS="$LIBS -framework Security" 1588 AC_MSG_RESULT([Checking if Security framework forDarwin SSL is available... yes])1592 AC_MSG_RESULT([Checking if Darwin SSL is available... yes]) 1589 1593 else 1590 AC_MSG_RESULT([Checking if Security framework forDarwin SSL is available... no])1594 AC_MSG_RESULT([Checking if Darwin SSL is available... no]) 1591 1595 fi 1592 1596 ;;
Note: See TracChangeset
for help on using the changeset viewer.