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 1329 by michael, Sun Apr 1 12:02:12 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 2367 | Line 2367 | as_fn_append ac_func_list " strtok_r"
2367   as_fn_append ac_func_list " usleep"
2368   as_fn_append ac_func_list " strlcat"
2369   as_fn_append ac_func_list " strlcpy"
2370 as_fn_append ac_func_list " socketpair"
2370   as_fn_append ac_header_list " crypt.h"
2372 as_fn_append ac_header_list " inttypes.h"
2373 as_fn_append ac_header_list " stdint.h"
2371   as_fn_append ac_header_list " sys/resource.h"
2372   as_fn_append ac_header_list " sys/param.h"
2376 as_fn_append ac_header_list " errno.h"
2377 as_fn_append ac_header_list " sys/syslog.h"
2373   as_fn_append ac_header_list " types.h"
2374   as_fn_append ac_header_list " socket.h"
2375   as_fn_append ac_header_list " sys/wait.h"
# Line 13508 | Line 13503 | done
13503  
13504  
13505  
13511
13512
13506   # Checks for header files.
13507  
13508  
# Line 13546 | Line 13539 | done
13539  
13540  
13541  
13549
13550
13551
13552
13553
13554
13555
13556
13557 # check for /dev/null so we can use it to hold evil fd's
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
13559 $as_echo_n "checking for /dev/null... " >&6; }
13560 if test -c /dev/null; then :
13561
13562
13563 $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
13564
13565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13566 $as_echo "yes" >&6; }
13567 else
13568
13569
13570 $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
13571
13572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
13573 $as_echo "no - using devnull.log" >&6; }
13574 fi
13575
13576
13542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13543   $as_echo_n "checking for library containing crypt... " >&6; }
13544   if ${ac_cv_search_crypt+:} false; then :
# Line 13755 | Line 13720 | if test "$cf_enable_openssl" != "no"; th
13720    fi
13721  
13722        if test ! -z "$cf_openssl_basedir"; then
13758    LIBS="-lcrypto -lssl $LIBS"
13723      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13724   $as_echo "$cf_openssl_basedir" >&6; }
13725      cf_enable_openssl="yes"
13762
13763 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13764
13726    else
13727      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13728   $as_echo "not found. Please check your path." >&6; }
# Line 13774 | Line 13735 | $as_echo "disabled" >&6; }
13735   fi
13736  
13737   if test "$cf_enable_openssl" != "no"; then :
13738 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13739 < $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13738 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13739 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13740    if test "$cross_compiling" = yes; then :
13741    cf_openssl_version_ok=no
13742   else
# Line 13788 | Line 13749 | else
13749   int
13750   main ()
13751   {
13752 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13752 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13753    ;
13754    return 0;
13755   }
# Line 13807 | Line 13768 | fi
13768    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13769   $as_echo "found" >&6; }
13770  
13771 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13771 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13772 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13773 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13774 >  $as_echo_n "(cached) " >&6
13775 > else
13776 >  ac_check_lib_save_LIBS=$LIBS
13777 > LIBS="-lssl  $LIBS"
13778 > cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 > /* end confdefs.h.  */
13780 >
13781 > /* Override any GCC internal prototype to avoid an error.
13782 >   Use char because int might match the return type of a GCC
13783 >   builtin and then its argument prototype would still apply.  */
13784 > #ifdef __cplusplus
13785 > extern "C"
13786 > #endif
13787 > char SSL_connect ();
13788 > int
13789 > main ()
13790 > {
13791 > return SSL_connect ();
13792 >  ;
13793 >  return 0;
13794 > }
13795 > _ACEOF
13796 > if ac_fn_c_try_link "$LINENO"; then :
13797 >  ac_cv_lib_ssl_SSL_connect=yes
13798 > else
13799 >  ac_cv_lib_ssl_SSL_connect=no
13800 > fi
13801 > rm -f core conftest.err conftest.$ac_objext \
13802 >    conftest$ac_exeext conftest.$ac_ext
13803 > LIBS=$ac_check_lib_save_LIBS
13804 > fi
13805 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13806 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13807 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13808 >  cat >>confdefs.h <<_ACEOF
13809 > #define HAVE_LIBSSL 1
13810 > _ACEOF
13811 >
13812 >  LIBS="-lssl $LIBS"
13813 >
13814 > fi
13815 >
13816 >    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13817 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13818   $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13819   if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13820    $as_echo_n "(cached) " >&6
# Line 13852 | Line 13859 | _ACEOF
13859  
13860   fi
13861  
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
13862   fi
13863  
13864   else
# Line 13879 | Line 13868 | $as_echo "no - OpenSSL support disabled"
13868   fi
13869   fi
13870  
13871 < if test "$cf_enable_openssl" = yes; then
13871 > if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13872    ENABLE_SSL_TRUE=
13873    ENABLE_SSL_FALSE='#'
13874   else
# Line 14559 | Line 14548 | _ACEOF
14548    test "$exec_prefix_NONE" && exec_prefix=NONE
14549  
14550  
14551 < 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"
14551 > 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"
14552  
14553  
14554   cat >confcache <<\_ACEOF
# Line 15614 | Line 15603 | do
15603      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15604      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15605      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15617    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15606      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15607      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15608      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;

Diff Legend

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