ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure
(Generate patch)

Comparing ircd-hybrid-8/configure (file contents):
Revision 1454 by michael, Fri Jun 29 13:58:54 2012 UTC vs.
Revision 1456 by michael, Mon Jul 2 18:21:40 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1452 2012-06-29 11:33:21Z michael .
2 > # From configure.ac Id: configure.ac 1454 2012-06-29 13:58:54Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta2.
5   #
# Line 13771 | Line 13771 | fi
13771    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13772   $as_echo "found" >&6; }
13773  
13774 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13775 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13776 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13774 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13775 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13776 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13777    $as_echo_n "(cached) " >&6
13778   else
13779    ac_check_lib_save_LIBS=$LIBS
13780 < LIBS="-lssl  $LIBS"
13780 > LIBS="-lcrypto  $LIBS"
13781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782   /* end confdefs.h.  */
13783  
# Line 13787 | Line 13787 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13787   #ifdef __cplusplus
13788   extern "C"
13789   #endif
13790 < char SSL_connect ();
13790 > char RSA_free ();
13791   int
13792   main ()
13793   {
13794 < return SSL_connect ();
13794 > return RSA_free ();
13795    ;
13796    return 0;
13797   }
13798   _ACEOF
13799   if ac_fn_c_try_link "$LINENO"; then :
13800 <  ac_cv_lib_ssl_SSL_connect=yes
13800 >  ac_cv_lib_crypto_RSA_free=yes
13801   else
13802 <  ac_cv_lib_ssl_SSL_connect=no
13802 >  ac_cv_lib_crypto_RSA_free=no
13803   fi
13804   rm -f core conftest.err conftest.$ac_objext \
13805      conftest$ac_exeext conftest.$ac_ext
13806   LIBS=$ac_check_lib_save_LIBS
13807   fi
13808 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13809 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13810 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13808 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13809 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13810 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13811    cat >>confdefs.h <<_ACEOF
13812 < #define HAVE_LIBSSL 1
13812 > #define HAVE_LIBCRYPTO 1
13813   _ACEOF
13814  
13815 <  LIBS="-lssl $LIBS"
13815 >  LIBS="-lcrypto $LIBS"
13816  
13817   fi
13818  
13819 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13820 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13821 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13822 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13819 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13820 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13821 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13822 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13823    $as_echo_n "(cached) " >&6
13824   else
13825    ac_check_lib_save_LIBS=$LIBS
13826 < LIBS="-lcrypto  $LIBS"
13826 > LIBS="-lssl  $LIBS"
13827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828   /* end confdefs.h.  */
13829  
# Line 13833 | Line 13833 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13833   #ifdef __cplusplus
13834   extern "C"
13835   #endif
13836 < char RSA_free ();
13836 > char SSL_connect ();
13837   int
13838   main ()
13839   {
13840 < return RSA_free ();
13840 > return SSL_connect ();
13841    ;
13842    return 0;
13843   }
13844   _ACEOF
13845   if ac_fn_c_try_link "$LINENO"; then :
13846 <  ac_cv_lib_crypto_RSA_free=yes
13846 >  ac_cv_lib_ssl_SSL_connect=yes
13847   else
13848 <  ac_cv_lib_crypto_RSA_free=no
13848 >  ac_cv_lib_ssl_SSL_connect=no
13849   fi
13850   rm -f core conftest.err conftest.$ac_objext \
13851      conftest$ac_exeext conftest.$ac_ext
13852   LIBS=$ac_check_lib_save_LIBS
13853   fi
13854 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13855 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13856 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13854 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13855 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13856 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13857    cat >>confdefs.h <<_ACEOF
13858 < #define HAVE_LIBCRYPTO 1
13858 > #define HAVE_LIBSSL 1
13859   _ACEOF
13860  
13861 <  LIBS="-lcrypto $LIBS"
13861 >  LIBS="-lssl $LIBS"
13862  
13863   fi
13864  
# Line 13871 | Line 13871 | $as_echo "no - OpenSSL support disabled"
13871   fi
13872   fi
13873  
13874 < if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13874 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13875    ENABLE_SSL_TRUE=
13876    ENABLE_SSL_FALSE='#'
13877   else

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)