masqmail

diff configure @ 363:02bc0331e390

Removed support for openssl linking It had been rarely used and could have caused legal problems. For explanations, see this mail message: Date: Sun, 04 Sep 2011 17:35:23 +0200 From: markus schnalke <meillo@marmaro.de> To: masqmail@marmaro.de Subject: [masqmail] RFC: Removal of configure options Message-ID: <1R0EjD-4aX-00@serveme.home.schnalke.org>
author markus schnalke <meillo@marmaro.de>
date Wed, 14 Sep 2011 12:07:34 +0200
parents 4916f9df5051
children 72653295b75d
line diff
     1.1 --- a/configure	Wed Sep 14 11:50:45 2011 +0200
     1.2 +++ b/configure	Wed Sep 14 12:07:34 2011 +0200
     1.3 @@ -713,7 +713,6 @@
     1.4  with_group
     1.5  enable_debug
     1.6  enable_auth
     1.7 -with_libcrypto
     1.8  enable_ident
     1.9  with_liblockfile
    1.10  with_logdir
    1.11 @@ -1362,7 +1361,6 @@
    1.12    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1.13    --with-user=USER        set user mail
    1.14    --with-group=GROUP      set group mail
    1.15 -  --with-libcrypto        use libcrypto (usually not needed)
    1.16    --with-liblockfile      use liblock (for Debian)
    1.17    --with-logdir=DIR       set log directory /var/log/masqmail
    1.18    --with-spooldir=DIR     set spool directory /var/spool/masqmail
    1.19 @@ -5173,69 +5171,8 @@
    1.20  fi
    1.21  
    1.22  
    1.23 -
    1.24 -# Check whether --with-libcrypto was given.
    1.25 -if test "${with_libcrypto+set}" = set; then :
    1.26 -  withval=$with_libcrypto;
    1.27 -fi
    1.28 -
    1.29 -if test "x$with_libcrypto" != 'xyes'; then
    1.30 -	with_libcrypto='no'
    1.31 -fi
    1.32 -
    1.33  if test "x$need_md5" = 'xyes'; then
    1.34 -	if test "x$with_libcrypto" = "xyes"; then
    1.35 -		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
    1.36 -$as_echo_n "checking for MD5 in -lcrypto... " >&6; }
    1.37 -if ${ac_cv_lib_crypto_MD5+:} false; then :
    1.38 -  $as_echo_n "(cached) " >&6
    1.39 -else
    1.40 -  ac_check_lib_save_LIBS=$LIBS
    1.41 -LIBS="-lcrypto  $LIBS"
    1.42 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.43 -/* end confdefs.h.  */
    1.44 -
    1.45 -/* Override any GCC internal prototype to avoid an error.
    1.46 -   Use char because int might match the return type of a GCC
    1.47 -   builtin and then its argument prototype would still apply.  */
    1.48 -#ifdef __cplusplus
    1.49 -extern "C"
    1.50 -#endif
    1.51 -char MD5 ();
    1.52 -int
    1.53 -main ()
    1.54 -{
    1.55 -return MD5 ();
    1.56 -  ;
    1.57 -  return 0;
    1.58 -}
    1.59 -_ACEOF
    1.60 -if ac_fn_c_try_link "$LINENO"; then :
    1.61 -  ac_cv_lib_crypto_MD5=yes
    1.62 -else
    1.63 -  ac_cv_lib_crypto_MD5=no
    1.64 -fi
    1.65 -rm -f core conftest.err conftest.$ac_objext \
    1.66 -    conftest$ac_exeext conftest.$ac_ext
    1.67 -LIBS=$ac_check_lib_save_LIBS
    1.68 -fi
    1.69 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
    1.70 -$as_echo "$ac_cv_lib_crypto_MD5" >&6; }
    1.71 -if test "x$ac_cv_lib_crypto_MD5" = xyes; then :
    1.72 -  has_crypto='yes'
    1.73 -else
    1.74 -  as_fn_error $? "'no libcrypto'" "$LINENO" 5
    1.75 -fi
    1.76 -
    1.77 -		if test "x$has_crypto" = 'xyes'; then
    1.78 -
    1.79 -$as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h
    1.80 -
    1.81 -			MD5_LIBS='-lcrypto'
    1.82 -		fi
    1.83 -	else
    1.84 -		MD5_LIBS='md5/libmd5.a'
    1.85 -	fi
    1.86 +	MD5_LIBS='md5/libmd5.a'
    1.87  fi
    1.88  
    1.89