Ticket #26049: patch-configure.diff
File patch-configure.diff, 1.5 KB (added by pixilla (Bradley Giesbrecht), 14 years ago) |
---|
-
configure
old new 8590 8590 if test "${ac_cv_openssl_libs+set}" = set; then : 8591 8591 $as_echo_n "(cached) " >&6 8592 8592 else 8593 8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext8595 /* end confdefs.h. */8596 8597 8598 #include <openssl/ssl.h>8599 8600 int8601 main ()8602 {8603 8604 // ... THIS PROGRAM DOES NOTHING! IT IS JUST USED FOR LINK TESTS ...8605 8606 // ... Perform TCP connection ...8607 8608 // ... Perform TLS/SSL stuff ...8609 CRYPTO_set_locking_callback (0);8610 SSLeay_add_ssl_algorithms ();8611 SSL_load_error_strings ();8612 SSL_METHOD * meth = TLSv1_method ();8613 SSL_CTX * ctx = SSL_CTX_new (meth);8614 SSL * ssl = SSL_new (ctx);8615 int fd = 2000; // Dummy file descriptor value.8616 SSL_set_fd (ssl, fd);8617 SSL_connect (ssl);8618 SSL_shutdown (ssl);8619 8620 // ...8621 8622 ;8623 return 0;8624 }8625 8626 _ACEOF8627 if ac_fn_cxx_try_link "$LINENO"; then :8628 8629 8593 ac_cv_openssl_libs=yes 8630 8631 else8632 8633 ac_cv_openssl_libs=no8634 8635 fi8636 rm -f core conftest.err conftest.$ac_objext \8637 conftest$ac_exeext conftest.$ac_ext8638 8639 8594 fi 8640 8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_libs" >&5 8641 8596 $as_echo "$ac_cv_openssl_libs" >&6; } … … 24418 24373 case "$host_os" in 24419 24374 darwin*) 24420 24375 24421 $as_echo "#define ACE_LD_SEARCH_PATH ACE_ LIB_TEXT (\"DYLD_LIBRARY_PATH\")" >>confdefs.h24376 $as_echo "#define ACE_LD_SEARCH_PATH ACE_TEXT (\"DYLD_LIBRARY_PATH\")" >>confdefs.h 24422 24377 24423 24378 24424 $as_echo "#define ACE_DLL_SUFFIX ACE_ LIB_TEXT (\".dylib\")" >>confdefs.h24379 $as_echo "#define ACE_DLL_SUFFIX ACE_TEXT (\".dylib\")" >>confdefs.h 24425 24380 24426 24381 ;; 24427 24382 esac