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

Comparing ircd-hybrid-8/configure (file contents):
Revision 1302 by michael, Wed Mar 21 17:48:54 2012 UTC vs.
Revision 1325 by michael, Sat Mar 31 10:29:02 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1292 2012-02-12 20:36:27Z michael .
2 > # From configure.ac Id: configure.ac 1310 2012-03-26 15:45:02Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
# Line 13755 | Line 13755 | if test "$cf_enable_openssl" != "no"; th
13755    fi
13756  
13757        if test ! -z "$cf_openssl_basedir"; then
13758    LIBS="-lcrypto -lssl $LIBS"
13758      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13759   $as_echo "$cf_openssl_basedir" >&6; }
13760      cf_enable_openssl="yes"
13762
13763 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13764
13761    else
13762      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13763   $as_echo "not found. Please check your path." >&6; }
# Line 13774 | Line 13770 | $as_echo "disabled" >&6; }
13770   fi
13771  
13772   if test "$cf_enable_openssl" != "no"; then :
13773 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13774 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13773 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13774 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13775    if test "$cross_compiling" = yes; then :
13776    cf_openssl_version_ok=no
13777   else
# Line 13788 | Line 13784 | else
13784   int
13785   main ()
13786   {
13787 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13787 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13788    ;
13789    return 0;
13790   }
# Line 13807 | Line 13803 | fi
13803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13804   $as_echo "found" >&6; }
13805  
13806 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13806 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13807 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13808 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13809 >  $as_echo_n "(cached) " >&6
13810 > else
13811 >  ac_check_lib_save_LIBS=$LIBS
13812 > LIBS="-lssl  $LIBS"
13813 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 > /* end confdefs.h.  */
13815 >
13816 > /* Override any GCC internal prototype to avoid an error.
13817 >   Use char because int might match the return type of a GCC
13818 >   builtin and then its argument prototype would still apply.  */
13819 > #ifdef __cplusplus
13820 > extern "C"
13821 > #endif
13822 > char SSL_connect ();
13823 > int
13824 > main ()
13825 > {
13826 > return SSL_connect ();
13827 >  ;
13828 >  return 0;
13829 > }
13830 > _ACEOF
13831 > if ac_fn_c_try_link "$LINENO"; then :
13832 >  ac_cv_lib_ssl_SSL_connect=yes
13833 > else
13834 >  ac_cv_lib_ssl_SSL_connect=no
13835 > fi
13836 > rm -f core conftest.err conftest.$ac_objext \
13837 >    conftest$ac_exeext conftest.$ac_ext
13838 > LIBS=$ac_check_lib_save_LIBS
13839 > fi
13840 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13841 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13842 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13843 >  cat >>confdefs.h <<_ACEOF
13844 > #define HAVE_LIBSSL 1
13845 > _ACEOF
13846 >
13847 >  LIBS="-lssl $LIBS"
13848 >
13849 > fi
13850 >
13851 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13852 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13853   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13854   if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13855    $as_echo_n "(cached) " >&6
# Line 13852 | Line 13894 | _ACEOF
13894  
13895   fi
13896  
13855    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13856  for ac_func in EVP_bf_cfb           \
13857                      EVP_cast5_cfb        \
13858                      EVP_idea_cfb         \
13859                      EVP_rc5_32_12_16_cfb \
13860                      EVP_des_ede3_cfb     \
13861                      EVP_des_cfb
13862 do :
13863  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13865 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13866  cat >>confdefs.h <<_ACEOF
13867 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13868 _ACEOF
13869
13870 fi
13871 done
13872
13897   fi
13898  
13899   else
# Line 13879 | Line 13903 | $as_echo "no - OpenSSL support disabled"
13903   fi
13904   fi
13905  
13906 < if test "$cf_enable_openssl" = yes; then
13906 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13907    ENABLE_SSL_TRUE=
13908    ENABLE_SSL_FALSE='#'
13909   else
# Line 14559 | Line 14583 | _ACEOF
14583    test "$exec_prefix_NONE" && exec_prefix=NONE
14584  
14585  
14586 < ac_config_files="$ac_config_files Makefile etc/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14586 > ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14587  
14588  
14589   cat >confcache <<\_ACEOF
# Line 15614 | Line 15638 | do
15638      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15639      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15640      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15617    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15641      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15642      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15643      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;

Diff Legend

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