Changeset 4892 for pjproject/trunk/aconfigure
- Timestamp:
- Aug 19, 2014 2:18:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4881 r4892 7718 7718 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 7719 7719 7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSLv2_method in -lssl" >&5 7721 $as_echo_n "checking for SSLv2_method in -lssl... " >&6; } 7722 if ${ac_cv_lib_ssl_SSLv2_method+:} false; then : 7723 $as_echo_n "(cached) " >&6 7724 else 7725 ac_check_lib_save_LIBS=$LIBS 7726 LIBS="-lssl $LIBS" 7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7728 /* end confdefs.h. */ 7729 7730 /* Override any GCC internal prototype to avoid an error. 7731 Use char because int might match the return type of a GCC 7732 builtin and then its argument prototype would still apply. */ 7733 #ifdef __cplusplus 7734 extern "C" 7735 #endif 7736 char SSLv2_method (); 7737 int 7738 main () 7739 { 7740 return SSLv2_method (); 7741 ; 7742 return 0; 7743 } 7744 _ACEOF 7745 if ac_fn_c_try_link "$LINENO"; then : 7746 ac_cv_lib_ssl_SSLv2_method=yes 7747 else 7748 ac_cv_lib_ssl_SSLv2_method=no 7749 fi 7750 rm -f core conftest.err conftest.$ac_objext \ 7751 conftest$ac_exeext conftest.$ac_ext 7752 LIBS=$ac_check_lib_save_LIBS 7753 fi 7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSLv2_method" >&5 7755 $as_echo "$ac_cv_lib_ssl_SSLv2_method" >&6; } 7756 if test "x$ac_cv_lib_ssl_SSLv2_method" = xyes; then : 7757 libssl_no_ssl2=1 7758 fi 7759 7760 if test "x$libssl_no_ssl2" != "x1"; then 7761 CFLAGS="$CFLAGS -DOPENSSL_NO_SSL2=1" 7762 fi 7720 7763 else 7721 7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5
Note: See TracChangeset
for help on using the changeset viewer.