Changeset 5957 for pjproject/trunk/aconfigure
- Timestamp:
- Mar 25, 2019 1:33:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5924 r5957 1543 1543 --with-ipp-arch=ARCH Specify the Intel IPP ARCH suffix, e.g. "64" or 1544 1544 "em64t. Default is blank for IA32" 1545 --with-ssl=DIR Specify alternate SSL library prefix. This option 1545 --with-ssl=SSL_BACKEND/DIR 1546 Specify alternate SSL library prefix or SSL 1547 native-backend. You can specify "darwin" as the 1548 native iOS/MacOS backend using Security framework, 1549 or you can specify an alternate SSL library prefix 1550 directory. If a directory is specified, this option 1546 1551 will try to find OpenSSL first, then if not found, 1547 1552 GnuTLS. To skip OpenSSL finding, use --with-gnutls … … 7952 7957 else 7953 7958 7954 if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 7959 if test "x$with_ssl" = "xdarwin"; then 7960 SAVED_LIBS="$LIBS" 7961 LIBS="-framework Security" 7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7963 /* end confdefs.h. */ 7964 7965 int 7966 main () 7967 { 7968 7969 ; 7970 return 0; 7971 } 7972 _ACEOF 7973 if ac_fn_c_try_link "$LINENO"; then : 7974 ac_ssl_backend=darwin 7975 fi 7976 rm -f core conftest.err conftest.$ac_objext \ 7977 conftest$ac_exeext conftest.$ac_ext 7978 LIBS="$SAVED_LIBS" 7979 if test "x$ac_ssl_backend" = "xdarwin"; then 7980 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 7981 7982 $as_echo "#define PJ_SSL_SOCK_IMP PJ_SSL_SOCK_IMP_DARWIN" >>confdefs.h 7983 7984 LIBS="$LIBS -framework Security" 7985 ac_ssl_backend="darwin" 7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Security framework for Darwin SSL is available... yes" >&5 7987 $as_echo "Checking if Security framework for Darwin SSL is available... yes" >&6; } 7988 else 7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Security framework for Darwin SSL is available... no" >&5 7990 $as_echo "Checking if Security framework for Darwin SSL is available... no" >&6; } 7991 fi 7992 fi 7993 7994 if test "x$ac_ssl_backend" = "x" -a "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 7955 7995 CFLAGS="$CFLAGS -I$with_ssl/include" 7956 7996 CPPFLAGS="$CPPFLAGS -I$with_ssl/include" … … 7960 8000 fi 7961 8001 7962 if test "x$ with_gnutls" = "xno"; then8002 if test "x$ac_ssl_backend" = "x" -a "x$with_gnutls" = "xno"; then 7963 8003 7964 8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5
Note: See TracChangeset
for help on using the changeset viewer.