comparison 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
comparison
equal deleted inserted replaced
362:9d49dffc3070 363:02bc0331e390
711 enable_resolver 711 enable_resolver
712 with_user 712 with_user
713 with_group 713 with_group
714 enable_debug 714 enable_debug
715 enable_auth 715 enable_auth
716 with_libcrypto
717 enable_ident 716 enable_ident
718 with_liblockfile 717 with_liblockfile
719 with_logdir 718 with_logdir
720 with_spooldir 719 with_spooldir
721 with_confdir 720 with_confdir
1360 Optional Packages: 1359 Optional Packages:
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1360 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1361 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --with-user=USER set user mail 1362 --with-user=USER set user mail
1364 --with-group=GROUP set group mail 1363 --with-group=GROUP set group mail
1365 --with-libcrypto use libcrypto (usually not needed)
1366 --with-liblockfile use liblock (for Debian) 1364 --with-liblockfile use liblock (for Debian)
1367 --with-logdir=DIR set log directory /var/log/masqmail 1365 --with-logdir=DIR set log directory /var/log/masqmail
1368 --with-spooldir=DIR set spool directory /var/spool/masqmail 1366 --with-spooldir=DIR set spool directory /var/spool/masqmail
1369 --with-confdir directory for configuration /etc/masqmail 1367 --with-confdir directory for configuration /etc/masqmail
1370 1368
5171 BASE64_LIBS='base64/libbase64.a' 5169 BASE64_LIBS='base64/libbase64.a'
5172 need_md5='yes' 5170 need_md5='yes'
5173 fi 5171 fi
5174 5172
5175 5173
5176
5177 # Check whether --with-libcrypto was given.
5178 if test "${with_libcrypto+set}" = set; then :
5179 withval=$with_libcrypto;
5180 fi
5181
5182 if test "x$with_libcrypto" != 'xyes'; then
5183 with_libcrypto='no'
5184 fi
5185
5186 if test "x$need_md5" = 'xyes'; then 5174 if test "x$need_md5" = 'xyes'; then
5187 if test "x$with_libcrypto" = "xyes"; then 5175 MD5_LIBS='md5/libmd5.a'
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
5189 $as_echo_n "checking for MD5 in -lcrypto... " >&6; }
5190 if ${ac_cv_lib_crypto_MD5+:} false; then :
5191 $as_echo_n "(cached) " >&6
5192 else
5193 ac_check_lib_save_LIBS=$LIBS
5194 LIBS="-lcrypto $LIBS"
5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5197
5198 /* Override any GCC internal prototype to avoid an error.
5199 Use char because int might match the return type of a GCC
5200 builtin and then its argument prototype would still apply. */
5201 #ifdef __cplusplus
5202 extern "C"
5203 #endif
5204 char MD5 ();
5205 int
5206 main ()
5207 {
5208 return MD5 ();
5209 ;
5210 return 0;
5211 }
5212 _ACEOF
5213 if ac_fn_c_try_link "$LINENO"; then :
5214 ac_cv_lib_crypto_MD5=yes
5215 else
5216 ac_cv_lib_crypto_MD5=no
5217 fi
5218 rm -f core conftest.err conftest.$ac_objext \
5219 conftest$ac_exeext conftest.$ac_ext
5220 LIBS=$ac_check_lib_save_LIBS
5221 fi
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
5223 $as_echo "$ac_cv_lib_crypto_MD5" >&6; }
5224 if test "x$ac_cv_lib_crypto_MD5" = xyes; then :
5225 has_crypto='yes'
5226 else
5227 as_fn_error $? "'no libcrypto'" "$LINENO" 5
5228 fi
5229
5230 if test "x$has_crypto" = 'xyes'; then
5231
5232 $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h
5233
5234 MD5_LIBS='-lcrypto'
5235 fi
5236 else
5237 MD5_LIBS='md5/libmd5.a'
5238 fi
5239 fi 5176 fi
5240 5177
5241 5178
5242 IDENT_LIBS='' 5179 IDENT_LIBS=''
5243 # Check whether --enable-ident was given. 5180 # Check whether --enable-ident was given.