Ticket #26049: patch-configure.diff

File patch-configure.diff, 1.5 KB (added by pixilla (Bradley Giesbrecht), 14 years ago)
  • configure

    old new  
    85908590if test "${ac_cv_openssl_libs+set}" = set; then :
    85918591  $as_echo_n "(cached) " >&6
    85928592else
    8593 
    8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    8595 /* end confdefs.h.  */
    8596 
    8597 
    8598 #include <openssl/ssl.h>
    8599 
    8600 int
    8601 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 _ACEOF
    8627 if ac_fn_cxx_try_link "$LINENO"; then :
    8628 
    86298593   ac_cv_openssl_libs=yes
    8630 
    8631 else
    8632 
    8633    ac_cv_openssl_libs=no
    8634 
    8635 fi
    8636 rm -f core conftest.err conftest.$ac_objext \
    8637     conftest$ac_exeext conftest.$ac_ext
    8638 
    86398594fi
    86408595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_libs" >&5
    86418596$as_echo "$ac_cv_openssl_libs" >&6; }
     
    2441824373     case "$host_os" in
    2441924374     darwin*)
    2442024375
    24421 $as_echo "#define ACE_LD_SEARCH_PATH ACE_LIB_TEXT (\"DYLD_LIBRARY_PATH\")" >>confdefs.h
     24376$as_echo "#define ACE_LD_SEARCH_PATH ACE_TEXT (\"DYLD_LIBRARY_PATH\")" >>confdefs.h
    2442224377
    2442324378
    24424 $as_echo "#define ACE_DLL_SUFFIX ACE_LIB_TEXT (\".dylib\")" >>confdefs.h
     24379$as_echo "#define ACE_DLL_SUFFIX ACE_TEXT (\".dylib\")" >>confdefs.h
    2442524380
    2442624381        ;;
    2442724382     esac