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 1292 by michael, Sun Feb 12 20:36:27 2012 UTC vs.
Revision 1310 by michael, Mon Mar 26 15:45:02 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael .
2 > # From configure.ac Id: configure.ac 1304 2012-03-23 12:03:56Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
# Line 784 | Line 784 | with_included_ltdl
784   with_ltdl_include
785   with_ltdl_lib
786   enable_ltdl_install
787 with_zlib_path
788 enable_zlib
787   with_libpcre_path
788   enable_libpcre
789   enable_openssl
# Line 1445 | Line 1443 | Optional Features:
1443                            optimize for fast installation [default=yes]
1444    --disable-libtool-lock  avoid locking (might break parallel builds)
1445    --enable-ltdl-install   install libltdl
1448  --disable-zlib          Disable ziplinks support
1446    --disable-libpcre       Disable PCRE support
1447    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1448    --disable-openssl            Disable OpenSSL support.
# Line 1473 | Line 1470 | Optional Packages:
1470    --with-included-ltdl    use the GNU ltdl sources included here
1471    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1472    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1476  --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1473    --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474    --with-nicklen=<value>  Set nickname length (default 9).
1475    --with-topiclen=<value> Set topic length (default 160).
# Line 13637 | Line 13633 | fi
13633  
13634  
13635  
13640 # Check whether --with-zlib-path was given.
13641 if test "${with_zlib_path+set}" = set; then :
13642  withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS"
13643 fi
13644
13645
13646 # Check whether --enable-zlib was given.
13647 if test "${enable_zlib+set}" = set; then :
13648  enableval=$enable_zlib; zlib=$enableval
13649 else
13650  zlib=yes
13651 fi
13652
13653
13654 if test "$zlib" = "yes"; then :
13655
13656  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13657 if test "x$ac_cv_header_zlib_h" = xyes; then :
13658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13659 $as_echo_n "checking for zlibVersion in -lz... " >&6; }
13660 if ${ac_cv_lib_z_zlibVersion+:} false; then :
13661  $as_echo_n "(cached) " >&6
13662 else
13663  ac_check_lib_save_LIBS=$LIBS
13664 LIBS="-lz  $LIBS"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h.  */
13667
13668 /* Override any GCC internal prototype to avoid an error.
13669   Use char because int might match the return type of a GCC
13670   builtin and then its argument prototype would still apply.  */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 char zlibVersion ();
13675 int
13676 main ()
13677 {
13678 return zlibVersion ();
13679  ;
13680  return 0;
13681 }
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684  ac_cv_lib_z_zlibVersion=yes
13685 else
13686  ac_cv_lib_z_zlibVersion=no
13687 fi
13688 rm -f core conftest.err conftest.$ac_objext \
13689    conftest$ac_exeext conftest.$ac_ext
13690 LIBS=$ac_check_lib_save_LIBS
13691 fi
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13693 $as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13694 if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13695
13696      LIBS="-lz $LIBS"
13697
13698 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13699
13700
13701 else
13702  zlib=no
13703 fi
13704
13705
13706 else
13707  zlib=no
13708 fi
13709
13710
13711
13712 fi
13713
13714
13636   # Check whether --with-libpcre-path was given.
13637   if test "${with_libpcre_path+set}" = set; then :
13638    withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
# Line 13834 | Line 13755 | if test "$cf_enable_openssl" != "no"; th
13755    fi
13756  
13757        if test ! -z "$cf_openssl_basedir"; then
13837    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"
13841
13842 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13843
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 13853 | 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 13867 | 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 13886 | 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 13931 | Line 13894 | _ACEOF
13894  
13895   fi
13896  
13934    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13935  for ac_func in EVP_bf_cfb           \
13936                      EVP_cast5_cfb        \
13937                      EVP_idea_cfb         \
13938                      EVP_rc5_32_12_16_cfb \
13939                      EVP_des_ede3_cfb     \
13940                      EVP_des_cfb
13941 do :
13942  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13945  cat >>confdefs.h <<_ACEOF
13946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13947 _ACEOF
13948
13949 fi
13950 done
13951
13897   fi
13898  
13899   else
# Line 13958 | 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 14638 | Line 14583 | _ACEOF
14583    test "$exec_prefix_NONE" && exec_prefix=NONE
14584  
14585  
14586 < ac_config_files="$ac_config_files Makefile etc/Makefile servlink/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 15693 | Line 15638 | do
15638      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15639      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15640      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15696    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
15697    "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/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)