Mercurial > 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 wrap: on
line diff
--- a/configure Wed Sep 14 11:50:45 2011 +0200 +++ b/configure Wed Sep 14 12:07:34 2011 +0200 @@ -713,7 +713,6 @@ with_group enable_debug enable_auth -with_libcrypto enable_ident with_liblockfile with_logdir @@ -1362,7 +1361,6 @@ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-user=USER set user mail --with-group=GROUP set group mail - --with-libcrypto use libcrypto (usually not needed) --with-liblockfile use liblock (for Debian) --with-logdir=DIR set log directory /var/log/masqmail --with-spooldir=DIR set spool directory /var/spool/masqmail @@ -5173,69 +5171,8 @@ fi - -# Check whether --with-libcrypto was given. -if test "${with_libcrypto+set}" = set; then : - withval=$with_libcrypto; -fi - -if test "x$with_libcrypto" != 'xyes'; then - with_libcrypto='no' -fi - if test "x$need_md5" = 'xyes'; then - if test "x$with_libcrypto" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 -$as_echo_n "checking for MD5 in -lcrypto... " >&6; } -if ${ac_cv_lib_crypto_MD5+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcrypto $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char MD5 (); -int -main () -{ -return MD5 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_crypto_MD5=yes -else - ac_cv_lib_crypto_MD5=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 -$as_echo "$ac_cv_lib_crypto_MD5" >&6; } -if test "x$ac_cv_lib_crypto_MD5" = xyes; then : - has_crypto='yes' -else - as_fn_error $? "'no libcrypto'" "$LINENO" 5 -fi - - if test "x$has_crypto" = 'xyes'; then - -$as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h - - MD5_LIBS='-lcrypto' - fi - else - MD5_LIBS='md5/libmd5.a' - fi + MD5_LIBS='md5/libmd5.a' fi